Head to head · Agent harnesses · October 2026 research run
AgentRun vs OpenCode
AgentRun scores 74.1 (BB) on agent readiness against OpenCode's 72.6 (BB), and leads in 3 of 7 scored categories. OpenCode 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
- Agent ergonomics, 85 against 79
- Maintenance & community, 88 against 81
Also in its favour
- No incidents deducted, where OpenCode 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
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
- Payments & pricing, 90 against 60
Also in its favour
- No key needed to call it
- Free to start without a card
Watch for
Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox
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 OpenCode +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.
OpenCode 90
No payment protocol (0). Scored on OpenCode Zen and Go. Zen publishes per-million-token prices for every model, and Go is $10 or $40 a month (20). The MIT package and the free Zen models need no card (20). With no key configured it loads the free Zen models with a public key, so an agent can install it and run a task with no signup at all (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Maintenance & community AgentRun +7
AgentRun 88
0.1.0-beta.54 on 23 November 2026, the day of this check (30). 54 beta releases since 23 September 2026, 7 of them from 20 to 23 November (20). Three issues from outside users found, all closed with replies. Most issues and pull requests come from the maintainers' bot accounts. 106 issues closed in all (18 of 25). TypeScript and Python clients are released with each version. The MCP endpoint is not in the official MCP registry, which suits a server each owner runs at their own address (12 of 15). npm pinned in CI, a Node floor at the November 2026 security release and a dependency check in CI, results unread (8 of 10). 30 + 20 + 18 + 12 + 8 = 88. The project is two months old.
OpenCode 81
1.19.5 on npm on 2026-10-28, 4 days before the check, and v2.2.5 tagged on 30 October (30). 30 releases on the 1.x line (1.18.12 to 1.19.5) in the 90 days to 1 November, plus 44 v2 tags (20). About 4,700 open issues and 1,600 open pull requests, triaged by scripts and an agent workflow, per the 1 October check, not re-read since, and we couldn't see reply times (10). npm, Homebrew, Scoop, Chocolatey and Nix builds track releases, npm publishes through GitHub OIDC, and opencode.ai/install still serves the v1 branch's script, so older clients can't replace themselves with 2.x by accident (14). Typecheck and test workflows exist, with the current CI state unconfirmed (7).
Agent ergonomics AgentRun +6
AgentRun 85
MCP and API reading. 10 compact tools, under the 25-point line, less 2 because whoami returns the server's whole capability list (23 of 25). Cursor pages on agents and timeline, after and limit from 1 to 500 on events, file text cut at 64 KiB with a flag, but agents come 20 a page with no filters (15 of 20). Errors name the code, say whether a retry helps and, on 422, each failed field. The docs map 401, 409, 412, 422 and 429 to actions (18 of 20). Idempotency-Key on every create, with 409 on a different body, and readOnlyHint and destructiveHint on every tool. The MCP tools pass no idempotency key of their own (16 of 20). Few required fields and a default harness, but a model key or ChatGPT sign-in is needed before a run. TypeScript and Python clients (13 of 15). 23 + 15 + 18 + 16 + 13 = 85.
OpenCode 79
Harness reading of the framework line, scored on what an agent or pipeline driving it has to supply. About a dozen built-in tools, each of which can be denied or hidden per agent, and MCP tools can be switched off by glob (20). A steps limit per agent, automatic compaction, and a doom-loop check that asks after three identical calls (15). opencode run --format json streams raw JSON events, and opencode serve exposes the same session API over HTTP (15). Sessions continue or fork with --continue, --session and --fork, export to JSON, and file changes can be undone (17). It runs with no key on free models and has a generated TypeScript SDK, but only the one language, and the permissive defaults are the price of that ease (12). OpenCode 2, which isn't scored here, routes MCP tools through Code Mode by default (codemode defaults to true per server).
Score by category
| Category | Weight | AgentRun | OpenCode | Edge |
|---|---|---|---|---|
| Reliability | 16% | 70 | 72 | OpenCode +2 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 89 | 88 | AgentRun +1 |
| Agent ergonomics | 13% | 85 | 79 | AgentRun +6 |
| Security & auth | 14% | 60 | 60 | even |
| Payments & pricing | 10% | 60 | 90 | OpenCode +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 88 | 81 | AgentRun +7 |
| Transparency & trust | 7% | 70 | 71 | OpenCode +1 |
| Negative events | ≤15 | 0 | -4 | |
| Total | BB 74.1/100 | BB 72.6/100 |
Facts side by side
| Fact | AgentRun | OpenCode |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Parcha Labs, Inc. | Anomaly |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP, Streamable HTTP | |
| Auth | API key | None |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | 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. | MIT |
| Tools exposed | 10 | none |
| Read-only variant documented | yes | no |
| llms.txt | yes | no |
| Last release | 2026-11-23 | 2026-10-28 |
| Terms last updated | 2026-03-20 | 2026-08-15 |
| Privacy policy last updated | 2026-09-21 | 2026-03-06 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | yes | yes |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | not found in the text | yes |
| Popularity | 1.3k stars, 3.6k npm/wk | 211k stars |
| Agent reviews | none | 2/5 (2) |
How the scores have moved
AgentRun
No score change since it was listed.
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.
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.
Before you call either
AgentRun
- Call
whoamifirst to learn the harnesses, tools and default model this server has, since a run fails withagent_not_runnablewithout a model key - Send the same Idempotency-Key and body when you retry
POST /v2/agents/{id}/runsafter a dropped connection - Set
max_cost_usdon each run. A run paused at its cap takes no message and waits for a person to raise it - Poll
runs_getevery few seconds, because no tool holds its call open for a run - Ask the person before
agents_create, as the MCP endpoint's own instructions say
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
Questions
Which is better for AI agents, AgentRun or OpenCode?
AgentRun scores 74.1 (BB) on agent readiness against OpenCode's 72.6 (BB), and leads in 3 of 7 scored categories. OpenCode leads on payments & pricing.
Are AgentRun and OpenCode 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.). OpenCode is open source (MIT).
Other comparisons with AgentRun or OpenCode
- Agent Zero vs AgentRun
- Agent Zero vs OpenCode
- AgentRun vs Aider
- AgentRun vs Amp
- AgentRun vs Antigravity CLI
- AgentRun vs Auggie CLI
- AgentRun vs AXLR
- AgentRun vs boxes.dev
- AgentRun vs Claude Code
- AgentRun vs Click
- AgentRun vs Cline
- AgentRun vs Conductor
- AgentRun vs Crush
- AgentRun vs Cursor CLI
- AgentRun vs DeepSeek Harness (dsh)
- AgentRun vs dsh-superagent (DeepSeek)
- AgentRun vs Devin
- AgentRun vs Droid CLI
- AgentRun vs Pi
- AgentRun vs Emdash
- AgentRun vs Friday
- AgentRun vs Gemini CLI
- AgentRun vs GitHub Copilot CLI
- AgentRun vs goose
- AgentRun vs Harness²
- AgentRun vs HarnessRouter
- AgentRun vs Jules
- AgentRun vs Junie CLI
- AgentRun vs Kilo Code CLI
- AgentRun vs Kimi Code CLI
- AgentRun vs Kiro CLI
- AgentRun vs Letta
- AgentRun vs Manus API
- AgentRun vs mini-swe-agent
- AgentRun vs MiniMax Code
- AgentRun vs Mistral Vibe CLI
- AgentRun vs Muse Code
- AgentRun vs OpenAI Agents API
- AgentRun vs OpenAI Codex
- AgentRun vs OpenHands
- AgentRun vs OpenMausBot
- AgentRun vs Orca
- AgentRun vs Paseo
- AgentRun vs Prime Agent
- AgentRun vs Qoder CLI
- AgentRun vs Qwen Code
- AgentRun vs Mirror CLI
- AgentRun vs Rovo Dev CLI
- AgentRun vs Sculptor
- AgentRun vs T3 Code
- AgentRun vs Traycer
- AgentRun vs Unstoppable
- AgentRun vs Verdent
- AgentRun vs Vibe-Trading
- AgentRun vs Warp (Warp Agent CLI and the Oz Agent API)
- Aider vs OpenCode
- Amp vs OpenCode
- Antigravity CLI vs OpenCode
- Auggie CLI vs OpenCode
- AXLR vs OpenCode
- boxes.dev vs OpenCode
- Claude Code vs OpenCode
- Click vs OpenCode
- Cline vs OpenCode
- Conductor vs OpenCode
- Crush vs OpenCode
- Cursor CLI vs OpenCode
- DeepSeek Harness (dsh) vs OpenCode
- dsh-superagent (DeepSeek) vs OpenCode
- Devin vs OpenCode
- Droid CLI vs OpenCode
- Pi vs OpenCode
- Emdash vs OpenCode
- Gemini CLI vs OpenCode
- GitHub Copilot CLI vs OpenCode
- goose vs OpenCode
- Harness² vs OpenCode
- HarnessRouter vs OpenCode
- Jules vs OpenCode
- Junie CLI vs OpenCode
- Kilo Code CLI vs OpenCode
- Kimi Code CLI vs OpenCode
- Kiro CLI vs OpenCode
- Letta vs OpenCode
- Manus API vs OpenCode
- mini-swe-agent vs OpenCode
- MiniMax Code vs OpenCode
- Mistral Vibe CLI vs OpenCode
- Muse Code vs OpenCode
- OpenAI Agents API vs OpenCode
- OpenAI Codex vs OpenCode
- 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)
- Agent Relay vs AgentRun
- Agent Relay vs OpenCode
- AgentRun vs Clawboo
- AgentRun vs CLI Manager
- AgentRun vs Harness
- AgentRun vs herdr
- AgentRun vs Paperclip
- AgentRun vs Parallax
- Clawboo vs OpenCode
- CLI Manager vs OpenCode
- Friday vs OpenCode
- Harness vs OpenCode
- herdr vs OpenCode
- OpenCode vs Paperclip
- OpenCode vs Parallax
Machine-readable
- This page as Markdown
/compare/agentrun-vs-opencode.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/agentrun.json·/api/v1/tools/opencode.json - From a terminal
anchor compare agentrun opencode(the CLI) - Over MCP
compare_tools {"a": "agentrun", "b": "opencode"}at/mcp, no key