OpenCode is fully open source, giving you control and freedom to use any provider, any model, and any editor.
Read docsWhat is OpenCode?
OpenCode is an open source agent that helps you write and run code directly from the terminal.
- [*]Native TUI A responsive, native, themeable terminal UI
- [*]LSP enabled Automatically loads the right LSPs for the LLM
- [*]Multi-session Start multiple agents in parallel on the same project
- [*]Share links Share a link to any session for reference or to debug
- [*]Claude Pro Log in with Anthropic to use your Claude Pro or Max account
- [*]Any model 75+ LLM providers through Models.dev, including local models
- [*]Any editor OpenCode runs in your terminal, pair it with any IDE
The open source AI coding agent
With over 26,000 GitHub stars, 188 contributors, and almost 3,000 commits, OpenCode is used and trusted by over 200,000 developers every month.
Built for privacy first
OpenCode does not store any of your code or context data, so that it can operate in privacy sensitive environments. Learn more about privacy.
FAQ
Zen gives you access to a handpicked set of AI models that OpenCode has tested and benchmarked specifically for coding agents. No need to worry about inconsistent performance and quality across providers, use validated models that work.

OpenCode will be available on desktop soon
Join the waitlist for early access.