Introduction
OpenCode is an open-source AI coding agent with 140,000+ GitHub stars — one of the fastest-growing developer tools of 2025–2026. TUI-first design, built-in LSP support, two agents (build with full permissions, plan read-only), and support for Claude, OpenAI, Google, and local models. Ideal for developers who want a fully open, vendor-neutral AI coding tool.
OpenCode — Open-Source AI Coding Agent
Core Advantages
- No vendor lock-in — Claude, GPT-4, Gemini, Llama, or any other model
- Terminal-native — carefully designed TUI interface
- LSP integration — genuine language understanding
- Client/server architecture — remote development support
- Desktop app — macOS, Windows, Linux
Two Built-In Agents
| Agent | Permissions | Purpose |
|---|---|---|
| build | Full read/write/execute | Develop features, fix bugs, run tests |
| plan | Read-only analysis | Understand code, plan architecture, review |
FAQ
Q: What is OpenCode? A: A free, open-source terminal AI coding agent supporting 75+ LLM providers. MIT licensed.
Q: How does it compare to Claude Code? A: OpenCode is fully open source and vendor-neutral; Claude Code is Anthropic-only. OpenCode also offers a TUI design and remote development.