OpenCode
Open-source coding agent with a terminal UI, desktop app and IDE extension — works with almost any model provider or local models. MIT license.
OpenCode is an open-source (MIT) coding agent built by Anomaly, the team behind SST; the repository now lives at anomalyco/opencode. It is written in TypeScript with its own OpenTUI terminal interface, and is also available as a desktop app (beta), an IDE extension, a web UI and a GitHub/GitLab integration. Two built-in agents — build (full access) and plan (read-only) — are switched with Tab, plus subagents for side tasks. It connects to many providers through Models.dev, can sign in with GitHub Copilot or ChatGPT plans, and supports local models; LSP servers load automatically for code intelligence. Extensible with MCP servers, plugins, custom agents, skills and tools. Free with your own keys; optional paid hosted models (Zen, Go).
When to use
- You want an open-source, provider-agnostic alternative to Claude Code or Codex CLI
- You like a terminal-first workflow with a polished TUI
- You want plan/build agent switching — analyze before editing
When not to use
- You prefer a full IDE experience — the desktop app is still in beta
- You don't want to set up model providers yourself
- You need long-term stability of commands and config — the project changes very fast
At a glance
- Pricing
- Free
- Deployment
- Local
- Difficulty
- Intermediate
- License
- MIT
- Languages
- typescript
- Use cases
- agentic coding, code review, cli tool
- Last verified
- 2026-10-20 (official documentation)
Works well with
Alternatives in this category
See all 11 tools in AI Coding Agents — AI-Powered Coding Tools →