
The open-source AI coding agent for the terminal, IDE, and desktop.
OpenCode is an open-source AI coding agent that helps developers write, debug, and modify code from the terminal, IDE, or desktop. It supports free included models or connecting models from many providers, including Claude, GPT, Gemini, GitHub Copilot, and local models. OpenCode includes features such as LSP support, multi-session workflows, shareable sessions, model flexibility, and privacy-focused operation where code and context are not stored by OpenCode. It is a strong open-source alternative to Claude Code for developers who want a provider-agnostic coding agent.