Coding agent (CLI) · Anomaly
OpenCode
Open-source terminal coding agent with a TUI, desktop app and IDE extension. Works with many model providers, including local ones, and offers build/plan modes plus subagents and a headless server mode.
OpenCode review
OpenCode is a free, open-source terminal coding agent for macOS, Windows and Linux. The code is MIT-licensed, and you pay only for the models you connect. We read the vendor's pages and repository in October 2026. We did not run an independent test.
Who it is for
Developers who want an open-source CLI coding agent they can point at any model provider, including local models. It suits people who value choice of provider over a single vendor's stack.
What stands out
OpenCode runs as a terminal UI, a desktop app and an IDE extension. It ships a read-only plan agent and a build agent, plus a general subagent for parallel multistep work.
Model choice is wide. The homepage lists 75+ providers through Models.dev. Local models work through Ollama, LM Studio and llama.cpp base URLs. You can also sign in with GitHub Copilot or ChatGPT Plus/Pro. The homepage says some free models need no account.
For scripts, opencode run is the non-interactive command, and serve and attach give a headless server mode. MCP servers can be local or remote. Install is a curl script, npm or Homebrew.
Price and licence
The licence is MIT, and we read the LICENSE file in the repository. That is open source in the usual sense.
The tool costs nothing. Model cost depends on what you connect. Your own API keys or local models carry no OpenCode fee. Copilot or ChatGPT logins use those plans.
There are two paid routes from the vendor. Zen is a pay-as-you-go gateway, billed per request with no markup. The Go subscription is listed at $10 a month, and Go Plus at $40, with rolling request limits. We did not confirm those limits or per-model prices. Seen 28 October 2026.
Where it falls short
- The docs describe an allow, ask or deny permission system, not an OS-level sandbox. Bash is not restricted in plan mode.
- Two major lines run in parallel. v1 uses the opencode-ai package and docs at /docs. v2 uses @opencode/cli and docs at /v2/docs. Their install commands differ, and the default command cannot hold both.
- The README marks the desktop app as beta. The docs recommend WSL for the best Windows experience.
- GitHub showed about 3,870 open issues on 28 October 2026.
- We found nothing in the docs on git worktrees or SSH use.
Alternatives
For the wider field, see terminal coding agents. Codex CLI is also open source under Apache-2.0, but its official docs name only OpenAI models. Claude Code is closed source and Claude-only.
Facts: platforms, price and licence
- platforms
- macOSWindowsLinuxTerminal UI plus a desktop app (marked BETA in the README: macOS Apple Silicon/Intel, Windows x64, Linux deb/rpm/AppImage). The docs recommend WSL for the best Windows experience; native options exist via choco, scoop, npm and Docker. Two major lines are published: v1 (opencode-ai package, docs at /docs) and v2 (@opencode/cli, docs at /v2/docs).
- price
- FreeThe tool is free and MIT-licensed (seen 2026-10-28). Model cost comes from whichever provider you connect: your own API keys/local models (no OpenCode fee), GitHub Copilot or ChatGPT Plus/Pro logins, the vendor's Zen pay-as-you-go gateway (per-request, no markup; $20 balance + $1.23 card fee shown), or the Go subscription ($10/month, Go Plus $40/month, with rolling request limits). Homepage also says free models are included with no account.
- source
- Open sourceLicence: MIT
- github
- anomalyco/opencode 222.3k stars, seen 2026-10-28
OpenCode features
- ✓ yes MCP
- ✓ yes Multi-agent
- ✓ yes Headless / CI
- ? not verified Sandbox
- ✓ yes Local models
- ✓ yes Your own API key
- ? not verified Git worktrees
- ? not verified SSH
✓ documented · – absent or not in its feature list · ? not verified
OpenCode strengths
- MIT-licensed with an actively pushed repo (last push 2026-10-27, v2.2.0 released the day before)
- Provider-agnostic: 75+ providers, documented Ollama, LM Studio and llama.cpp setup, and logins via GitHub Copilot or ChatGPT Plus/Pro
- Documented non-interactive run, headless serve, and attach commands, plus local and remote MCP servers
- Built-in plan (read-only) and build agents, with a general subagent for parallel multistep work
OpenCode weak points
- Docs only describe a permission system (allow/ask/deny), not an OS-level sandbox; bash is not restricted in plan mode
- Two parallel major versions (v1 and v2) with different package names and install commands; they cannot be installed side by side under the default command
- Desktop app is labelled BETA and Windows guidance leans on WSL
- Large issue backlog (about 3,870 open issues on GitHub as of 2026-10-28)
Who OpenCode is for
- best for
- Developers who want an open-source terminal agent they can point at any model provider, including local models.
- look elsewhere if
- Teams that need a documented OS-level sandbox or a single vendor-supported model stack.
Compare OpenCode
Lists that include OpenCode
Sources and what we could not verify
Checked 2026-10-28. Prices and features change; the vendor's page is the authority.
- opencode.ai — install script, platforms (terminal/desktop/IDE/web), 75+ providers, free to use, MIT, parallel agents
- api.github.com/repos/anomalyco/opencode — stars, license (MIT), pushed_at, not archived; repo renamed from sst/opencode (redirect)
- github.com/anomalyco/opencode/blob/dev/LICENSE — source: MIT License text
- github.com/anomalyco/opencode — README install commands (v2), desktop app BETA and download table, build/plan/general agents
- opencode.ai/docs — v1 install commands, Windows WSL recommendation, choco/scoop
- opencode.ai/docs/providers — local models via Ollama/LM Studio/llama.cpp, Zen, Go, Copilot and ChatGPT logins
- opencode.ai/docs/cli — headless: opencode run, serve, attach
- opencode.ai/docs/mcp-servers — MCP local and remote
- opencode.ai/docs/agents — subagents, @mention, parallel work, permission keys
- opencode.ai/docs/permissions — permissions only, no sandbox documented
- opencode.ai/zen — Zen pay-as-you-go pricing
- opencode.ai/go — Go $10/month, Go Plus $40/month
Not verified
- sandbox: docs show only a permission system; no statement either way about OS-level isolation, so left null
- ssh / git_worktrees / mobile_app / phone_remote: not found in fetched docs
- vendor name 'Anomaly' is inferred from the GitHub org anomalyco; not confirmed on an About page
- Go/Go Plus request limits and per-model prices were read from a summarised page; check before quoting numbers
- Install command: the README and homepage use the v2 script/package; opencode.ai/docs still shows v1 commands (opencode-ai, /install)