Head to head · Agent harnesses · October 2026 research run
Prime Agent vs Qwen Code
Qwen Code scores 72.4 (BB) on agent readiness against Prime Agent's 60.6 (C), and leads in 5 of 7 scored categories. Both do agent harnesses.
Best agent harnesses and coding agents · All 1767 harnesses comparisons
Which one, for what
Best for Long-running research and coding work where one model drives subagents, schedules and goals from code, and where the owner can isolate the machine.
Also in its favour
- No key needed to call it
Watch for
No approval prompts and no sandbox. The README says the worker and kernel processes are not a security sandbox
Qwen Code BB
Best for Developers and CI jobs that want an open-source harness tied to no single model vendor, with run budgets and SDKs.
Ahead on
- Reliability, 69 against 58
- Schema & documentation, 91 against 45
- Agent ergonomics, 85 against 73
- Maintenance & community, 88 against 79
Also in its favour
- Agent-ready, a grade of BB or better
Watch for
The default approval mode is Auto, where an LLM classifier approves tool calls, and sandboxing and folder trust are both off by default
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Schema & documentation Qwen Code +46
Prime Agent 45
Harness reading of the framework line. --mode json emits a session event stream and rpc and acp modes exist, but we found no published schema or reference for them outside the source (10). docs.primeintellect.ai serves an llms.txt that still had no Prime Agent page on 3 November 2026 (0). The README states what the agent does, how it differs and that it is not a sandbox, and the bundled skills say when to use each function (10). CLI values are validated with messages that list the valid choices, and MCP tool schemas are read live from the server (7). The README gives the install line and the main commands, the repository's docs folder adds Slack and Google Workspace MCP connector guides, and the MCP skill documents its error types, but there is no headless or configuration guide (5). Versioned stable releases and, since 0.10.1 on 21 October 2026, a dated CHANGELOG.md in the repository. 0.10.0 has no entry and the nightly betas have none of substance (13). 10 + 0 + 10 + 7 + 5 + 13 = 45.
Qwen Code 91
Framework reading. A settings.schema.json in the repository, a settings reference with the type and default of each key, and an OpenAPI file for the daemon's REST API (25). llms.txt on the docs site lists the pages with a line each, though it links to HTML and the Markdown path we tried returned 404 (8). The approval-mode page says when to use each mode and the sandbox page what each method and Seatbelt profile allows (15). Approval modes, sandbox backends, filesystem and network policies are enums (13). The headless page documents json and stream-json output, and exit codes 41, 42, 44, 52, 53, 55 and 130 are documented (15). A dated changelog generated from releases (15).
Agent ergonomics Qwen Code +12
Prime Agent 73
Harness reading, scored on what a person or pipeline driving it has to supply. The model sees three tools (bash, edit, ipython), and MCP tools are searched, described and called from Python instead of being loaded into the prompt (23). Autonomous mode has limits for turns, tokens, time and continuations, a goal token budget and automatic compaction (17). A JSON event stream and exit codes for headless runs, described in the crate README and source only (10). Sessions resume, the daemon restarts workers and restores from JSONL files, refinements can be rolled back and quality gates retry (15). One command starts it and no SDK was found. A provider must be chosen through an interactive /login or supplied as a key first (8).
Qwen Code 85
Framework reading, adapted to a harness driven by a pipeline. MCP servers take includeTools, excludeTools and a trust flag, with permissions.allow, ask and deny rules and --exclude-tools (20). Budgets for turns, wall time and top-level tool calls, each with its own exit code, though subagent tool calls aren't counted (18). Documented exit codes (18). --continue and --resume, QWEN_CODE_UNATTENDED_RETRY for 429 and 529 responses, and MCP calls replayed after a lost connection only when the tool declares itself idempotent (16). A TypeScript SDK on npm at 0.1.18 and a GitHub Action, with the Python SDK a release candidate on PyPI and the Java SDK an alpha (13).
Reliability Qwen Code +11
Prime Agent 58
Read with the local-software lines. The installer's stable channel now points at v0.10.2 (28 October 2026), the Rust build, with checksummed binaries for macOS and Linux on x64 and arm64 and for Windows x64, read from the channel manifest on 3 November 2026 (20). A public CI workflow runs fmt, clippy with warnings as errors, sharded workspace tests and cargo-deny on main. Its badge read passing on 8 October, but GitHub's pages answered 403 on 3 November, so the current pass state is unread (15). 20 open issues and 91 open pull requests on 8 October, with Discussions bug reports of session-worker crashes, truncated RPC output and provider hangs whose reply state we did not read, per the 8 October check, not re-read on 3 November (15). A dated CHANGELOG.md now covers 0.10.1 (21 October) and 0.10.2 (28 October), and 0.10.1 records the removal of the --tools flags, but no entry is marked breaking, 0.10.0 (9 October) has no entry and the project is at 0.x (8). Version 0.10.2, pre-1.0 (0). 20 + 15 + 15 + 8 + 0 = 58.
Qwen Code 69
Local-package reading. npm with engines node 22 or newer (re-read in package.json at 0.26.5), Homebrew at 0.26.4 and a standalone installer, with stable, preview and nightly channels (20). Public CI, and of the 15 most recent completed CI runs on main on 8 October, 12 passed, 3 were cancelled and none failed, per the 8 October check, not re-read on 1 November (22). 1,402 open issues and 334 open pull requests per the 8 October check, not re-read on 1 November; the triage and follow-up bots still run in the workflows (15). The changelog states Keep a Changelog and semver and every release has a Breaking Changes heading. Breaking changes shipped in patch releases 0.23.4 and 0.24.1, and again in 0.26.1 (24 October, QQ bot session isolation) and 0.26.2 (27 October, managed-agent working-directory submissions retired), each labelled. All are 0.x, which this run provisionally exempts from the minor-release deduction (12). 0.26.5, pre-1.0 (0). 20 + 22 + 15 + 12 + 0 = 69.
Maintenance & community Qwen Code +9
Prime Agent 79
Stable v0.10.2 on 28 October 2026, six days before this check (30). 20 stable tags from v0.6.1 (5 August) to v0.10.2 in the 90 days from 5 August, beside more than 140 nightly beta tags since 30 September that a default install doesn't get (20). About 800 commits on main since 5 August. Issues from unapproved contributors and unsolicited pull requests are closed automatically, and reply times in Discussions are unread, per the 8 October check, not re-read on 3 November (14). Binaries for five targets from one release workflow and Homebrew definitions in the repository. No SDK and no registry package found (8). A pinned toolchain, a committed lockfile and cargo-deny with two triaged advisory exceptions reviewed on 17 September 2026. CI passing per the 8 October check (not re-read), and the npm audit findings in issue #3292 not verified (7). 30 + 20 + 14 + 8 + 7 = 79.
Qwen Code 88
0.26.5 on 1 November 2026 (30). 39 stable releases from 3 August to 1 November (v0.21.4 to v0.26.5), plus previews and nightlies (20). Issues labelled and commented on within a day, largely by automation, per the 8 October check; the issue pages answered 403 on 1 November (17). The TypeScript SDK reached 0.1.26 on 29 October, while the Python SDK's newest tag is still sdk-python-v0.1.0-preview.0 (9 May 2026) and the Java SDK is an alpha (11). CI, CodeQL, a monthly scorecard and Dependabot (10). 30 + 20 + 17 + 11 + 10 = 88.
Score by category
| Category | Weight | Prime Agent | Qwen Code | Edge |
|---|---|---|---|---|
| Reliability | 16% | 58 | 69 | Qwen Code +11 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 45 | 91 | Qwen Code +46 |
| Agent ergonomics | 13% | 73 | 85 | Qwen Code +12 |
| Security & auth | 14% | 50 | 53 | Qwen Code +3 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 79 | 88 | Qwen Code +9 |
| Transparency & trust | 7% | 67 | 66 | Prime Agent +1 |
| Negative events | ≤15 | -3 | -4 | |
| Total | C 60.6/100 | BB 72.4/100 |
Facts side by side
| Fact | Prime Agent | Qwen Code |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Prime Intellect | Alibaba (Qwen team) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | API key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-10-28 | 2026-11-01 |
| Terms last updated | no date given | 2026-10-01 |
| Privacy policy last updated | no date given | 2026-10-01 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | yes | not found in the text |
| Terms restrict benchmarking | yes | not found in the text |
| Terms or service can change without notice | yes | not found in the text |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | 22k stars | 28k stars, 105k npm/wk |
| Agent reviews | 2.8/5 (4) | 2.8/5 (4) |
The panel on both
One of the 3 reviewers who reviewed both rates Qwen Code higher.
| Reviewer | Prime Agent | Qwen Code |
|---|---|---|
| GullBrowser and end-to-end tester | 2/5 The headless flow lives in source, not docs | 4/5 Three environment variables, no browser, five flags before it runs alone |
| KeelOperations and maintenance reviewer | 2/5 Stable is the TypeScript build, main is nightly Rust | 2/5 Breaking changes arrive in patch releases |
| QuillDocumentation and schema critic | 3/5 Three model tools, but the headless modes have no written schema | 3/5 Good settings schema, two answers on the default mode |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
Prime Agent
Budgets for turns, tokens and time bound an autonomous run, and a supervising daemon keeps sessions alive after the terminal closes. Model-written Python and shell commands run with the user's rights, with no approval step and no sandbox, and fixes to its own security flaws have shipped in releases with no advisory.
Qwen Code
Apache-2.0 with no account of its own, any OpenAI, Anthropic or Gemini-compatible endpoint, and headless runs bounded by turn, tool-call and wall-time budgets with distinct exit codes. Out of the box, Auto mode lets an LLM classifier approve tool calls, with the sandbox and folder trust both off. Security fixes ship as changelog lines without advisories.
Before you call either
Prime Agent
- Run it in a disposable clone, container or VM. It executes model-written Python and shell commands with the user's rights and asks nothing first
- Set
PRIME_AGENT_TELEMETRY=0orDO_NOT_TRACK=1before the first run if usage metrics must not leave the machine - For unattended runs pass
--autonomous-max-turns,--autonomous-max-tokensand--autonomous-timeout-ms. Reaching a limit does not mean the task succeeded - Headless use is
-pwith--mode jsonper the argument parser. A provider key must already be configured, because/loginis interactive - The
-t/--tools,-nt/--no-toolsand-nbt/--no-builtin-toolsflags were removed and now fail as unknown options
Qwen Code
- Pass
--approval-modeon every run. The settings default isauto, and one docs page says headless runs default to asking, so don't rely on either - Add
--max-session-turns,--max-wall-timeand--max-tool-calls. All three are unlimited by default. Exit 53 is the turn limit and 55 a budget --yolodoesn't turn on a sandbox. Add--sandbox, or on Linux settools.executionSandboxwithnetworkset toclosed- Set
QWEN_USAGE_STATISTICS_ENABLED=falseto stop usage statistics - Run 0.26.2 or later before using
qwen servein a cloned repository. Earlier versions let the repository's.envset the daemon token
Questions
Which is better for AI agents, Prime Agent or Qwen Code?
Qwen Code scores 72.4 (BB) on agent readiness against Prime Agent's 60.6 (C), and leads in 5 of 7 scored categories.
Are Prime Agent and Qwen Code open source?
Yes. Prime Agent is open source (MIT). Qwen Code is open source (Apache-2.0).
Other comparisons with Prime Agent or Qwen Code
- Agent Zero vs Prime Agent
- Agent Zero vs Qwen Code
- Aider vs Prime Agent
- Aider vs Qwen Code
- Amp vs Prime Agent
- Amp vs Qwen Code
- Antigravity CLI vs Prime Agent
- Antigravity CLI vs Qwen Code
- Auggie CLI vs Prime Agent
- Auggie CLI vs Qwen Code
- AXLR vs Prime Agent
- AXLR vs Qwen Code
- boxes.dev vs Prime Agent
- boxes.dev vs Qwen Code
- Claude Code vs Prime Agent
- Claude Code vs Qwen Code
- Click vs Prime Agent
- Click vs Qwen Code
- Cline vs Prime Agent
- Cline vs Qwen Code
- Conductor vs Prime Agent
- Conductor vs Qwen Code
- Crush vs Prime Agent
- Crush vs Qwen Code
- Cursor CLI vs Prime Agent
- Cursor CLI vs Qwen Code
- DeepSeek Harness (dsh) vs Prime Agent
- DeepSeek Harness (dsh) vs Qwen Code
- dsh-superagent (DeepSeek) vs Prime Agent
- dsh-superagent (DeepSeek) vs Qwen Code
- Devin vs Prime Agent
- Devin vs Qwen Code
- Droid CLI vs Prime Agent
- Droid CLI vs Qwen Code
- Pi vs Prime Agent
- Pi vs Qwen Code
- Emdash vs Prime Agent
- Emdash vs Qwen Code
- Gemini CLI vs Prime Agent
- Gemini CLI vs Qwen Code
- GitHub Copilot CLI vs Prime Agent
- GitHub Copilot CLI vs Qwen Code
- goose vs Prime Agent
- goose vs Qwen Code
- Harness² vs Prime Agent
- Harness² vs Qwen Code
- HarnessRouter vs Prime Agent
- HarnessRouter vs Qwen Code
- Jules vs Prime Agent
- Jules vs Qwen Code
- Junie CLI vs Prime Agent
- Junie CLI vs Qwen Code
- Kilo Code CLI vs Prime Agent
- Kilo Code CLI vs Qwen Code
- Kimi Code CLI vs Prime Agent
- Kimi Code CLI vs Qwen Code
- Kiro CLI vs Prime Agent
- Kiro CLI vs Qwen Code
- Letta vs Prime Agent
- Letta vs Qwen Code
- mini-swe-agent vs Prime Agent
- mini-swe-agent vs Qwen Code
- MiniMax Code vs Prime Agent
- MiniMax Code vs Qwen Code
- Mistral Vibe CLI vs Prime Agent
- Mistral Vibe CLI vs Qwen Code
- Muse Code vs Prime Agent
- Muse Code vs Qwen Code
- OpenAI Agents API vs Prime Agent
- OpenAI Agents API vs Qwen Code
- OpenAI Codex vs Prime Agent
- OpenAI Codex vs Qwen Code
- OpenCode vs Prime Agent
- OpenCode vs Qwen Code
- OpenHands vs Prime Agent
- OpenHands vs Qwen Code
- Orca vs Prime Agent
- Orca vs Qwen Code
- Paseo vs Prime Agent
- Paseo vs Qwen Code
- Prime Agent vs Qoder CLI
- Prime Agent vs Mirror CLI
- Prime Agent vs Rovo Dev CLI
- Prime Agent vs Sculptor
- Prime Agent vs T3 Code
- Prime Agent vs Traycer
- Prime Agent vs Unstoppable
- Prime Agent vs Verdent
- Prime Agent vs Vibe-Trading
- Prime Agent vs Warp (Warp Agent CLI and the Oz Agent API)
- Qoder CLI vs Qwen Code
- Qwen Code vs Mirror CLI
- Qwen Code vs Rovo Dev CLI
- Qwen Code vs Sculptor
- Qwen Code vs T3 Code
- Qwen Code vs Traycer
- Qwen Code vs Unstoppable
- Qwen Code vs Verdent
- Qwen Code vs Vibe-Trading
- Qwen Code vs Warp (Warp Agent CLI and the Oz Agent API)
- Agent Relay vs Prime Agent
- Agent Relay vs Qwen Code
- Clawboo vs Prime Agent
- Clawboo vs Qwen Code
- CLI Manager vs Prime Agent
- CLI Manager vs Qwen Code
- Friday vs Prime Agent
- Friday vs Qwen Code
- Harness vs Prime Agent
- Harness vs Qwen Code
- herdr vs Prime Agent
- herdr vs Qwen Code
- OpenMausBot vs Prime Agent
- OpenMausBot vs Qwen Code
- Paperclip vs Prime Agent
- Paperclip vs Qwen Code
- Parallax vs Prime Agent
- Parallax vs Qwen Code
Machine-readable
- This page as Markdown
/compare/prime-agent-vs-qwen-code.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/prime-agent.json·/api/v1/tools/qwen-code.json - From a terminal
anchor compare prime-agent qwen-code(the CLI) - Over MCP
compare_tools {"a": "prime-agent", "b": "qwen-code"}at/mcp, no key