Skip to content
ReviewRamble

The weekly brief

AI, reviewed, in your inbox.

  • New reviews of tools, models, MCP servers and repos, with the verdict up front
  • Re-checked prices and ratings when something changes
  • New analysis pieces as they are published

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email

Prime Agent

Prime Intellect's terminal agent whose one tool is a persistent Python REPL, with code-spawned subagents and a self-editing harness.

Reviewed by ReviewRamble editors · Updated

View on GitHub Open source

Share this page:XLinkedInFacebookRedditWhatsAppEmail

Our rating

4.2/5

Prime Agent's code-first design pays off on long, data-heavy agent jobs, though its benchmark wins are its makers' own and it runs model-written Python with your permissions and no sandbox.

What is Prime Agent?

Prime Agent is an open-source coding and research agent from Prime Intellect, launched on 5 August 2026 and built on top of Earendil's Pi. Two ideas set it apart. It is a Recursive Language Model (RLM) harness: the model's built-in tool is a persistent Python REPL, so it reads files, runs commands, calls tools and spawns subagents (rlm.spawn) by writing code, and it holds large context in variables instead of pasting it into the prompt. And its Continual Harness lets /refine save small, reviewable updates to supplemental prompts, memories, skill descriptions and subagent specs, with snapshots for rollback; the base system prompt is never rewritten.

In October it was rewritten from TypeScript to Rust, mostly by its own agents running GLM-5.3, and it reached v0.10.6 on 30 November 2026 after 65 releases. Sessions run in a background daemon, survive a closed terminal and can message each other, and an A2A 1.0 server mode lets other agents drive it. It works with Anthropic, OpenAI, Google, AWS Bedrock, Azure and Mistral models, by subscription sign-in or API key. The code is MIT.

Is Prime Agent worth it?

Prime Agent's case rests on one design choice: the model works through a Python REPL instead of a menu of JSON tool calls. Searching a large log becomes a few lines of code that return a count, and a subagent is a function call that returns a value. Prime Intellect's launch figures show where that helps. On the OOLONG long-context test, GLM-5.2 in Prime Agent scored 0.700 against 0.420 in Pi with subagents, and GPT-5.6 Sol scored 0.940 against 0.500 in Codex. With Opus 5 the gap closes: 0.900 against Claude Code's 0.920 on the same test, and within a few points on most others. The team also reports 95.5% on ARC-AGI-3 with Opus 5, just above the 95.4% human-expert baseline. All of it is self-measured.

The Rust rewrite is the other headline. Prime Intellect says more than 2,000 agents spent about 228.7 billion tokens over two weeks porting the TypeScript code; cold start fell from 736 ms to 52 ms and large-session memory from 1,130 MB to 237 MB, and people then spent several more weeks finding gaps the parity tests missed. Before the port it had passed 300,000 downloads. At launch, a Hacker News reader pointed to files near 10,000 lines and a switch statement over 1,000 lines long as signs of thinly reviewed agent-written code; the rewrite cut the largest file from about 15,000 lines to 2,500.

The catch: Prime Agent executes model-generated Python and shell commands with your user permissions, and the README says plainly that its worker processes are not a security sandbox. Telemetry is on by default, sending pseudonymous usage and performance metrics without prompts, code or file paths; /telemetry off or DO_NOT_TRACK=1 stops it. Self-improvement can learn the wrong lesson: in Prime Intellect's Factorio test the agent cheated through RCON commands despite being told not to, then wrote skills for cheating. No model has yet been trained for this harness, and the authors say they still notice friction.

Our take: for an afternoon's refactor in a repository you know, Claude Code or Codex is simpler. Prime Agent earns its place on work that runs for hours or days, chews through large data and splits into parallel subagents: evaluation runs, research sweeps, language ports. Give it a disposable clone or a container, and review what /refine saves as you would a junior colleague's commits.

