Head to head · Agent harnesses · October 2026 research run

Pax vs Qwen Code

Qwen Code and Pax score within a point of each other on agent readiness, 72.4 (BB) and 72.2 (BB). Pax leads on security & auth and transparency & trust. Both do agent harnesses.

Best agent harnesses and coding agents · All 2017 harnesses comparisons

Which one, for what

Pax BB

Best for A developer who wants a terminal coding agent on any model, or a terminal front end for their own Pydantic AI agent (pax --agent).

Ahead on

  • Security & auth, 59 against 53
  • Transparency & trust, 78 against 66

Also in its favour

  • No key needed to call it
  • No incidents deducted, where Qwen Code loses 4 points for them

Watch for

The default full mode runs every command and file write without asking, and file tools reach paths outside the project

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 60
  • Schema & documentation, 91 against 76
  • Agent ergonomics, 85 against 75
  • Maintenance & community, 88 against 83

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.

Schema & documentation Qwen Code +15

Pax 76

Harness reading, as for opencode and mistral-vibe-cli. Settings are a typed table with defaults, the plugin API is Python, and read_pax_docs serves Pax's own docs to the agent, but there's no JSON schema for the config and no structured output for headless runs (12 of 25). pydantic.dev's llms.txt indexes the Pax overview with a Markdown twin (10). The four-layer table says when to start with Pax, Coder, the Harness or Pydantic AI, and the reference warns that file tools reach outside the workspace and that command patterns are not a sandbox (17 of 20). Permission modes, update channels and plugin settings are named values with stated defaults (11 of 15). Examples for every command, and headless errors go to stderr with a nonzero status, but only Ctrl+C's 130 is a documented code (11 of 15). Pax entries in the shared changelog at pydantic.dev/docs/ai/project/changelog/ and GitHub releases (15). 12+10+17+11+11+15 = 76.

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).

Transparency & trust Pax +12

Pax 78

MIT, with third-party notices in the package (30). The README says where settings, sessions, plugins and credentials live and how credentials are encrypted. Pydantic's privacy policy covers its hosted services, and Pax's data goes to the model provider the user picks and to a telemetry destination only when one is configured (20 of 30). The pydantic-clai2 rename keeps old commands with a deprecation note and says the shim will stop being released in a future version, without a date, and the logfire plugin rename carried settings over (10 of 20). The telemetry section documents what is sent, the email tag and /plugins disable observability (17 of 20). 30+20+10+17 = 77.

Qwen Code 66

Apache-2.0 (30). One terms and privacy page maps each sign-in method to the model provider's terms and says the project doesn't train on prompts or code. Since 26 October it says usage statistics are on by default for every sign-in method, own API keys included, and go to an Alibaba Cloud RUM collection endpoint, where before it said API-key users sent nothing beyond what the provider collects, against the settings default. It still gives no retention period and names no legal entity (20, was 18). The end of the Qwen OAuth free tier is dated 15 April 2026 and tools.core is marked deprecated, with a Breaking Changes heading in every release, but no written deprecation policy was found (12). Telemetry is documented with an opt-out by setting or environment variable, though prompts are logged by default once OpenTelemetry is on (17). 30 + 20 + 12 + 17 = 79.

Agent ergonomics Qwen Code +10

Pax 75

Harness reading, scored on what an agent or pipeline driving Pax supplies. Coder's six tools plus delegate_task, plugins switch off from a menu, and MCP servers load on demand by default so their tools stay out of prompts (22 of 25). --request-limit N bounds model requests and /compact trims context, but the reference says there is no spending cap in Pax (14 of 20). Headless runs exit nonzero with the error on stderr, and plugin load failures abort them, with no catalogue of exit codes (12 of 20). Every turn is saved, --resume, --continue and --fork-session work headless, conversations rewind, and fallback chains move to the next account on a rate limit (18 of 20). One required input for pax -p, but the default model needs a ChatGPT sign-in, output is text only, and Pax is Python only (9 of 15). 22+14+12+18+9 = 75.

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 +9

Pax 60

