The AI coding agent built for the terminal
OpenCode is fully open source, giving you control and freedom to use any provider, any model, and any editor.
What 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
The open source AI coding agent
GitHub Stars
Contributors
Monthly Devs
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 about privacy
FAQ
Access reliable optimized models for coding agents
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.
Learn about ZenOpenCode will be available on desktop soon
Join the waitlist for early access.