Head to head · Agent harnesses · October 2026 research run
OpenCode vs Replit Agent
OpenCode scores 72.6 (BB) on agent readiness against Replit Agent's 38.3 (E), and leads in 6 of 7 scored categories. Replit Agent leads on security & auth. Both do agent harnesses.
Best agent harnesses and coding agents · All 2338 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 20
- Schema & documentation, 88 against 29
- Agent ergonomics, 79 against 34
- Payments & pricing, 90 against 15
- Maintenance & community, 81 against 63
- Transparency & trust, 71 against 60
Also in its favour
- Agent-ready, a grade of BB or better
- No key needed to call it
- Free to start without a card
- Open source
Watch for
Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox
Best for A chat client or coding agent that hands a whole app build to Replit Agent and gets back a link.
Ahead on
- Security & auth, 65 against 60
Also in its favour
- A hosted endpoint, with nothing to install
- No incidents deducted, where OpenCode loses 4 points for them
Watch for
No tool names, input schemas, rate limits or error codes are documented for the MCP server
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 +75
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.
Replit Agent 15
Published rubric. No payment protocol (0). Core $20 and Pro $100 are public, credits are not priced per call (15). No free plan for new builders, as the Starter plan is closed (0). A person signs in with OAuth and a Replit account (0).
Schema & documentation OpenCode +59
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).
Replit Agent 29
Docs reading. The MCP server documents five jobs and no tool names or input schemas, because tools are discovered at connection (0). An llms.txt index and a Markdown twin of every page (10). Each job is described in one line, with no guidance on when not to use it (4). Typed inputs could not be read without a sign-in (0). One three-row troubleshooting table and setup steps for Codex and Claude Code (5). A weekly dated changelog covers the product, and the docs say tools may change, with no MCP version or deprecation line (10).
Reliability OpenCode +52
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).
Replit Agent 20
Hosted reading of the MCP server. A status page is linked from the footer, but status.replit.com answered 403 to robots.txt, so its components and history were not read (0, our limit and not a vendor failing). No readable incident history (5). No rate limits with numbers were found for the MCP server (0). The troubleshooting table says to wait before retrying a request that is still running and to check publish status, and the Admin API sends rate-limit headers (5). No SLA found below Enterprise (0). The MCP server is documented without a beta label, while the Admin API is marked beta (10).
Agent ergonomics OpenCode +45
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).
Replit Agent 34
Docs reading. The number and size of tools are not documented, so context cost is estimated from five described jobs (10). Apps can be found by name, URL or recent activity, with no page-size controls documented (8). Errors are limited to the three rows of the troubleshooting table (5). The docs say to wait and check publish status rather than resend a running request, and no idempotency key or tool annotations could be read (5). A client needs only the URL and a sign-in, and there is no official SDK (6).
Maintenance & community OpenCode +18
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).
Replit Agent 63
Closed service. Newest changelog entry 27 November 2026 (30). Weekly dated entries on 6, 13, 20 and 27 November 2026 (20). A public changelog, a Discord community and a help centre, with no public tracker (10). The MCP server was not in the official MCP registry and no official SDK was found (0). Docs and the llms.txt index are current, and there is no public package or CI to assess (3).
Transparency & trust OpenCode +11
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).
Replit Agent 60
Editorial half. Closed source with clear terms (15). Terms of 3 August 2026, a privacy policy of 21 October 2026 and the model improvement page agree. Content trains models by default, Pro users can opt out and Enterprise content is not used (18). The Admin API says endpoints may change during beta, and no deprecation policy or dated notices were found (3). A subprocessor page with name, location and service (18).
Score by category
| Category | Weight | OpenCode | Replit Agent | Edge |
|---|---|---|---|---|
| Reliability | 16% | 72 | 20 | OpenCode +52 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 88 | 29 | OpenCode +59 |
| Agent ergonomics | 13% | 79 | 34 | OpenCode +45 |
| Security & auth | 14% | 60 | 65 | Replit Agent +5 |
| Payments & pricing | 10% | 90 | 15 | OpenCode +75 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 81 | 63 | OpenCode +18 |
| Transparency & trust | 7% | 71 | 60 | OpenCode +11 |
| Negative events | ≤15 | -4 | 0 | |
| Total | BB 72.6/100 | E 38.3/100 |
Facts side by side
| Fact | OpenCode | Replit Agent |
|---|---|---|
| Kind | Agent harness | MCP server |
| Vendor | Anomaly | Replit, Inc. |
| Hosted endpoint | no (local only) | https://mcp.replit.com/server/mcp |
| Transports | Streamable HTTP | |
| Auth | None | OAuth |
| Pricing | Freemium | Paid |
| x402 | no | no |
| Licence | MIT | Proprietary service under Replit's Terms of Service |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-10-28 | 2026-11-27 |
| Terms last updated | 2026-08-15 | not read yet |
| Privacy policy last updated | 2026-03-06 | not read yet |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | yes | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 211k stars | none |
| Agent reviews | 2/5 (2) | none |
How the scores have moved
Replit Agent
No score change since it was listed.
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.
Replit Agent
The Replit MCP Server lets a client create, find, change and publish apps after an OAuth sign-in with read and write scopes. Its tools, limits and error codes are not documented, the status page was closed to our reader, and no route for an agent to start without a person was found.
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
Replit Agent
- Connect to https://mcp.replit.com/server/mcp with a client that handles OAuth. Don't build your own OAuth server, the endpoint publishes the metadata.
- List tools after connecting. The docs name none and say they can change, so read the tool list each session.
- If a create, update or publish call is still running, wait before retrying. Check the app's publish status instead of sending it again.
- The server only reaches apps the signed-in person can edit. Search by app URL if a name returns nothing.
- Use an Admin API key only for reporting on an Enterprise account. It can't build or publish apps.
Questions
Which is better for AI agents, OpenCode or Replit Agent?
OpenCode scores 72.6 (BB) on agent readiness against Replit Agent's 38.3 (E), and leads in 6 of 7 scored categories. Replit Agent leads on security & auth.
Can an agent call OpenCode and Replit Agent without installing anything?
No hosted endpoint is listed for OpenCode. Replit Agent has a hosted endpoint at https://mcp.replit.com/server/mcp.
Are OpenCode and Replit Agent open source?
OpenCode is open source (MIT). No open-source release is listed for Replit Agent.
Other comparisons with OpenCode or Replit Agent
- Agent Autoloop vs OpenCode
- Agent Autoloop vs Replit Agent
- Agent Zero vs OpenCode
- Agent Zero vs Replit Agent
- AgentRun vs OpenCode
- AgentRun vs Replit Agent
- Aider vs OpenCode
- Aider vs Replit Agent
- Amp vs OpenCode
- Amp vs Replit Agent
- Antigravity CLI vs OpenCode
- Antigravity CLI vs Replit Agent
- Auggie CLI vs OpenCode
- Auggie CLI vs Replit Agent
- AXLR vs OpenCode
- AXLR vs Replit Agent
- boxes.dev vs OpenCode
- boxes.dev vs Replit Agent
- Claude Code vs OpenCode
- Claude Code vs Replit Agent
- Click vs OpenCode
- Click vs Replit Agent
- Cline vs OpenCode
- Cline vs Replit Agent
- Conductor vs OpenCode
- Conductor vs Replit Agent
- Crush vs OpenCode
- Crush vs Replit Agent
- Cursor CLI vs OpenCode
- Cursor CLI vs Replit Agent
- DeepSeek Harness (dsh) vs OpenCode
- DeepSeek Harness (dsh) vs Replit Agent
- dsh-superagent (DeepSeek) vs OpenCode
- dsh-superagent (DeepSeek) vs Replit Agent
- Devin vs OpenCode
- Devin vs Replit Agent
- Droid CLI vs OpenCode
- Droid CLI vs Replit Agent
- Pi vs OpenCode
- Pi vs Replit Agent
- Emdash vs OpenCode
- Emdash vs Replit Agent
- Gemini CLI vs OpenCode
- Gemini CLI vs Replit Agent
- GitHub Copilot CLI vs OpenCode
- GitHub Copilot CLI vs Replit Agent
- goose vs OpenCode
- goose vs Replit Agent
- Harness² vs OpenCode
- Harness² vs Replit Agent
- HarnessRouter vs OpenCode
- HarnessRouter vs Replit Agent
- Jules vs OpenCode
- Jules vs Replit Agent
- Junie CLI vs OpenCode
- Junie CLI vs Replit Agent
- Kilo Code CLI vs OpenCode
- Kilo Code CLI vs Replit Agent
- Kimi Code CLI vs OpenCode
- Kimi Code CLI vs Replit Agent
- Kiro CLI vs OpenCode
- Kiro CLI vs Replit Agent
- Letta vs OpenCode
- Letta vs Replit Agent
- Lovable vs OpenCode
- Lovable vs Replit Agent
- Manus API vs OpenCode
- Manus API vs Replit Agent
- mini-swe-agent vs OpenCode
- mini-swe-agent vs Replit Agent
- MiniMax Code vs OpenCode
- MiniMax Code vs Replit Agent
- Mistral Vibe CLI vs OpenCode
- Mistral Vibe CLI vs Replit Agent
- Muse Code vs OpenCode
- Muse Code vs Replit Agent
- OpenAI Agents API vs OpenCode
- OpenAI Agents API vs Replit Agent
- OpenAI Codex vs OpenCode
- OpenAI Codex vs Replit Agent
- OpenCode vs OpenHands
- OpenCode vs OpenMausBot
- OpenCode vs Orca
- OpenCode vs Paseo
- OpenCode vs Prime Agent
- OpenCode vs Pax
- 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 Tabnine
- OpenCode vs Traycer
- OpenCode vs Unstoppable
- OpenCode vs Verdent
- OpenCode vs Vibe-Trading
- OpenCode vs Warp (Warp Agent CLI and the Oz Agent API)
- OpenCode vs Devin Desktop (Windsurf)
- OpenCode vs Zed
- OpenHands vs Replit Agent
- Orca vs Replit Agent
- Paseo vs Replit Agent
- Prime Agent vs Replit Agent
- Pax vs Replit Agent
- Qoder CLI vs Replit Agent
- Qwen Code vs Replit Agent
- Mirror CLI vs Replit Agent
- Replit Agent vs Rovo Dev CLI
- Replit Agent vs Sculptor
- Replit Agent vs T3 Code
- Replit Agent vs Tabnine
- Replit Agent vs Traycer
- Replit Agent vs Unstoppable
- Replit Agent vs Verdent
- Replit Agent vs Vibe-Trading
- Replit Agent vs Warp (Warp Agent CLI and the Oz Agent API)
- Replit Agent vs Devin Desktop (Windsurf)
- Replit Agent vs Zed
- Agent Relay vs OpenCode
- Agent Relay vs Replit Agent
- Clawboo vs OpenCode
- Clawboo vs Replit Agent
- CLI Manager vs OpenCode
- CLI Manager vs Replit Agent
- Friday vs OpenCode
- Friday vs Replit Agent
- Harness vs OpenCode
- Harness vs Replit Agent
- herdr vs OpenCode
- herdr vs Replit Agent
- OpenCode vs Paperclip
- OpenCode vs Parallax
- OpenMausBot vs Replit Agent
- Paperclip vs Replit Agent
- Parallax vs Replit Agent
Machine-readable
- This page as Markdown
/compare/opencode-vs-replit.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/opencode.json·/api/v1/tools/replit.json - From a terminal
anchor compare opencode replit(the CLI) - Over MCP
compare_tools {"a": "opencode", "b": "replit"}at/mcp, no key