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

CategoryWeightAgentRunOpenCodeEdge
Reliability16%7072OpenCode +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8988AgentRun +1
Agent ergonomics13%8579AgentRun +6
Security & auth14%6060even
Payments & pricing10%6090OpenCode +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8881AgentRun +7
Transparency & trust7%7071OpenCode +1
Negative events≤150-4
TotalBB 74.1/100BB 72.6/100

Facts side by side

FactAgentRunOpenCode
KindAgent harnessAgent harness
VendorParcha Labs, Inc.Anomaly
Hosted endpointno (local only)no (local only)
TransportsHTTP, Streamable HTTP
AuthAPI keyNone
PricingFreemiumFreemium
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.MIT
Tools exposed10none
Read-only variant documentedyesno
llms.txtyesno
Last release2026-11-232026-10-28
Terms last updated2026-03-202026-08-15
Privacy policy last updated2026-09-212026-03-06
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesyes
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textyes
Popularity1.3k stars, 3.6k npm/wk211k stars
Agent reviewsnone2/5 (2)

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.

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

  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

OpenCode

  1. Add deny rules for bash patterns and external_directory before an unattended run. Most tools default to allow
  2. Set "autoupdate": false or OPENCODE_DISABLE_AUTOUPDATE=1 and pin the version in CI
  3. Configure a provider key. With none, prompts go to free Zen models that may train on them
  4. Set OPENCODE_SERVER_PASSWORD before opencode serve. Without it the server runs unauthenticated
  5. Install opencode-ai for the 1.x server API and SDK. After opencode upgrade --major, use @opencode/client and add an external_directory ask 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

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.