OpenCode is an open-source AI coding agent built by Anomaly that runs primarily in the terminal but is also available as an IDE extension and a beta desktop app on macOS, Windows, and Linux. Its standout feature is privacy-first design: OpenCode does not store any of your code, prompts, or context data, making it suitable for regulated environments and air-gapped workflows.
The agent supports 75+ LLM providers through the Models.dev catalog including Claude, OpenAI GPT, Google Gemini, GitHub Copilot, ChatGPT Plus/Pro accounts, and local models. It includes LSP integration for accurate code understanding, multi-session capability for running parallel agents on the same project, and shareable session links for debugging and team review.
OpenCode is fully free and open-source under MIT, with an optional paid "Zen" service for optimized models. Source is at github.com/anomalyco/opencode (147K+ stars, 6.5M monthly developers as of April 2026). It hit #1 on Hacker News on March 20, 2026, and crossed Cline + OpenHands in star velocity earlier in the year.
Free trial available
Terminal-first developers who want a privacy-respecting, provider-agnostic coding agent with multi-session support
Integrate with Respan to enhance AI workflows and optimize deployments.
Top companies in Coding Agents you can use instead of Open Code.
Companies from adjacent layers in the AI stack that work well with Open Code.
Last verified: April 29, 2026