Local-package reading. pydantic-ai-pax on PyPI with Python 3.11 or newer stated and classifiers up to 3.15, installed with uv tool install or run with uvx (20). The repository's public CI workflow runs Pax test cells on every install shape, and tests/pax holds about 220 files with some 3,400 test functions. github.com refused our reader, so whether main is passing is unchecked (15 of 25). 56 open issues carry the pkg:clai2 label on 27 November, 9 of them bugs, all filed since 18 November and 6 without a reply, against 70 closed and 193 merged pull requests since 28 October (18 of 25). Pax changes appear in the shared changelog and upgrade guide, and the rename from pydantic-clai2 kept a shim package, but Pax has no version policy of its own, unlike the Harness (7 of 15). 0.76.0, classed 3 - Alpha, and the README calls it a beta (0). 20+15+18+7+0 = 60.

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.

Security & auth Pax +6

Pax 59

Harness reading of the framework checklist, five lines, as for the other harnesses. The default-on observability plugin exports only when a Logfire token or OTLP exporter is configured, including in the environment, leaves prompts, results and files out by default, and tags session roots with the user's email. Pax checks for updates at startup on uv tool installs. Shell commands get Pax's environment minus provider API keys, and saved credentials are encrypted with a keychain key (20 of 30). The default full mode has no approval step and no sandbox, file tools reach paths outside the project, auto and read-only modes hold risky calls, and /sandbox moves a conversation into a local microVM or a cloud sandbox (10 of 20). Folder trust sends an untrusted repository's instruction files to the model as the repository's, and project plugins, hooks and MCP files need approval pinned to their contents, but the Harness's Prompt Injection Defender isn't on by default (9 of 15). Every conversation is saved, and OpenTelemetry spans cover model and tool calls when exported (12 of 15). Valid security.txt and GitHub private reporting for the repository, no advisories for Pax or pydantic-clai2 on OSV, but the threat model handles reports against Pax as bugs while it is unlaunched (8 of 20). 20+10+9+12+8 = 59.

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.

Maintenance & community Qwen Code +5

Pax 83

0.76.0 on 27 November 2026 (30). 24 releases from 30 September to 27 November, 20 as pydantic-clai2 and 4 as pydantic-ai-pax (20). 193 merged pull requests and 70 closed issues labelled pkg:clai2 since 28 October, 56 open issues of which 6 bugs have no reply, all filed in the last ten days. Reply times weren't read (17 of 25). PyPI only, with the pydantic-clai2 shim still released alongside (10 of 15). Dependabot is configured, but CI state on main is unchecked (6 of 10). 30+20+17+10+6 = 83. The product is about two months old, and eight weeks of releases is all the record there is.

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

CategoryWeightPaxQwen CodeEdge
Reliability16%6069Qwen Code +9
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7691Qwen Code +15
Agent ergonomics13%7585Qwen Code +10
Security & auth14%5953Pax +6
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8388Qwen Code +5
Transparency & trust7%7866Pax +12
Negative events≤150-4
TotalBB 72.2/100BB 72.4/100

Facts side by side

FactPaxQwen Code
KindAgent harnessAgent harness
VendorPydanticAlibaba (Qwen team)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneAPI key
PricingFreeFree
x402nono
LicenceMITApache-2.0
Read-only variant documentedyesno
llms.txtyesyes
Last release2026-11-272026-11-01
Terms last updatedno date given2026-10-01
Privacy policy last updated2024-02-212026-10-01
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textnot found in the text
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waiveryesnot found in the text
Popularitynone28k stars, 105k npm/wk
Agent reviewsnone2.8/5 (4)

How the scores have moved

Verdicts

Pax

Pax puts Pydantic's Coder agent in a terminal with any Pydantic AI model, ChatGPT or Copilot sign-in, saved and forkable sessions, MCP servers loaded on demand and a plugin for every part. By default it runs commands and edits files with no approval step or sandbox, and the vendor still calls it beta.

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

Pax

  1. Before a headless run, set pax config set run.permissions auto or read-only. Headless runs deny held calls instead of waiting
  2. Pass -m with a model you have a key for. The default model needs a ChatGPT sign-in made beforehand with /login openai-codex
  3. Read the stderr text and the exit status. pax -p prints only the final answer on stdout, and Ctrl+C exits with 130
  4. Unset LOGFIRE_TOKEN and OTLP exporter variables, or run /plugins disable observability, if traces must stay on the machine
  5. Use --request-limit N to bound a run. Pax has no spending cap of its own

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, Pax or Qwen Code?

Qwen Code and Pax score within a point of each other on agent readiness, 72.4 (BB) and 72.2 (BB). Pax leads on security & auth and transparency & trust.

Are Pax and Qwen Code open source?

Yes. Pax is open source (MIT). Qwen Code is open source (Apache-2.0).

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