OpenCode
Open source AI coding agent with 160K+ GitHub stars, supporting 75+ LLM providers across terminal, desktop, and IDE interfaces.

Overview
OpenCode is an open source AI coding agent with over 160,000 GitHub stars, trusted by 7.5M+ developers monthly. It connects to 75+ AI providers—from Anthropic and OpenAI to local models via Ollama—giving you file editing, code generation, shell access, and project understanding through a single Go binary. Available as a terminal interface, desktop app, or IDE extension.
Key Features
- 75+ LLM Providers — Use Claude, GPT-4, Gemini, local models, or any OpenAI-compatible API
- Terminal + Desktop + IDE — Available as TUI, desktop app, or VS Code/JetBrains extension
- LSP Integration — Automatic language server support for code intelligence
- Multi-Session — Run multiple agents in parallel on the same project
- Share Links — Share conversation links for collaboration or debugging
- GitHub Copilot — Log in with GitHub to use your Copilot account
- Privacy First — Code stays local, no data stored on servers
- Custom Agents — Define specialized AI agents with markdown files
- MCP Support — Model Context Protocol for extensible tool integration
Who It's For
Developers who want maximum flexibility in choosing AI providers without vendor lock-in. Perfect for teams that need to switch between models, use local models for privacy, or want a truly open source alternative to proprietary coding assistants.
Pricing
Free and open source (MIT license). Optional paid plans for optimized models via Zen.
Links
- Website: opencode.ai
- GitHub: github.com/anomalyco/opencode
- Docs: opencode.ai/docs