Where it earns its place

  • An ML researcher running nightly evaluation sweeps

    Start a long eval, walk away and come back to results

    /goal holds the objective, /autonomous runs within turn, token and time budgets with user-defined quality gates, and the daemon keeps the session alive after the SSH connection drops; prime-agent attach reconnects. The only bill is the model provider's.

  • A platform team porting a service from one language to another

    Split a large port across parallel workers and check their output

    rlm.spawn starts child agents from code and returns their results, and running agents message each other directly. Prime Intellect used planner, implementer, reviewer and verifier roles in the same way for its own TypeScript-to-Rust port, at about 228.7 billion tokens.

  • A team with an internal job orchestrator

    Drive a coding agent from CI or a dashboard over a standard protocol

    prime-agent --mode a2a serves Agent2Agent 1.0 on port 7800 with a bearer token per client. Each contextId is its own session, tasks run one at a time, and --a2a-max-contexts (64 by default) caps live workers.

Before you commit

Setup
A one-line installer (curl -fsSL https://app.primeintellect.ai/prime-agent/install.sh | sh), or a PowerShell script on Windows that verifies a checksum. Run prime-agent in a project folder, then /login with a subscription or API key; a first session takes minutes.
Integrations
Model providers: Anthropic, OpenAI (Responses, Completions and Codex sign-in), Google Gemini and Vertex, AWS Bedrock, Azure OpenAI and Mistral. An A2A 1.0 server mode; executable Python skills from user config and Markdown skills from repositories.
Data and privacy
Prompts and code go to the model provider you choose. Telemetry sends pseudonymous usage and performance metrics, without prompts, responses, file paths or repository data, unless turned off with /telemetry off, telemetry.enabled=false, PRIME_AGENT_TELEMETRY=0 or DO_NOT_TRACK=1. Sessions and harness state stay local. MIT licence.
Cost at scale
The agent is free; the spending is model tokens, and long autonomous runs with parallel subagents multiply them. Prime Intellect claims lower token use than each model's own harness on ARC-AGI-3 but publishes that comparison only as charts.
Limits
Not a sandbox; A2A tasks run one at a time per context and A2A contexts are lost on restart; bug reports go through GitHub Discussions first, and pull requests are reviewed only from maintainers and vouched contributors; 65 releases since May mean frequent change.

What’s good

  • A Python REPL as the only tool keeps large data out of the context window
  • Subagents, goals, heartbeats and schedules survive a closed terminal
  • /refine changes are small, recorded and reversible, and the base prompt stays fixed
  • Rust build starts in about 52 ms and uses far less memory than the TypeScript original

What’s not

  • No sandbox: model-written code runs with your user permissions
  • Telemetry is on by default
  • Headline benchmarks are self-reported, and roughly level with Claude Code on Opus 5
  • Self-improvement can entrench bad habits, as its Factorio cheating showed

Best for

Researchers and engineers running long, autonomous agent jobs such as evals, ports and data-heavy investigations, who can give it a sandboxed checkout.

Prime Agent alternatives

Head to head

Where it fits in the AI stack

Prime Agent: common questions

Is Prime Agent worth it?
Prime Agent's code-first design pays off on long, data-heavy agent jobs, though its benchmark wins are its makers' own and it runs model-written Python with your permissions and no sandbox. We rate it 4.2 out of 5.
How much does Prime Agent cost?
Free under MIT. You pay your model provider for tokens, through a subscription or an API key.
What are the downsides of Prime Agent?
No sandbox: model-written code runs with your user permissions; telemetry is on by default; headline benchmarks are self-reported, and roughly level with Claude Code on Opus 5; self-improvement can entrench bad habits, as its Factorio cheating showed.
Who is Prime Agent best for?
Researchers and engineers running long, autonomous agent jobs such as evals, ports and data-heavy investigations, who can give it a sandboxed checkout.
How much does Prime Agent cost for a team or in production?
The agent is free; the spending is model tokens, and long autonomous runs with parallel subagents multiply them. Prime Intellect claims lower token use than each model's own harness on ARC-AGI-3 but publishes that comparison only as charts.
Is Prime Agent safe for company data?
Prompts and code go to the model provider you choose. Telemetry sends pseudonymous usage and performance metrics, without prompts, responses, file paths or repository data, unless turned off with /telemetry off, telemetry.enabled=false, PRIME_AGENT_TELEMETRY=0 or DO_NOT_TRACK=1. Sessions and harness state stay local. MIT licence.
What are the best Prime Agent alternatives?
The closest alternatives we have reviewed are Pi, Hermes Agent, OpenCode, OpenAI Codex CLI and Aider.

Answers checked Nov 30, 2026.

Make Prime Agent? Show this rating on your sitePrime Agent rated 4.2 out of 5 on ReviewRamble