Open-source coding agent for the terminal, any provider.
A terminal-first agent with Plan and Build modes, LSP diagnostics and MCP support. Bring your own provider, such as Anthropic, OpenAI or Google, and pay only for what you use.
Works with
Key info
- Pricing
- Open source
- Platform
- macOS · Windows · Linux
- Category
- CLIs
- Best for
- Intermediate
- Free plan
- Free and open source; bring your own provider
- Paid plans from
- Optional: OpenCode Zen models from $10 a month
- Install
- curl -fsSL https://opencode.ai/install | bash
- Models
- 75+ providers, including OpenAI, Google and open models
- Your own API key
- Yes
- Local models
- Yes, through Ollama
- Good for
- One terminal agent that is not tied to a single model company
Related reading
- Fundamentals
Reviewing code you did not write
You are going to merge a lot of code you did not type. Reviewing it is a different skill from writing it, and it is the one that actually keeps a vibe-coded…
Intermediate - Context engineering
Why your AI keeps forgetting what you told it
Models have a context window, a fixed budget of text they can consider at once. Everything competes for it: your instructions, the files you opened, the erro…
Intermediate