Open source AI coding agent for terminal, desktop, and IDE that works with 75+ model providers, including local models
OpenCode is an open source AI coding agent you can run in your terminal, as a desktop app, or as an IDE extension. You describe a task, and it plans and edits code with the model you pick. It connects to 75+ LLM providers through Models.dev, including local models. You can also sign in with an existing GitHub Copilot or ChatGPT Plus/Pro account. If you want to choose your own models, keep your code private, and work mostly in the terminal, OpenCode is free and you pay only for model usage.
/share command creates a link to a conversation that you can use for reference or debugging. Sessions are private unless you share them.AGENTS.md file holds your project rules.OpenCode is an open source AI coding agent. It helps you write, edit, and plan code in your terminal, a desktop app, or your IDE.
OpenCode is free to install and use, and free models are available. You may pay extra for API usage, OpenCode Zen credits, or subscriptions such as OpenCode Go.
No. You can start with available free models or connect API keys from more than 75 supported AI providers. OpenCode also supports eligible ChatGPT Plus/Pro and GitHub Copilot accounts, subject to provider terms and model availability.
No. OpenCode runs as a terminal UI, a desktop app, and an IDE extension. It also integrates with GitHub and GitLab.
No. OpenCode says it doesn't store any of your code or context data. Zen models are hosted in the US, and their providers follow a zero-retention policy and don't train on your data, with some exceptions listed in the docs.
Yes. OpenCode supports local models along with cloud providers like Anthropic, OpenAI, and Google.
0 out of 5 stars
Based on 0 reviews
5 star reviews
4 star reviews
3 star reviews
2 star reviews
1 star reviews
If you've used this tool, share your thoughts with other users
Open source AI coding agent that works with any model
Open-source AI coding assistant for your IDE
AI coding agent that works in your terminal
Your Autonomous AI Coding Partner
AI coding agent that handles dev tasks end-to-end.
Open-source AI coding agent for VS Code and JetBrains
Visual workspace for AI coding agents
The AI code editor for your next project.
Build AI apps visually without coding — enterprise‑ready and model‑agnostic.