OpenCode is what you reach for when you love Claude Code's terminal-native, agentic workflow but not being tied to a single vendor's models. It's an open-source AI coding agent that runs in your terminal, editor or a desktop app, and it speaks to 75+ LLM providers — so you decide which model writes your code and what you pay.
The design is client/server, which means the same agent can drive a slick terminal UI, an IDE extension or a remote session, and you can bring your own API keys or point it at local models. Nothing about your workflow is locked to one company's cloud.
It's MIT-licensed and moving fast, with a large and active community. For developers who want Claude Code's shape — an agent that reads, edits and runs your project from the command line — without the lock-in, OpenCode is the leading open answer.
Use Anthropic, OpenAI, Google, local models and dozens more — swap the model behind the same agent anytime.
A fast TUI that reads, edits and runs your codebase from the command line, the way Claude Code does.
Drive the same agent from a terminal, an IDE extension or a remote session.
Point it at your own API keys or local models — your code and spend stay under your control.
A hands-on walkthrough of getting OpenCode up and running — follow along and you'll have it self-hosted in one sitting.
Yes — OpenCode is free and open source under the MIT license. You only pay for whichever LLM provider you connect, or nothing if you run a local model.
OpenCode is open source and provider-agnostic — it works with 75+ LLM providers and you bring your own key — while Claude Code is tied to Anthropic's models and platform.
It supports 75+ providers including Anthropic, OpenAI, Google and local models, so you can choose the right model per task.
Yes — its client/server design drives a terminal TUI, IDE extensions and remote sessions from the same agent.
Yes — you run it yourself and connect your own model providers, so nothing is locked to a hosted cloud.
Autonomous AI dev agents that plan and ship code end-to-end.
Terminal AI pair programmer that edits your codebase with any model.
Agentic AI coding assistant for VS Code with multi-file edits.
Claim OpenCode to add screenshots, respond to reviews and reach founders comparing tools — free to start.