An open-source, terminal-native coding agent that runs Claude, GPT, and local models with full tool use and a TUI.
OpenCode is a community-driven coding agent that lives in your terminal and works with any model โ Anthropic, OpenAI, Google, or a local Ollama instance. Unlike editors that pin you to a single provider, OpenCode gives you a unified agent loop, diff view, and tool calling across providers, all from a fast TUI you can drop into any repo.
Who it's for: Developers who want a portable, model-agnostic coding agent they can self-host and extend without vendor lock-in.
Runs in any shell with a snappy TUI โ no IDE required.
Point it at Claude, GPT, Gemini, or a local model via one config.
File edits, shell, search, and multi-step agent loops built in.
Auditable, free, and extensible under a permissive license.
If you want a coding agent you actually own, OpenCode is the most flexible terminal option in 2026. Pair it with Claude or a local model and you get Cursor-grade autonomy without the subscription.