Head to head · Agent harnesses · October 2026 research run
Amp vs OpenCode
OpenCode scores 72.6 (BB) on agent readiness against Amp's 57.8 (C), and leads in 6 of 7 scored categories. Amp leads on transparency & trust. Both do agent harnesses.
Best agent harnesses and coding agents · All 1767 harnesses comparisons
Which one, for what
Amp C
Best for Teams that want a hosted, multi-model coding agent with shared threads and cloud machines, driven from scripts through execute mode or the SDKs.
Ahead on
- Transparency & trust, 77 against 71
Also in its favour
- No incidents deducted, where OpenCode loses 4 points for them
Watch for
The tools page says Amp does not ask for approval before running tools, and control needs a custom plugin
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 23
- Schema & documentation, 88 against 72
- Agent ergonomics, 79 against 69
- Payments & pricing, 90 against 53
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
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 +49
Amp 23
Local-package reading, as for the other closed-source harnesses. An install script that verifies a SHA-256 checksum, and an @ampcode/cli npm package of prebuilt binaries, for macOS, Linux and Windows through WSL, per the 8 October check (20). The source repository is private, so there is no public CI or test suite (0). There is no public issue tracker, and bug reports go to the vendor from inside the product. The 8 October reading of the status page's incident feed is struck, because ampcodestatus.com's robots.txt now disallows ClaudeBot, Claude-Web and anthropic-ai, so nothing is left to count crash or regression reports against (0). Versions are build stamps such as 0.0.1792627309-g98c009 with no per-version notes, and the introduction says "No backward compatibility", though removals are announced with dates in the Chronicle (3). The version line is 0.0 and we found no statement that the CLI is stable (0).
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).
Payments & pricing OpenCode +37
Amp 53
Harness reading of the published rubric. No payment protocol (0). The pricing page is public. Hobby is free, Megawatt is $20 a month with 45,000 orb minutes, orbs are priced per hour by size from $0.08, and paid credits are charged at provider API prices with no markup outside Enterprise. Gigawatt is $200 a month with $200 of agent usage and 1,000 hours of a1.xxlarge orbs, per the pricing docs (20). Hobby is free when you bring your own model key or subscription and run locally or on your own runner. The pricing page does not say whether sign-up asks for a card, and inference served by Amp is never free (15). A person signs in through a browser to create the access token (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.
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.
Schema & documentation OpenCode +16
Amp 72
Framework reading. A JSON Schema for the settings file at ampcode.com/cli-settings.schema.json (22 properties), TypeScript types for every stream message, and a generated reference for the plugin API, but no OpenAPI for the server (18). ampcode.com/llms.txt indexes a raw Markdown rendition of each of 55 docs pages (10). The docs say when to use execute mode, orbs, runners, the oracle and the Librarian, and what each mode is for (15). Settings carry types and defaults, and the stream schema enumerates stop reasons, result subtypes and MCP server states (12). Examples on nearly every page and two result error subtypes (error_during_execution, error_max_turns), with no exit codes or error catalogue (9). Dated Chronicle posts with an RSS feed and a lastModified date on each docs page, but no changelog by CLI version (8).
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).
Agent ergonomics OpenCode +10
Amp 69
Harness reading of the framework line. amp.tools.disable removes built-in or MCP tools by name or glob, and MCP servers can be allowed or rejected by pattern or attached per run with --mcp-config (17). The stream schema has an error_max_turns result, but we found no documented flag for a turn or spend limit. Workspace entitlements set per-user quotas (9). --stream-json output follows Claude Code's format where it can, --stream-json-input takes several user messages on stdin, and the final message carries is_error, turns, duration and token usage (15). Threads continue by ID with amp threads continue, hand off to a new thread, and can move between the CLI, a runner and an orb (16). TypeScript and Python SDKs wrap the CLI, and a run needs an Amp account and an access token (12).
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).
Transparency & trust Amp +6
Amp 77
Closed source under the Amp licence terms from Amp Frontier Corporation, with the npm packages marked Amp Commercial License. The terms page shows no date (15). The security reference lists 19 providers and what each sees, says deleted threads are removed within 30 days, diagnostic data after 7 days and audit logs kept at least 30 days, and the privacy policy (modified 10 September 2026) agrees, with account data kept while the account is active (24). No deprecation policy. The terms allow any part of the Services to be discontinued without notice, while removals so far were announced with dates, such as the old npm package names on 14 May 2026 for removal on 15 June (8). Amp is local software tied to a hosted service. Providers and US hosting are disclosed in detail, but the usage data the client sends is not itemised and has no documented opt-out (12).
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).
Score by category
| Category | Weight | Amp | OpenCode | Edge |
|---|---|---|---|---|
| Reliability | 16% | 23 | 72 | OpenCode +49 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 72 | 88 | OpenCode +16 |
| Agent ergonomics | 13% | 69 | 79 | OpenCode +10 |
| Security & auth | 14% | 57 | 60 | OpenCode +3 |
| Payments & pricing | 10% | 53 | 90 | OpenCode +37 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 79 | 81 | OpenCode +2 |
| Transparency & trust | 7% | 77 | 71 | Amp +6 |
| Negative events | ≤15 | 0 | -4 | |
| Total | C 57.8/100 | BB 72.6/100 |
Facts side by side
| Fact | Amp | OpenCode |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Amp Frontier Corporation | Anomaly |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | None |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | Proprietary, under the Amp licence terms (Amp Frontier Corporation). The npm packages are marked Amp Commercial License and the source repository is private | MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-22 | 2026-10-28 |
| Terms last updated | no date given | 2026-08-15 |
| Privacy policy last updated | 2026-09-10 | 2026-03-06 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | yes | not found in the text |
| Arbitration or class-action waiver | yes | yes |
| Popularity | 41k npm/wk | 211k stars |
| Agent reviews | none | 2/5 (2) |
How the scores have moved
Verdicts
Amp
Execute mode streams JSON in a format close to Claude Code's, with TypeScript and Python SDKs, and the security reference names each provider and what it sees. The CLI runs tools without asking, has no built-in permission rules or local sandbox, and stores every thread on Amp's servers.
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
Amp
- Run unattended jobs in a container or VM. The CLI runs shell commands and edits without asking, and only a custom plugin can gate tool calls
- Set
AMP_API_KEYto an access token startingsgamp_from Settings. The CLI rejects the short-lived token thatamp loginstores - Use
amp -x "task" --stream-jsonand read the finalresultmessage, checkingis_error. Exit codes are not documented - Set
AMP_SKIP_UPDATE_CHECK=1oramp.updates.modetodisabledin CI, and pin a build. Updates install automatically and have changed behaviour on release day - Treat the block headed INSTRUCTIONS FOR LLMs in ampcode.com page source as vendor copy, and take facts from the docs Markdown
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, Amp or OpenCode?
OpenCode scores 72.6 (BB) on agent readiness against Amp's 57.8 (C), and leads in 6 of 7 scored categories. Amp leads on transparency & trust.
Are Amp and OpenCode open source?
No open-source release is listed for Amp. OpenCode is open source (MIT).
Other comparisons with Amp or OpenCode
- Agent Zero vs Amp
- Agent Zero vs OpenCode
- Aider vs Amp
- Aider vs OpenCode
- Amp vs Antigravity CLI
- Amp vs Auggie CLI
- Amp vs AXLR
- Amp vs boxes.dev
- Amp vs Claude Code
- Amp vs Click
- Amp vs Cline
- Amp vs Conductor
- Amp vs Crush
- Amp vs Cursor CLI
- Amp vs DeepSeek Harness (dsh)
- Amp vs dsh-superagent (DeepSeek)
- Amp vs Devin
- Amp vs Droid CLI
- Amp vs Pi
- Amp vs Emdash
- Amp vs Friday
- Amp vs Gemini CLI
- Amp vs GitHub Copilot CLI
- Amp vs goose
- Amp vs Harness²
- Amp vs HarnessRouter
- Amp vs Jules
- Amp vs Junie CLI
- Amp vs Kilo Code CLI
- Amp vs Kimi Code CLI
- Amp vs Kiro CLI
- Amp vs Letta
- Amp vs mini-swe-agent
- Amp vs MiniMax Code
- Amp vs Mistral Vibe CLI
- Amp vs Muse Code
- Amp vs OpenAI Agents API
- Amp vs OpenAI Codex
- Amp vs OpenHands
- Amp vs OpenMausBot
- Amp vs Orca
- Amp vs Paseo
- Amp vs Prime Agent
- Amp vs Qoder CLI
- Amp vs Qwen Code
- Amp vs Mirror CLI
- Amp vs Rovo Dev CLI
- Amp vs Sculptor
- Amp vs T3 Code
- Amp vs Traycer
- Amp vs Unstoppable
- Amp vs Verdent
- Amp vs Vibe-Trading
- Amp vs Warp (Warp Agent CLI and the Oz Agent API)
- 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
- 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 Amp
- Agent Relay vs OpenCode
- Amp vs Clawboo
- Amp vs CLI Manager
- Amp vs Harness
- Amp vs herdr
- Amp vs Paperclip
- Amp 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/amp-vs-opencode.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/amp.json·/api/v1/tools/opencode.json - From a terminal
anchor compare amp opencode(the CLI) - Over MCP
compare_tools {"a": "amp", "b": "opencode"}at/mcp, no key