OpenCode
freeopen sourceThe open source AI coding agent
OpenCode is an open-source terminal-based AI coding assistant built with Go. It runs in your shell and supports multiple AI providers including Claude, GPT-4, and local models via Ollama. Designed for developers who live in the terminal.
opencode.ai

Screenshot · opencode.ai
PricingFree
Price / month—
Free tierYes
Open sourceYes
Built onNative CLI (Go)
ReleasedMay 2025
Platforms
MacWindowsLinux
AI Models Supported
claudegpt-4geminilocalollama
Key Features
- →Open source AI coding agent
- →Free models included or connect any model from any provider
- →LSP enabled - automatically loads the right LSPs for the LLM
- →Multi-session - start multiple agents in parallel on the same project
- →Share links to any session for reference or to debug
- →GitHub Copilot integration - log in with GitHub to use your Copilot account