Prime Agent: Self-Improving RLM Agent at 95.5% on ARC-AGI-3
Prime Intellect dropped Prime Agent on August 5, 2026, and the number that got everyone’s attention was 95.5% on ARC-AGI-3. That beats the reported human expert baseline of 95.4%. Frontier models running on their own historically score under 1% on this benchmark, so something in the agent architecture is doing heavy lifting.
I have spent the last couple of days reading the paper, poking at the repo, and trying to figure out whether this is a genuine advance in agent design or a very good benchmark score on a specific test. The answer is somewhere in the middle: the architecture choices are genuinely interesting, but the benchmark result tells a narrower story than the headlines suggest.
What Makes Prime Agent Different
Most coding agents work like this: the model is given a fixed set of tools (read file, write file, run command, search codebase), and it calls those tools in sequence to complete a task. The agent harness—the scaffolding that manages the conversation loop, invokes tools, and handles errors—is static. The model cannot change it.
Prime Agent replaces this model with two abstractions:
The Recursive Language Model (RLM) is a persistent Python REPL that the model lives inside. Instead of calling discrete tools, the model writes and executes Python code that does whatever it needs. Need to read a file? open() and read(). Need to search a codebase? os.walk() and grep. Need to run tests? subprocess.run(). The model is not constrained to a tool menu. It has a full programming language.
The Continual Harness is the scaffolding that wraps the RLM. Unlike traditional agent harnesses, the Continual Harness is rewritable. The model can modify its own scaffolding—change how context is managed, how errors are handled, how progress is tracked. If the model discovers that a particular workflow pattern works well, it can bake that pattern into the harness for the rest of the session.
Together, these two abstractions mean the agent is not just executing tasks. It is optimizing how it executes tasks, in real time, during a single session.
Why the RLM Matters
Fixed tool schemas are a bottleneck. Every coding agent I have used has a moment where the tool it needs does not exist, and it either contorts itself to use an existing tool in a weird way or gives up. The RLM eliminates this category of failure. The model always has access to the full expressive power of Python. If it needs a tool, it writes one.
There is a tradeoff. A fixed tool schema gives you safety guarantees—you know exactly what the agent can and cannot do. A Python REPL gives the agent arbitrary code execution. Prime Agent is open source and runs locally, so this is a feature, not a bug, for the intended use case. But it means you cannot casually drop this into a shared CI pipeline the way you might with a tool-constrained agent.
The RLM also changes how context works. In a traditional agent, context window pressure comes from tool call results piling up. The model calls a tool, the tool returns output, the output goes into the context, repeat. After enough iterations, the context is full and the agent needs compaction. The RLM sidesteps some of this by letting the model store intermediate state in Python variables rather than in the conversation history. A variable assignment does not consume context window. A tool call result does.
The ARC-AGI-3 Result: What It Actually Means
ARC-AGI-3 is the interactive version of the Abstraction and Reasoning Corpus. Unlike the original ARC, which is a set of static image-based reasoning puzzles, ARC-AGI-3 tasks require an agent to interact with an environment, form hypotheses, test them, and adapt. It is closer to how a human scientist works than how most benchmarks work.
The 95.5% score on ARC-AGI-3 with Opus 5 is genuinely impressive. But here is what the number does not tell you:
The benchmark measures whether the agent eventually solves the task, not how efficiently. Prime Agent can take hundreds of iterations per task. In the paper, some tasks required over 500 environment interactions before converging. That is fine for a benchmark, but if you are thinking about using this for production coding tasks, the compute cost per task is orders of magnitude higher than a single-pass agent.
The score also depends heavily on the underlying model. Prime Agent with Opus 5 scores 95.5%. With weaker models, the score drops significantly. The architecture amplifies the model’s reasoning ability—it does not replace it. A poor model in a good harness is still a poor model.
Best Practices for Working With Self-Improving Agents
Prime Agent’s design choices point toward a set of best practices that apply beyond this specific system:
Let the model choose its tools. Fixed tool menus are a human convenience, not an architectural necessity. If your use case can tolerate arbitrary code execution (local dev, research, sandboxed CI), giving the model a REPL is almost always better than giving it a curated toolbox.
Make the harness rewritable. Every team I know that runs coding agents in production has a list of “things the agent keeps doing wrong” that they work around with wrapper scripts and post-processing. If the agent could modify its own harness, it could learn from those patterns itself. Prime Agent shows this is feasible. The question is whether it is desirable—a self-modifying harness is harder to debug and audit than a static one.
Benchmark interaction cost, not just success rate. A 95.5% success rate at 500 interactions per task is a very different value proposition from a 90% success rate at 10 interactions per task. Prime Agent’s architecture trades interaction count for success rate. Whether that trade makes sense depends entirely on whether the tasks you are running are worth the extra compute.
Open source the harness. Prime Agent is MIT-licensed. That matters because agent harnesses are becoming a new layer of the stack, and proprietary harnesses create vendor lock-in just as proprietary frameworks did a decade ago. An open-source harness with strong benchmark results gives teams a credible alternative to paying for a managed agent platform.
Who Should Use Prime Agent
Prime Agent is built for coding and long-running autonomous research tasks. If you are doing the kind of work where an agent needs to run for hours, exploring a codebase, testing hypotheses, and iterating—this architecture makes sense. The RLM gives it the flexibility to adapt its approach, and the Continual Harness lets it optimize its own workflow as it learns.
It is not a good fit for quick, transactional coding tasks. If you want an agent to add a docstring to a function or fix a lint error, the overhead of the RLM and Continual Harness will make it slower and more expensive than a standard agent with fixed tools. Use Copilot or Codex for those.
It is also not a good fit if you need deterministic behavior or auditable decision trails. A self-modifying harness means the agent’s internal state is different at the end of a task than at the beginning. Reproducing a specific result requires replaying the entire session. If you are in a regulated environment where every decision needs to be traceable to a fixed policy, this architecture creates more problems than it solves.
What I Would Change
After spending time with the repo, here is what I would want before running this in production:
An interaction budget. Right now, the agent runs until it solves the task or hits a hard timeout. I want a mode where I can say “you get 50 interactions—if you cannot solve it by then, give me your best partial answer and explain what is blocking you.” The architecture supports this, but it is not exposed as a configuration option.
Harness diffing. When the Continual Harness modifies itself, I want a diff of what changed and why. The agent should be able to explain “I added a step to cache test results because I kept re-running the same test suite” in a way I can review. Without this, the harness evolves in ways that might make sense to the agent but not to the human supervising it.
Model-agnostic evaluation. The paper only reports results with Opus 5. I want to see how the architecture performs with other frontier models—GPT-5, Gemini, the latest open-weight models. The transfer result with SkillOpt (see my other piece this week) suggests that good architectures should work across models. Prime Agent’s RLM approach should benefit any model with strong coding ability. Let us see the numbers.
The Bigger Picture
Prime Agent and SkillOpt landed in the same week, and together they point toward a clear direction: agent infrastructure is becoming the differentiator, not the underlying model. SkillOpt optimizes the skill files that guide agents. Prime Agent replaces the static harness with a rewritable one. Both improve agent performance without touching model weights.
This is good news for teams that cannot afford to fine-tune models. It also means the gap between “having access to the best model” and “getting the best results” is widening. Two teams using the same model with different agent infrastructure will get different outcomes. The team with better harness design, better skill optimization, and better evaluation loops wins.
Trying It Yourself
The repo is at github.com/PrimeIntellect/prime-agent under MIT license. Setup is straightforward: clone the repo, install the Python dependencies, set your API key, and point it at a task. The quickstart in the README gets you from zero to a running agent in under 10 minutes.
One thing the README does not emphasize enough: set a timeout. By default, the agent runs until it either solves the task or exhausts the model’s context window. If you point it at a hard task with a long context window, you can burn through a surprising amount of API credits before it gives up. I learned this the expensive way.
For a first experiment, I suggest using one of the example tasks from the repo rather than your own codebase. The example tasks have known solutions, so you can verify that the agent produces correct output. Once you are confident it works, point it at a real problem and watch what it does. The RLM’s ability to write ad-hoc Python tools is more impressive when it is solving a problem you actually care about.
Prime Agent is not the final answer—the interaction cost is too high for most production use cases, and the ARC-AGI-3 result, while impressive, is a single benchmark. But the architectural ideas—RLM, Continual Harness, tools-as-code—are the right direction. I expect to see these ideas absorbed into the next generation of coding agents within six months.
Sources: