Head to head · Agent harness · October 2026 research run

Prime Agent vs Qwen Code

Qwen Code scores 72.4 (BB) on agent readiness against Prime Agent's 60.5 (C), and leads in 5 of 7 scored categories. Both do agent harness.

Which one, for what

Prime Agent C

Good 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

Good for Developers and CI jobs that want an open-source harness tied to no single model vendor, with run budgets and SDKs.

Ahead on

  • Schema & documentation, 91 against 42
  • 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

Score by category

CategoryWeight this runPrime AgentQwen CodeEdge
Reliability16%206569Qwen Code +4
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.24291Qwen Code +49
Agent ergonomics13%16.27385Qwen Code +12
Security & auth14%17.55053Qwen Code +3
Payments & pricing10%12.56060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87988Qwen Code +9
Transparency & trust7%8.86463Prime Agent +1
Negative events≤1500
Total60.5 · C72.4 · BB

Facts side by side

FactPrime AgentQwen Code
KindAgent harnessAgent harness
VendorPrime IntellectAlibaba (Qwen team)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneAPI key
PricingFreeFree
x402nono
LicenceMITApache-2.0
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-072026-10-05
Terms last updatedno date given2026-10-01
Privacy policy last updatedno date given2026-10-01
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticeyesnot found in the text
Arbitration or class-action waiveryesnot found in the text
Popularity22k stars28k stars, 105k npm/wk

Verdicts

Prime Agent

Budgets for turns, tokens and time bound an autonomous run, and sessions survive a closed terminal through a supervising daemon. Model-written Python and shell commands run with the user's rights, with no approval step and no sandbox, and the Rust build on the main branch ships only as nightly betas.

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. Usage statistics are on by default.

Before you call either

Prime Agent

  1. 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
  2. Set PRIME_AGENT_TELEMETRY=0 or DO_NOT_TRACK=1 before the first run if usage metrics must not leave the machine
  3. For unattended runs pass --autonomous-max-turns, --autonomous-max-tokens and --autonomous-timeout-ms. Reaching a limit does not mean the task succeeded
  4. Headless use is -p with --mode json per the argument parser. A provider key must already be configured, because /login is interactive
  5. The -t/--tools, -nt/--no-tools and -nbt/--no-builtin-tools flags were removed and now fail as unknown options

Qwen Code

  1. Pass --approval-mode on every run. The settings default is auto, and one docs page says headless runs default to asking, so don't rely on either
  2. Add --max-session-turns, --max-wall-time and --max-tool-calls. All three are unlimited by default. Exit 53 is the turn limit and 55 a budget
  3. --yolo doesn't turn on a sandbox. Add --sandbox, or on Linux set tools.executionSandbox with network set to closed
  4. Set QWEN_USAGE_STATISTICS_ENABLED=false to stop usage statistics
  5. Authenticate with OPENAI_API_KEY, OPENAI_BASE_URL and OPENAI_MODEL in CI. The browser sign-in is discontinued

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.5 (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

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.