The Open Source AI Coding Agent
Free models included — or bring your own. Desktop app, terminal, or IDE. Multi-session, LSP-powered, and built for real work.
Why Opencode?
Built for developers who care about control. 171K+ GitHub stars, 900+ contributors, 13K+ commits.
Model Agnostic
Bring your own model or use free built-in models. Zero lock-in. Whether it's Claude, GPT, or Gemini, Opencode adapts to your choice. 75+ providers supported through Models.dev.
Full Agency
Not just a chat. Opencode plans, edits files, runs terminal commands, validates work, and even debugs itself.
Zen Models
Free handpicked models optimized for coding agents. No setup, no API keys — just pure coding efficiency.
Multi-Session
Run multiple agents in parallel on the same project. Start, pause, and switch between concurrent coding sessions.
Desktop App
Full desktop experience for macOS, Windows, and Linux. Tabs, pinned sessions, diff viewer, and background agents.
Thriving Ecosystem
Power up your workflow with community plugins and MCP servers.