What is OpenCode?
OpenCode is an open-source, model-agnostic AI coding agent designed to help you write and run code with any AI model. It’s available as a terminal-based interface (TUI), desktop application, or IDE extension.
Key Features
- Model Agnostic: Use Anthropic, OpenAI, Google, or 75+ LLM providers through Models.dev, including local models.
- Multiple Interfaces: Available as terminal TUI, desktop app, or IDE extension.
- Built-in Models: Use OpenCode Zen for curated, optimized AI models specifically tested for coding agents.
- GitHub Copilot Integration: Use your GitHub Copilot account directly.
- ChatGPT Plus/Pro Integration: Use your ChatGPT Plus or Pro subscription.
- Multi-Session Support: Run multiple agents in parallel within the same project.
- Share Links: Share any session link for reference or debugging.
- LSP Support: Automatically loads appropriate LSP for the LLM.
- Full Agency: Capable of reading files, editing code, running commands, and validating fixes.
- Privacy First: Your code stays on your machine. We don’t store your code or context data.
Community & Impact
OpenCode is trusted by millions of developers worldwide:
- 126,000+ GitHub Stars
- 800+ Contributors
- 5M+ Monthly Active Developers
- 10,000+ Commits
Getting Started
Ready to dive in? Check out the Quick Start guide to install OpenCode in under 5 minutes.