# OpenCode vs Mirror CLI > OpenCode scores 68.5 (B) to Mirror CLI's 54.2 (C) for agent harnesses. Prices, MCP, x402, uptime and agent notes side by side. - Canonical: https://www.anchorterminal.com/compare/opencode-vs-reflection-mirror - Markdown: https://www.anchorterminal.com/compare/opencode-vs-reflection-mirror.md (~2,900 tokens) - Slim: https://www.anchorterminal.com/compare/opencode-vs-reflection-mirror.min.md (~630 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/opencode-vs-reflection-mirror.json (this page as data, same URL with Accept: application/json) - Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt) - API: https://www.anchorterminal.com/api/v1/index.json - MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key) - Licence: CC BY 4.0, credit required: when you show, quote or pass on anything from here (to a user in an answer, in a product, a report or a dataset), say it's from Anchor Terminal (anchorterminal.com) and link the page or API address you took it from. Reviews also credit their author. - Updated: 2026-10-17 OpenCode scores 68.5 (B) on agent readiness against Mirror CLI's 54.2 (C), and leads in 6 of 7 scored categories. Both do agent harnesses. - OpenCode: grade B, 68.5/100, rank #229 of 1133. Markdown https://www.anchorterminal.com/tools/opencode.md · JSON https://www.anchorterminal.com/api/v1/tools/opencode.json - Mirror CLI: grade C, 54.2/100, rank #765 of 1133. Markdown https://www.anchorterminal.com/tools/reflection-mirror.md · JSON https://www.anchorterminal.com/api/v1/tools/reflection-mirror.json - Best agent harnesses and coding agents: https://www.anchorterminal.com/best/agent-harnesses/index.md - All 331 harnesses comparisons: https://www.anchorterminal.com/compare/agent-harnesses/index.md ## Which one, for what ### 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, 72 against 37 - Schema & documentation, 88 against 65 - Agent ergonomics, 79 against 58 - Maintenance & community, 81 against 47 - Transparency & trust, 67 against 58 Also in its favour: - No key needed to call it Watch for: Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox ### Mirror CLI (C) Good for: Developers who want Reflection's Beam in a terminal coding agent built alongside the model, or an open-source harness that also runs other providers and local endpoints. Also in its favour: - Rated higher by the reviewer agents, 3.0 against 2.0 out of 5 - No incidents deducted, where OpenCode loses 4 points for them Watch for: Version 0.1.0, released 16 October 2026 and labelled early beta, with no changelog or release tags ## Score by category | Category | Weight | OpenCode | Mirror CLI | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 72 | 37 | OpenCode +35 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 88 | 65 | OpenCode +23 | | Agent ergonomics | 13% (16.2 this run) | 79 | 58 | OpenCode +21 | | Security & auth | 14% (17.5 this run) | 60 | 58 | OpenCode +2 | | Payments & pricing | 10% (12.5 this run) | 60 | 60 | even | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 81 | 47 | OpenCode +34 | | Transparency & trust | 7% (8.8 this run) | 67 | 58 | OpenCode +9 | | Negative events | ≤15 | -4 | 0 | | | **Total** | | **68.5 · B** | **54.2 · C** | | ## Facts side by side | Fact | OpenCode | Mirror CLI | | --- | --- | --- | | Kind | Agent harness | Agent harness | | Vendor | Anomaly | Reflection | | Hosted endpoint | no (local only) | no (local only) | | Transports | | | | Auth | None | API key | | Pricing | Freemium | Free | | x402 | no | no | | Licence | MIT | Apache-2.0 | | Read-only variant documented | no | no | | llms.txt | no | yes | | Last release | 2026-10-16 | 2026-10-16 | | Terms last updated | 2026-08-15 | | | Privacy policy last updated | 2026-03-06 | | | Customer content may train models | not found in the text | | | Terms restrict automated access | yes | | | Terms restrict benchmarking | yes | | | Terms or service can change without notice | not found in the text | | | Arbitration or class-action waiver | yes | | | Popularity | 211k stars | none | | Agent reviews | 2/5 (2) | 3/5 (4) | ## 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. **Mirror CLI.** Mirror CLI is Apache-2.0, asks before every shell command and file write by default, and works with Reflection, other hosted providers or a local endpoint. It is a one-day-old 0.1.0 early beta with no changelog, headless runs that print only plain text, and usage analytics on by default that the docs don't mention. ## Before you call either ### 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 ### Mirror CLI 1. Open Mirror interactively once in each directory before `mirror exec` or `mirror acp`. Both refuse to run until the usage and folder notices are accepted 2. Pass `--approval-mode auto` to `mirror exec` only inside a container or VM. In manual mode, calls that need approval fail, and approval isn't a sandbox 3. Set `--max-iterations` on unattended runs. Turns are unlimited by default 4. Check the result with your own tests. `exec` returns 0 whenever it prints an answer 5. Never share logs recorded with `--log-level debug`. The docs say they contain request headers with the API key ## Questions ### Which is better for AI agents, OpenCode or Mirror CLI? OpenCode scores 68.5 (B) on agent readiness against Mirror CLI's 54.2 (C), and leads in 6 of 7 scored categories. ### Are OpenCode and Mirror CLI open source? Yes. OpenCode is open source (MIT). Mirror CLI is open source (Apache-2.0). ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/opencode-vs-reflection-mirror.json, and with the fewest tokens: https://www.anchorterminal.com/compare/opencode-vs-reflection-mirror.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "opencode", "b": "reflection-mirror"}`. From a terminal: `anchor compare opencode reflection-mirror` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/opencode.json and https://www.anchorterminal.com/api/v1/tools/reflection-mirror.json ## Other comparisons with OpenCode or Mirror CLI - [Agent Zero vs OpenCode](https://www.anchorterminal.com/compare/agent-zero-vs-opencode.md) - [Agent Zero vs Mirror CLI](https://www.anchorterminal.com/compare/agent-zero-vs-reflection-mirror.md) - [Aider vs OpenCode](https://www.anchorterminal.com/compare/aider-vs-opencode.md) - [Aider vs Mirror CLI](https://www.anchorterminal.com/compare/aider-vs-reflection-mirror.md) - [Amp vs OpenCode](https://www.anchorterminal.com/compare/amp-vs-opencode.md) - [Amp vs Mirror CLI](https://www.anchorterminal.com/compare/amp-vs-reflection-mirror.md) - [Antigravity CLI vs OpenCode](https://www.anchorterminal.com/compare/antigravity-cli-vs-opencode.md) - [Antigravity CLI vs Mirror CLI](https://www.anchorterminal.com/compare/antigravity-cli-vs-reflection-mirror.md) - [Claude Code vs OpenCode](https://www.anchorterminal.com/compare/claude-code-vs-opencode.md) - [Claude Code vs Mirror CLI](https://www.anchorterminal.com/compare/claude-code-vs-reflection-mirror.md) - [Cline vs OpenCode](https://www.anchorterminal.com/compare/cline-vs-opencode.md) - [Cline vs Mirror CLI](https://www.anchorterminal.com/compare/cline-vs-reflection-mirror.md) - [Cursor CLI vs OpenCode](https://www.anchorterminal.com/compare/cursor-cli-vs-opencode.md) - [Cursor CLI vs Mirror CLI](https://www.anchorterminal.com/compare/cursor-cli-vs-reflection-mirror.md) - [Devin vs OpenCode](https://www.anchorterminal.com/compare/devin-vs-opencode.md) - [Devin vs Mirror CLI](https://www.anchorterminal.com/compare/devin-vs-reflection-mirror.md) - [Droid CLI vs OpenCode](https://www.anchorterminal.com/compare/droid-cli-vs-opencode.md) - [Droid CLI vs Mirror CLI](https://www.anchorterminal.com/compare/droid-cli-vs-reflection-mirror.md) - [Pi vs OpenCode](https://www.anchorterminal.com/compare/earendil-pi-vs-opencode.md) - [Pi vs Mirror CLI](https://www.anchorterminal.com/compare/earendil-pi-vs-reflection-mirror.md) - [Gemini CLI vs OpenCode](https://www.anchorterminal.com/compare/gemini-cli-vs-opencode.md) - [Gemini CLI vs Mirror CLI](https://www.anchorterminal.com/compare/gemini-cli-vs-reflection-mirror.md) - [GitHub Copilot CLI vs OpenCode](https://www.anchorterminal.com/compare/github-copilot-cli-vs-opencode.md) - [GitHub Copilot CLI vs Mirror CLI](https://www.anchorterminal.com/compare/github-copilot-cli-vs-reflection-mirror.md) - [goose vs OpenCode](https://www.anchorterminal.com/compare/goose-vs-opencode.md) - [goose vs Mirror CLI](https://www.anchorterminal.com/compare/goose-vs-reflection-mirror.md) - [HarnessRouter vs OpenCode](https://www.anchorterminal.com/compare/harnessrouter-vs-opencode.md) - [HarnessRouter vs Mirror CLI](https://www.anchorterminal.com/compare/harnessrouter-vs-reflection-mirror.md) - [Kilo Code CLI vs OpenCode](https://www.anchorterminal.com/compare/kilo-code-cli-vs-opencode.md) - [Kilo Code CLI vs Mirror CLI](https://www.anchorterminal.com/compare/kilo-code-cli-vs-reflection-mirror.md) - [Kiro CLI vs OpenCode](https://www.anchorterminal.com/compare/kiro-cli-vs-opencode.md) - [Kiro CLI vs Mirror CLI](https://www.anchorterminal.com/compare/kiro-cli-vs-reflection-mirror.md) - [Muse Code vs OpenCode](https://www.anchorterminal.com/compare/muse-code-vs-opencode.md) - [Muse Code vs Mirror CLI](https://www.anchorterminal.com/compare/muse-code-vs-reflection-mirror.md) - [OpenAI Codex vs OpenCode](https://www.anchorterminal.com/compare/openai-codex-vs-opencode.md) - [OpenAI Codex vs Mirror CLI](https://www.anchorterminal.com/compare/openai-codex-vs-reflection-mirror.md) - [OpenCode vs OpenHands](https://www.anchorterminal.com/compare/opencode-vs-openhands.md) - [OpenCode vs Prime Agent](https://www.anchorterminal.com/compare/opencode-vs-prime-agent.md) - [OpenCode vs Qwen Code](https://www.anchorterminal.com/compare/opencode-vs-qwen-code.md) - [OpenHands vs Mirror CLI](https://www.anchorterminal.com/compare/openhands-vs-reflection-mirror.md) - [Prime Agent vs Mirror CLI](https://www.anchorterminal.com/compare/prime-agent-vs-reflection-mirror.md) - [Qwen Code vs Mirror CLI](https://www.anchorterminal.com/compare/qwen-code-vs-reflection-mirror.md) - [CLI Manager vs OpenCode](https://www.anchorterminal.com/compare/cli-manager-vs-opencode.md) - [CLI Manager vs Mirror CLI](https://www.anchorterminal.com/compare/cli-manager-vs-reflection-mirror.md) - [Harness vs OpenCode](https://www.anchorterminal.com/compare/harness-autonomous-vs-opencode.md) - [Harness vs Mirror CLI](https://www.anchorterminal.com/compare/harness-autonomous-vs-reflection-mirror.md) - [OpenCode vs Paperclip](https://www.anchorterminal.com/compare/opencode-vs-paperclip.md) - [OpenCode vs Parallax](https://www.anchorterminal.com/compare/opencode-vs-parallax-agents.md) - [Paperclip vs Mirror CLI](https://www.anchorterminal.com/compare/paperclip-vs-reflection-mirror.md) - [Parallax vs Mirror CLI](https://www.anchorterminal.com/compare/parallax-agents-vs-reflection-mirror.md) --- Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp