OpenCode is an open-source coding agent built by Anomaly, published under MIT license at github.com/anomalyco/opencode (the project was previously hosted at sst/opencode). The current implementation is written in TypeScript. Unlike earlier terminal-only tools in this space, OpenCode is available as a terminal interface, a desktop app, and an IDE extension.
The project is actively maintained and versioned: OpenCode 2 is the current line, at v2.0.32 as of October 16, 2026, with a parallel legacy 1.x line at v1.19.3. The GitHub repo has drawn over 208,000 stars and 950+ contributors across 13,000+ commits, and Anomaly states OpenCode is used by over 16 million developers every month.
OpenCode connects to 75+ LLM providers through Models.dev, including Claude, GPT, Gemini, and more, as well as local models. Instead of managing API keys, you can also log in with a GitHub Copilot account or a ChatGPT Plus/Pro subscription. The tool supports running multiple agent sessions in parallel on the same project. It integrates LSP (Language Server Protocol) for real-time diagnostics and code intelligence. Anomaly states that OpenCode does not store any of your code or context data. Note that session sharing has been discontinued: share links stopped working and the /share command was removed from the current build, though the marketing site still references it.
The OpenCode agent itself is free and open source β you pay only for the LLM API calls you make to your chosen provider, or nothing if you run local models. Anomaly also offers two paid options for those who don't want to manage their own API keys: OpenCode Zen, a pay-as-you-go gateway to curated models billed per 1 million tokens at zero markup against a prepaid balance (starting at $20, with auto top-up at $5), with several models offered free; and OpenCode Go, a $10/month subscription (Go Plus at $40/month) giving access to curated low-cost open models with usage limits. A separate Enterprise tier is available by contacting sales, with terms not published.
Limitations: Anomaly disclosed a security incident on October 17, 2026, describing a large-scale distillation attack that affected roughly 1.4% of OpenCode Console users, who were notified by email. Some previously advertised details, such as a SQLite-backed client/server session persistence layer, could not be confirmed on the current build and are not included here. As with any agent, result quality depends heavily on which LLM you configure.
OpenCode suits developers who want a free, open-source, provider-agnostic coding agent that isn't locked into a single interface or vendor, with optional paid gateways (Zen or Go) for those who'd rather not handle their own API keys.
Leave a Review
Reviews are published after moderation. We don't share your email.