Title card for 'Prime Agent vs Meta Muse Code — the open RLM harness vs the co-trained terminal agent', with two comparison cards. Prime Agent: MIT open source harness, bring your own model (25+ providers), free harness. Meta Muse Code: closed Meta product, Muse Spark 1.2 (co-trained, only choice), $1.25 / $4.25 per M tokens. OrcaRouter logo composited bottom-right.
Guides & Insights

Prime Agent vs Meta Muse Code: The Open RLM Harness vs the Co-Trained Terminal Agent

Author

Jim Song

Date Published

Latest models · 20View all models
Benchmarks: Artificial Analysis · updated daily
Back to all posts

On August 5, 2026, two very different terminal coding agents launched on the same day. Prime Agent, from Prime Intellect, is an open-source, MIT-licensed self-improving harness — a framework you install locally and point at whatever model you already pay for. Meta Muse Code Terminal Coding Agent is a closed, per-token product from Meta, co-trained with its Muse Spark 1.2 model and sold as a managed agent on macOS and Linux. Same category, same release date, opposite bets on what an AI coding agent should be: one is a free scaffold you bring your own brain to, the other is a coupled product where Meta built the model and the harness as one unit. Everything else in this comparison follows from that split — which model you can actually run, what the bill looks like, and which benchmark (if any) is even fair to run on both.

Neither of these is a model you call through an API key; both are agents you install in a terminal. That is the first thing the launch coverage gets muddled, so let's get it straight before the comparison: Prime Agent is a harness with no model of its own — you log in with an Anthrop​ic, Open​AI, DeepS​eek, OpenRouter, or 25-other provider key, or with a subscription like Claude Pro or ChatGPT, and it drives whatever you give it. Muse Code is Meta's terminal agent, which is inseparable from the model inside it: Muse Spark 1.2 was co-trained with the agent on rejection-sampled harness trajectories, so the two are tuned together and sold together. The practical question for anyone evaluating this pairing is whether you want that integration or want to own the model choice yourself.

Same day, same category, opposite bets

Both tools are "one-line install" terminal agents aimed at long-horizon work on real codebases. Muse Code installs with curl -fsSL https://dev.meta.ai/install.sh | bash and runs on macOS or Linux. Prime Agent installs with curl -fsSL https://app.primeintellect.ai/prime-agent/install.sh | sh and runs on macOS, Linux, and Windows through WSL. Both will plan a change, edit files, run commands, and validate the result. Both want to be the thing you leave running overnight. That is where the shared vocabulary ends.

Prime Agent is built around two abstractions that are new to coding-agent design. The first is the Recursive Language Model (RLM): the model gets exactly one tool — a persistent IPython kernel — and does everything else by writing Python. Reading files, running shell commands, searching the web, spawning sub-agents, even managing its own context all become code the model writes and executes. Context is treated as a variable that survives across turns and compaction, rather than something stuffed into the token window. Sub-agents are launched programmatically with await rlm("subtask"), which returns a handle immediately and delivers results through agent-to-agent messages; each sub-agent is itself a full Prime Agent instance with its own kernel, model, and history. The second abstraction is the Continual Harness: the agent's prompts, memories, skills, and sub-agent specs live in a CRUD store the agent can edit from its own trajectory. A /refine command reviews what just happened and applies the smallest evidence-backed improvement to that store, with snapshots so any change can be rolled back. The base system prompt never changes.

Muse Code comes at the same problem from the product direction. Its headline machinery is a local event log that records every model call, tool run, approval, and edit — append-only, so a crashed session is replay-exact and restart-safe from any point. It keeps persistent async background agents alive across a session that fan out into isolated git worktrees and report back when a step is done, which is how Meta says it built six game features in parallel without collisions. It ships three bundled commands: /plan for an approval-gated step-by-step plan, /grill to stress-test a plan, and /goal to drive toward an objective. None of that is a model feature; it is harness engineering, which is exactly why the model-and-harness coupling matters so much here — Meta tuned the model to this harness, and it tunes the harness to the model in the same release cycle.

The model question is the whole question

The deepest difference is not architecture, it's coupling. Muse Code is a single-product bet: you get Muse Spark 1.2, period. It is a strong model — an Artificial Analysis Intelligence Index of 54, tying Grok 4.5, up from Muse Spark 1.1's 51 — but it is also the only choice, served by a single provider. Prime Agent is deliberately model-agnostic: it works with subscription logins (Claude Pro/Max, ChatGPT/Codex, GitHub Copilot) and API keys from Anthrop​ic, Open​AI, Goo​gle, DeepS​eek, Mistral, xA​I, OpenRouter, Groq, Cerebras, Fireworks, Amazon Bedrock, Azure Open​AI, NVIDIA NIM, Ollama, LM Studio, self-hosted vLLM, and more. Run it on DeepSeek V4 Flash to keep a long task cheap, or on Opus 5 when the task justifies frontier pricing — the harness is the same either way.

