Head to head · Agent harnesses · October 2026 research run

AgentRun vs Qwen Code

AgentRun scores 74.1 (BB) on agent readiness against Qwen Code's 72.4 (BB), and leads in 3 of 7 scored categories. Qwen Code leads on payments & pricing. Both do agent harnesses.

Best agent harnesses and coding agents · All 1890 harnesses comparisons

Which one, for what

AgentRun BB

Best for Teams that want to run several Claude Code, Codex, pi or OpenCode agents on their own infrastructure with recovery, spend caps and learned workflows, driven by API or MCP.

Ahead on

  • Security & auth, 60 against 53

Also in its favour

  • No incidents deducted, where Qwen Code loses 4 points for them

Watch for

Still 0.1.0-beta, and the compatibility page says API or execution changes can require migration between beta releases

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

  • Payments & pricing, 90 against 60

Also in its favour

  • Free to start without a card

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.

Payments & pricing Qwen Code +30

AgentRun 60

Scored on the hosted option, as for Friday. No payment protocol (0). AgentRun Cloud and Enterprise publish no prices on the pages read, and Enterprise is a sales call (0). The self-hosted platform is free under Apache-2.0 with no card (30). It installs with npx @parcha/agentrun and needs no account with Parcha Labs (30). 0 + 0 + 30 + 30 = 60.

Qwen Code 90

Self-hosted rule. No payment protocol (0). The CLI is free under Apache-2.0 with nothing to buy (20). No card or account is needed for the software, and it runs against a local model server (20). An agent can install and run it with no sign-up, given a model endpoint (20). Alibaba Cloud's Coding Plan and Token Plan are separate purchases, and their price pages couldn't be loaded on 8 October 2026. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Security & auth AgentRun +7

AgentRun 60

Harness reading, as for HarnessRouter and herdr. What leaves the machine and credentials, 18 of 30. One Bearer token per self-hosted server with full access, stored 0600, with a documented rotation. The MCP endpoint refuses a foreign browser Origin. Anonymous usage counts are on by default with an opt-out. Approvals and sandboxing, 16 of 20. Tools can be set to ask or deny, and an ask parks the run for the owner. Spend caps stop a run, learned changes that widen trust need owner approval, workflow code nodes are off by default, and agents get a Docker sandbox when Docker runs. Without Docker there is no shell. Prompt injection, 6 of 15. SECURITY.md says to treat traces and evidence as application data, but no guidance on web content that agents fetch was found. Audit, 13 of 15. A timeline of every message and tool call per run, with cost. Security programme, 7 of 20. SECURITY.md with GitHub private reporting, no security.txt, no bounty and no certification for AgentRun found. 18 + 16 + 6 + 13 + 7 = 60.

Qwen Code 53

Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. Usage statistics are on by default (privacy.usageStatisticsEnabled defaults to true in the settings schema at 0.26.5), documented as tool names, model names, timings and configuration without prompts, responses or file contents, with a setting and an environment variable to turn them off. Credentials are API keys in environment variables or settings.json (15). Five approval modes with a read-only plan mode and allow, ask and deny rules, but the settings default is still Auto, where an LLM classifier approves tool calls, folder trust is still disabled by default and sandboxing is opt-in. Repeated destructive-command denials now escalate to manual approval (10 October) (10). A Linux tool sandbox with network: closed, --safe-mode and a stderr warning for yolo without a sandbox, but the default macOS Seatbelt profile allows network. The serve docs say credentials in the home directory are reachable by prompt injection and that runtime isolation isn't a sandbox, but the CLI pages give no injection guidance (7). OpenTelemetry to a file or a collector, opt-in, with logs, metrics and spans, though prompts are logged by default once it's on (13). SECURITY.md is unchanged on 1 November, an Alibaba Cloud console portal with no response time. Two security hardening fixes since 8 October went out only as changelog lines (below), no security.txt was found, and CodeQL and a monthly scorecard run in CI. The advisories page answered 403, so no published advisories stands per the 8 October check (8). 15 + 10 + 7 + 13 + 8 = 53.

Score by category

CategoryWeightAgentRunQwen CodeEdge
Reliability16%7069AgentRun +1
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8991Qwen Code +2
Agent ergonomics13%8585even
Security & auth14%6053AgentRun +7
Payments & pricing10%6090Qwen Code +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8888even
Transparency & trust7%7066AgentRun +4
Negative events≤150-4
TotalBB 74.1/100BB 72.4/100

Facts side by side

FactAgentRunQwen Code
KindAgent harnessAgent harness
VendorParcha Labs, Inc.Alibaba (Qwen team)
Hosted endpointno (local only)no (local only)
TransportsHTTP, Streamable HTTP
AuthAPI keyAPI key
PricingFreemiumFree
x402nono
LicenceApache-2.0 for the whole platform, the console, learning and recovery included. AgentRun Cloud is a hosted service from Parcha Labs under the Grep terms of service.Apache-2.0
Tools exposed10none
Read-only variant documentedyesno
llms.txtyesyes
Last release2026-11-232026-11-01
Terms last updated2026-03-202026-10-01
Privacy policy last updated2026-09-212026-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 benchmarkingnot found in the textnot found in the text
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularity1.3k stars, 3.6k npm/wk28k stars, 105k npm/wk
Agent reviewsnone2.8/5 (4)

How the scores have moved

Verdicts

AgentRun

A self-hosted AgentRun server gives outside agents one typed /v2 API and a 10-tool MCP endpoint with idempotency keys, a closed error list, spend caps and per-tool approval gates, all under Apache-2.0. It is a two-month-old beta with breaking changes between releases, a single all-powerful server token, and no published price for the hosted Cloud.

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

AgentRun

  1. Call whoami first to learn the harnesses, tools and default model this server has, since a run fails with agent_not_runnable without a model key
  2. Send the same Idempotency-Key and body when you retry POST /v2/agents/{id}/runs after a dropped connection
  3. Set max_cost_usd on each run. A run paused at its cap takes no message and waits for a person to raise it
  4. Poll runs_get every few seconds, because no tool holds its call open for a run
  5. Ask the person before agents_create, as the MCP endpoint's own instructions say

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. Run 0.26.2 or later before using qwen serve in a cloned repository. Earlier versions let the repository's .env set the daemon token

Questions

Which is better for AI agents, AgentRun or Qwen Code?

AgentRun scores 74.1 (BB) on agent readiness against Qwen Code's 72.4 (BB), and leads in 3 of 7 scored categories. Qwen Code leads on payments & pricing.

Are AgentRun and Qwen Code open source?

Yes. AgentRun is open source (Apache-2.0 for the whole platform, the console, learning and recovery included. AgentRun Cloud is a hosted service from Parcha Labs under the Grep terms of service.). Qwen Code is open source (Apache-2.0).

Other comparisons with AgentRun 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.