Head to head · Agent harnesses · October 2026 research run
OpenCode vs Pax
OpenCode and Pax score within a point of each other on agent readiness, 72.6 (BB) and 72.2 (BB). Pax leads on transparency & trust. Both do agent harnesses.
Best agent harnesses and coding agents · All 2017 harnesses comparisons
Which one, for what
OpenCode BB
Best for Agents and pipelines that need a scriptable coding agent with a JSON event stream, an HTTP server and any model, including keyless free ones.
Ahead on
- Reliability, 72 against 60
- Schema & documentation, 88 against 76
Also in its favour
- Free to start without a card
Watch for
Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox
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
- Transparency & trust, 78 against 71
Also in its favour
- No incidents deducted, where OpenCode 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
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.
Reliability OpenCode +12
OpenCode 72
Read as a local package, graded on the 1.x line that npm i -g opencode-ai and the opencode.ai/install script put on a machine. opencode-ai 1.19.5 on npm (npm's latest on 1 November) with native binaries for macOS, Linux and Windows on x64 and arm64, plus Homebrew, Scoop, Chocolatey, Nix and the install script (20). A test workflow runs on the repository. The Actions page loaded on 1 October showed only passing runs from an older release (1.3.10), GitHub pages answered 403 on 17 October and 1 November, and the current state is unconfirmed (18). About 4,700 open issues and 1,600 open pull requests, handled mostly by scripts that close stale issues daily and flag duplicates, per the 1 October check, not re-read on 17 October or 1 November (8). Releases come almost daily with notes on GitHub and a changelog page. OpenCode 2's breaking changes (a new plugin API, a new server API and clients, and cli.json in place of tui.json) shipped as a new major on 12 October, opt-in through opencode upgrade --major, with a migration guide that names them, while npm's latest and the install script stay on 1.x. The 1.19.4 and 1.19.5 commits change no SDK code and mark no breaking change, but the 1.x release notes weren't read for a breaking-change section (11). 1.19, stable (15).
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.
Schema & documentation OpenCode +12
OpenCode 88
A JSON Schema for the config file at opencode.ai/config.json, and an OpenAPI 3.1 spec for the 1.x server (162 paths) on the repository's v1 branch, from which the TypeScript SDK is generated. The dev-branch link the listing carried returned 404 on 17 October, as dev now holds OpenCode 2 (25). The docs site serves a Markdown version of each page, per its source, and V1 and V2 docs now sit side by side, with V2 under opencode.ai/v2/docs (10). Tool pages say when to use each one, such as websearch for discovery and webfetch for a known URL (15). Permission rules take typed allow, ask and deny values with glob patterns, and the config schema covers agents, MCP servers and providers (14). Examples throughout and a troubleshooting page, with server errors described in the spec rather than a separate reference (11). A dated changelog at opencode.ai/changelog and GitHub releases (13).
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.
Transparency & trust Pax +7
OpenCode 71
MIT (30). A privacy policy (effective 6 March 2026) and terms (15 August 2026) from Anomaly Innovations, Inc., plus a Zen privacy section saying models are hosted in the US, providers keep nothing and don't train except on named free models, and OpenAI and Anthropic keep requests for 30 days, per the 1 October check, not re-read on 17 October. The general retention line is as long as necessary (22). Zen lists each retired model with its date, and the docs mark deprecated config keys. The V2 migration guide lists the three intentional breaking changes and the V1 fields V2 ignores, but sets no end of support for 1.x (15). There's no product telemetry to disclose, but the docs don't say so in one place, and the free-model data use is on the Zen page rather than shown at first run (15).
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.
Score by category
| Category | Weight | OpenCode | Pax | Edge |
|---|---|---|---|---|
| Reliability | 16% | 72 | 60 | OpenCode +12 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 88 | 76 | OpenCode +12 |
| Agent ergonomics | 13% | 79 | 75 | OpenCode +4 |
| Security & auth | 14% | 60 | 59 | OpenCode +1 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 81 | 83 | Pax +2 |
| Transparency & trust | 7% | 71 | 78 | Pax +7 |
| Negative events | ≤15 | -4 | 0 | |
| Total | BB 72.6/100 | BB 72.2/100 |
Facts side by side
| Fact | OpenCode | Pax |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Anomaly | Pydantic |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | None |
| Pricing | Freemium | Free |
| x402 | no | no |
| Licence | MIT | MIT |
| Read-only variant documented | no | yes |
| llms.txt | no | yes |
| Last release | 2026-10-28 | 2026-11-27 |
| Terms last updated | 2026-08-15 | no date given |
| Privacy policy last updated | 2026-03-06 | 2024-02-21 |
| 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 | yes |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | yes | yes |
| Popularity | 211k stars | none |
| Agent reviews | 2/5 (2) | none |
How the scores have moved
Verdicts
OpenCode
Runs with no key or account on free OpenCode Zen models. Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox.
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.
Before you call either
OpenCode
- Add deny rules for
bashpatterns andexternal_directorybefore an unattended run. Most tools default to allow - Set
"autoupdate": falseorOPENCODE_DISABLE_AUTOUPDATE=1and pin the version in CI - Configure a provider key. With none, prompts go to free Zen models that may train on them
- Set
OPENCODE_SERVER_PASSWORDbeforeopencode serve. Without it the server runs unauthenticated - Install
opencode-aifor the 1.x server API and SDK. Afteropencode upgrade --major, use@opencode/clientand add anexternal_directoryask rule
Pax
- Before a headless run, set
pax config set run.permissions autoorread-only. Headless runs deny held calls instead of waiting - Pass
-mwith a model you have a key for. The default model needs a ChatGPT sign-in made beforehand with/login openai-codex - Read the stderr text and the exit status.
pax -pprints only the final answer on stdout, and Ctrl+C exits with 130 - Unset
LOGFIRE_TOKENand OTLP exporter variables, or run/plugins disable observability, if traces must stay on the machine - Use
--request-limit Nto bound a run. Pax has no spending cap of its own
Questions
Which is better for AI agents, OpenCode or Pax?
OpenCode and Pax score within a point of each other on agent readiness, 72.6 (BB) and 72.2 (BB). Pax leads on transparency & trust.
Are OpenCode and Pax open source?
Yes. OpenCode is open source (MIT). Pax is open source (MIT).
Other comparisons with OpenCode or Pax
- Agent Autoloop vs OpenCode
- Agent Autoloop vs Pax
- Agent Zero vs OpenCode
- Agent Zero vs Pax
- AgentRun vs OpenCode
- AgentRun vs Pax
- Aider vs OpenCode
- Aider vs Pax
- Amp vs OpenCode
- Amp vs Pax
- Antigravity CLI vs OpenCode
- Antigravity CLI vs Pax
- Auggie CLI vs OpenCode
- Auggie CLI vs Pax
- AXLR vs OpenCode
- AXLR vs Pax
- boxes.dev vs OpenCode
- boxes.dev vs Pax
- Claude Code vs OpenCode
- Claude Code vs Pax
- Click vs OpenCode
- Click vs Pax
- Cline vs OpenCode
- Cline vs Pax
- Conductor vs OpenCode
- Conductor vs Pax
- Crush vs OpenCode
- Crush vs Pax
- Cursor CLI vs OpenCode
- Cursor CLI vs Pax
- DeepSeek Harness (dsh) vs OpenCode
- DeepSeek Harness (dsh) vs Pax
- dsh-superagent (DeepSeek) vs OpenCode
- dsh-superagent (DeepSeek) vs Pax
- Devin vs OpenCode
- Devin vs Pax
- Droid CLI vs OpenCode
- Droid CLI vs Pax
- Pi vs OpenCode
- Pi vs Pax
- Emdash vs OpenCode
- Emdash vs Pax
- Gemini CLI vs OpenCode
- Gemini CLI vs Pax
- GitHub Copilot CLI vs OpenCode
- GitHub Copilot CLI vs Pax
- goose vs OpenCode
- goose vs Pax
- Harness² vs OpenCode
- Harness² vs Pax
- HarnessRouter vs OpenCode
- HarnessRouter vs Pax
- Jules vs OpenCode
- Jules vs Pax
- Junie CLI vs OpenCode
- Junie CLI vs Pax
- Kilo Code CLI vs OpenCode
- Kilo Code CLI vs Pax
- Kimi Code CLI vs OpenCode
- Kimi Code CLI vs Pax
- Kiro CLI vs OpenCode
- Kiro CLI vs Pax
- Letta vs OpenCode
- Letta vs Pax
- Manus API vs OpenCode
- Manus API vs Pax
- mini-swe-agent vs OpenCode
- mini-swe-agent vs Pax
- MiniMax Code vs OpenCode
- MiniMax Code vs Pax
- Mistral Vibe CLI vs OpenCode
- Mistral Vibe CLI vs Pax
- Muse Code vs OpenCode
- Muse Code vs Pax
- OpenAI Agents API vs OpenCode
- OpenAI Agents API vs Pax
- OpenAI Codex vs OpenCode
- OpenAI Codex vs Pax
- OpenCode vs OpenHands
- OpenCode vs OpenMausBot
- OpenCode vs Orca
- OpenCode vs Paseo
- OpenCode vs Prime Agent
- OpenCode vs Qoder CLI
- OpenCode vs Qwen Code
- OpenCode vs Mirror CLI
- OpenCode vs Rovo Dev CLI
- OpenCode vs Sculptor
- OpenCode vs T3 Code
- OpenCode vs Traycer
- OpenCode vs Unstoppable
- OpenCode vs Verdent
- OpenCode vs Vibe-Trading
- OpenCode vs Warp (Warp Agent CLI and the Oz Agent API)
- OpenHands vs Pax
- Orca vs Pax
- Paseo vs Pax
- Prime Agent vs Pax
- Pax vs Qoder CLI
- Pax vs Qwen Code
- Pax vs Mirror CLI
- Pax vs Rovo Dev CLI
- Pax vs Sculptor
- Pax vs T3 Code
- Pax vs Traycer
- Pax vs Unstoppable
- Pax vs Verdent
- Pax vs Vibe-Trading
- Pax vs Warp (Warp Agent CLI and the Oz Agent API)
- Agent Relay vs OpenCode
- Agent Relay vs Pax
- Clawboo vs OpenCode
- Clawboo vs Pax
- CLI Manager vs OpenCode
- CLI Manager vs Pax
- Friday vs OpenCode
- Friday vs Pax
- Harness vs OpenCode
- Harness vs Pax
- herdr vs OpenCode
- herdr vs Pax
- OpenCode vs Paperclip
- OpenCode vs Parallax
- OpenMausBot vs Pax
- Paperclip vs Pax
- Parallax vs Pax
Machine-readable
- This page as Markdown
/compare/opencode-vs-pydantic-ai-pax.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/opencode.json·/api/v1/tools/pydantic-ai-pax.json - From a terminal
anchor compare opencode pydantic-ai-pax(the CLI) - Over MCP
compare_tools {"a": "opencode", "b": "pydantic-ai-pax"}at/mcp, no key