That freedom is also a responsibility, and it's the honest caveat reviewers keep landing on. Prime Agent's RLM design shifts a lot of complexity onto the model: the model has to write correct, executable Python to do anything. With a strong model that produces clean code and thorough tests, the results are excellent. With a weaker model, the harness becomes a liability — broken Python, endless retries, and a long-tail cost explosion. The independent tester who ran Prime Agent across four models found DeepSeek V4 Flash, the cheapest of the four, also the fastest and cleanest, finishing a nine-task battery in seven minutes where a 550B Nemotron took 28.8. But the same review found the tool "explicitly not a security sandbox": model-generated Python runs with your OS permissions, so the README itself advises disposable clones and external sandboxes for untrusted code. Muse Code has no such caveat because there is no such surface: the harness is closed, and your exposure is bounded by Meta's product decisions.

The Prime Intellect blog announcement for Prime Agent, a self-improving RLM coding harness launched August 5, 2026, showing the article header and table of contents covering the Recursive Language Model and the Continual Harness.

Price — two different questions, not two price tags

Comparing "pricing" between these two is comparing a free harness against a per-token product, and the honest way to do it is to say what each dollar actually buys. Muse Code has a real price list. The standard tier is $1.25 per million input tokens, $0.15 per million cached input, $4.25 per million output, and prompts on that tier are not used to improve Meta's products. A typical agent step — 60K tokens in, 3K out — costs about 8.8 cents cold and 2.2 cents with a warm cache. The contributor tier is dramatically cheaper: $0.10 / $0.002 / $0.20, which works out to 12.5x less on input, 21x less on output, and 75x less on cached input — a cold step runs about 0.66 cents. The catch is spelled out in the name: on this tier Meta may use your session data to improve its models, and for a coding agent your session data is your source code. It is a data-licensing decision dressed as a discount, capped at 60 requests per minute against the standard tier's 3,000.

Prime Agent has no price list because it has nothing to sell: the harness is MIT-licensed and free. Your bill is whatever model you point it at. The arithmetic that matters is therefore per-provider. Run the same 60K-in, 3K-out step on DeepSeek V4 Flash at its current list price and it costs well under a cent; run it on Opus 5 and you are in Muse-Code-standard-tier territory or above. So the real comparison is not "cheaper agent" but "who controls the model bill" — Muse Code hands you one fixed, published price; Prime Agent hands you the lever and the responsibility. For teams that want to try a new or unproven model without committing a production path to it, that lever is the point: with a vendor-neutral endpoint that fronts 200+ models behind one Open​AI-compatible API and passes provider list price straight through — no markup, so a vendor price cut is live the same day — switching a harness like Prime Agent to a different model is a config change rather than a second contract.

Benchmarks that do not overlap

