OpenCode is the open source AI coding agent built for the terminal. It features built-in agents (build, plan, general), LSP support, multi-provider LLM compatibility (75+ including Claude, GPT, Gemini, local), native TUI, multi-session, share links, and privacy-first design. No account needed, 35k+ stars.
OpenCode is a powerful, open-source AI coding agent designed specifically for the terminal, empowering developers to write, analyze, edit, and execute code with AI assistance directly from the command line. Unlike provider-locked tools, it supports over 75 LLM providers via Models.dev, including popular ones like Anthropic's Claude (with Pro/Max login), OpenAI's GPT, Google's Gemini, and even local models—ensuring flexibility as models evolve and costs drop.
curl -fsSL https://opencode.ai/install | bashSupports npm, brew, choco, scoop, paru, mise, nix, etc. Custom dirs via env vars.
35k+ GitHub stars, 350 contributors, ~5k commits, 400k monthly users. Latest releases Dec 2025 (v1.0.134). Active Discord/X community. Zen offers benchmarked coding models.
Docs: opencode.ai/docs. Contribute: CONTRIBUTING.md.