Head to head · Agent harness · October 2026 research run

Amp vs OpenCode

OpenCode scores 67.7 (B) on agent readiness against Amp's 57.1 (C), and leads in 6 of 7 scored categories. Amp leads on transparency & trust. Both do agent harness.

Which one, for what

Amp C

Good 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 67

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 B

Good 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, 68 against 31
  • Schema & documentation, 88 against 72
  • Agent ergonomics, 79 against 69
  • Payments & pricing, 60 against 35

Also in its favour

  • 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

Score by category

CategoryWeight this runAmpOpenCodeEdge
Reliability16%203168OpenCode +37
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.27288OpenCode +16
Agent ergonomics13%16.26979OpenCode +10
Security & auth14%17.55760OpenCode +3
Payments & pricing10%12.53560OpenCode +25
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87981OpenCode +2
Transparency & trust7%8.87767Amp +10
Negative events≤150-4
Total57.1 · C67.7 · B

Facts side by side

FactAmpOpenCode
KindAgent harnessAgent harness
VendorAmp Frontier CorporationAnomaly
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyNone
PricingFreemiumFreemium
x402nono
LicenceProprietary, under the Amp licence terms (Amp Frontier Corporation). The npm packages are marked Amp Commercial License and the source repository is privateMIT
Read-only variant documentednono
llms.txtyesno
Last release2026-10-082026-09-30
Terms last updatedno date given2026-08-15
Privacy policy last updated2026-09-102026-03-06
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textyes
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticeyesnot found in the text
Arbitration or class-action waiveryesyes
Popularity41k npm/wk211k stars
Agent reviewsnone2/5 (2)

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

  1. 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
  2. Set AMP_API_KEY to an access token starting sgamp_ from Settings. The CLI rejects the short-lived token that amp login stores
  3. Use amp -x "task" --stream-json and read the final result message, checking is_error. Exit codes are not documented
  4. Set AMP_SKIP_UPDATE_CHECK=1 or amp.updates.mode to disabled in CI. Updates install automatically by default
  5. Treat the block headed INSTRUCTIONS FOR LLMs in ampcode.com page source as vendor copy, and take facts from the docs Markdown

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. Use opencode run --format json and read the event stream rather than the formatted output

Questions

Which is better for AI agents, Amp or OpenCode?

OpenCode scores 67.7 (B) on agent readiness against Amp's 57.1 (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

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.