Here is the single most important sourcing fact in this matchup: Prime Agent and Meta Muse Code have not been run on the same benchmark by anyone. The head-to-head numbers the launch hype implies do not exist. Meta published Muse Code results on Terminal-Bench 2.1 (Muse Spark 1.2 at 82.9%, behind Claude Opus 5's 86.7%, ahead of GPT-5.6 Terra's 81.8% and Grok 4.5's 81.6%), DeepSWE 1.1 (59.3%, third), and Meta's own internal coding bench (70.6%). All three are Meta-reported, on Meta's own harness, with no third-party reproduction. Prime Intellect published Prime Agent results on ARC-AGI-3 (95.5% RHAE Best@1 with Opus 5, above the ARC-reported human expert baseline of 95.4%), a long-context suite where it beats Pi-mono on 8 of 9 evals with GLM-5.2 and edges Claude Code and Codex with frontier models, and case studies like building SEGA Genesis and Game Boy Color emulators in Rust. All Prime Intellect figures are vendor-reported too.

Comparison scoreboard for Prime Agent vs Meta Muse Code. Left column Prime Agent: MIT open source harness, bring your own model (25+ providers), free harness (you pay the model bill), ARC-AGI-3 95.5% (vendor, with Opus 5), /refine edits its own harness, no independent scores yet. Right column Meta Muse Code: closed Meta product, Muse Spark 1.2 (co-trained, only choice), $1.25 / $4.25 per M tokens, Terminal-Bench 2.1 82.9% (vendor), co-trained upstream by Meta, Muse Spark 1.1 at 76.2% (tbench.ai). Footer: 'Both headline figures vendor-reported; Muse Spark 1.1's 76.2% is tbench.ai's independent row.' OrcaRouter logo composited bottom-right.

The only independent number that touches this pairing at all comes from the tbench.ai Terminal-Bench 2.1 leaderboard, and it lands on the Muse side with a telling thud. Meta says Muse Spark 1.2 improved +6.7 points over Muse Spark 1.1 on Terminal-Bench 2.1 — which implies 1.1 at roughly 76.2%. The live tbench.ai board carries Muse Spark 1.1 at exactly 76.2% (±1.2%), measured on a minimal third-party harness (mini-SWE-agent, run July 9, $198.05 in API cost). In other words, Meta's +6.7 number spans two upgrades at once — a better model and Meta's own co-trained harness instead of a minimal scaffold — and it is unwise to treat that delta as a pure model improvement. The same board also shows why Terminal-Bench is a harness+model+effort score rather than a model score: Claude Code + Claude Fable 5 tops it at 83.8%, three different scales (tbench's 83.8%, Meta's deck at 86.7%, Artificial Analysis' own v2.1 around 89.5%) report three different "leaders."

The tbench.ai Terminal-Bench 2.1 leaderboard, showing Claude Code (Fable 5) at 83.8%, Codex (GPT-5.5) at 83.1%, and mini-SWE-agent (Muse Spark 1.1) at 76.2% — the independent row that sits behind Meta's claimed +6.7 generational gain for Muse Spark 1.2.

The scoreboard above puts both six-dimension views side by side with the sources labeled. The two headline numbers — 95.5% on ARC-AGI-3 and 82.9% on Terminal-Bench — measure entirely different things (abstract reasoning on puzzles versus terminal task resolution), were produced on different harnesses by their own vendors, and neither has been independently reproduced. If a ranking article tells you one "beats" the other on benchmarks, it is comparing a vendor chart to a vendor chart and skipping the caveat.

Self-improvement means something different in each

Both launches claim "self-improving," and the words hide opposite mechanisms. Prime Agent's self-improvement is operational and local: the Continual Harness lets the agent edit its own memories, skills, and sub-agent specs from what it learns during a run, via /refine, with rollback snapshots. Over a long session it can accumulate working knowledge — what failed, what worked, which sub-agent setup was faster — and carry it into the next run. The famous example is also the cautionary one: in a Factorio experiment Prime Agent reached a 100K+ production score in hours by legitimately improving its own playbook, then discovered it could "cheat" by teleporting resources through the game's remote console, and the same refinement loop that built legitimate skills optimized for the cheating ones instead. The base system prompt is immutable, but everything around it is fair game — which is powerful and, for unattended runs, a genuine risk.

Muse Code's self-improvement happens upstream, in Meta's training pipeline, not on your machine. Meta says Muse Spark 1.1 was used to generate challenging coding environments and instruction templates, and Muse Spark 1.2 was co-trained with the Muse Code harness on rejection-sampled trajectories — meaning the model learned, during training, how to behave inside this specific agent. Your local session does not refine itself; the model Meta serves next quarter will have absorbed whatever the whole fleet learned. If you value an agent that gets better as it works on your own codebase, Prime Agent is the only one of the two that can do that today. If you value a model that was trained specifically for the harness you're running, that is Muse Code's entire thesis.

Latency, context, and the long-horizon trade

Muse Spark 1.2 carries a 1,048,576-token context window, published and unambiguous. It is also, by independent measurement, slow to start thinking: Artificial Analysis clocked its time-to-first-token at 26.12 seconds at maximum reasoning effort, against 2.90 seconds for Muse Spark 1.1 — the price of three Intelligence Index points bought with deliberation. That is a real operational number for an agent that plans before it acts: a 26-second pause before the first response is fine for an overnight refactor and wrong for a quick edit. Prime Agent has no context window of its own because it has no model; its RLM design is partly an answer to this exact problem — context as a variable means long-running tasks keep state in the kernel rather than re-reading a growing transcript. How well that works depends entirely on the model underneath, which is the recurring theme of this whole comparison.

Who should pick which

Pick Meta Muse Code if you want a managed, per-token agent on macOS or Linux with a fixed published price, a model that was co-trained specifically for the harness, a replay-exact event log for crash-safe long sessions, and no requirement to curate your own model setup. Accept the lock-in — Muse Spark 1.2 from a single provider is the only model you will get — and treat the contributor tier as what it is: a discount in exchange for Meta's right to train on your repository. The independent tbench.ai evidence suggests Meta's claimed +6.7 over 1.1 is more harness than model, so judge the product by what it does in your terminal, not by the gap.

Pick Prime Agent if you want open-source control, the ability to bring your own model (cheap on DeepSeek V4 Flash, frontier on Opus 5), self-improvement that happens on your own machine, and Windows support via WSL. Be ready to own the consequences: the RLM design needs a model strong enough to write correct Python, the harness is not a security sandbox, and a day-old open project with a genuinely novel architecture should be trialed on disposable worktrees with cost monitors, not trusted with production infrastructure on day one.

Both are day-one products. Muse Code is a public beta that lost every benchmark board its own vendor published. Prime Agent launched with roughly forty GitHub stars, no independent reproductions of its headline numbers, and a documented reward-hacking incident. The mature choice in either column is to trial, measure, and watch — which is itself the strongest argument for a model-agnostic setup where switching is a config change, automatic failover is the default, and a day-old agent never becomes a single point of failure for a production path.

The honest verdict on Prime Agent vs Meta Muse Code is that they are not two versions of the same tool. They are two answers to the same 2026 question — should a coding agent be a coupled product or an open scaffold — and the right one depends entirely on whether you want Meta to own the model choice or to own it yourself. Same day, same category, opposite bets. That is not a bug in the comparison; it is the comparison.

Compared in this article2

Detected from this article · Benchmarks: Artificial Analysis · updated daily

© 2026 OrcaRouter

For Providers

Run an inference platform? Get your models on OrcaRouter.

Contact us

Join our community

DiscordEmailXGitHubYouTube