OpenCode
ActiveDescription
OpenCode is an open-source terminal coding agent that supports multiple LLM providers, offering AI-powered code generation and editing in the terminal.
Key Features
- Terminal TUI interface - Interactive terminal-based coding UI with multiline editing and streaming output
- Dual agent mode - Built-in build (full-access dev) and plan (read-only analysis) agents, switch with Tab
- Multi-LLM provider - Supports Anthropic, OpenAI, Google, and more with flexible configuration
- Desktop app (Beta) - Native desktop clients for macOS, Windows, and Linux
- Subagent collaboration - Built-in general subagent for complex searches and multistep tasks
- Wide package manager support - npm, brew, scoop, pacman, nix, mise, and 10+ install methods
Use Cases
Categories
Quick Start
# One-line install
curl -fsSL https://opencode.ai/install | bash
# Or install via npm
npm i -g opencode-ai@latest
# Launch in your project directory
opencode
# Press Tab to switch between build and plan agents