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.3.0 as of November 13, 2026, with a parallel legacy 1.x line at v1.19.5. v2.2.0 (October 27, 2026) added experimental Desktop plugins and removed the OpenCode GitHub Action, and v2.3.0 runs subagents in the background by default, so the main session stays usable while several work at once. The GitHub repo has drawn over 227,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 paid options for those who don't want to manage their own API keys: OpenCode Console (previously called OpenCode Zen), a pay-as-you-go gateway to curated models billed per 1 million tokens against prepaid credits with optional auto-recharge, sold at cost apart from a processing fee of 4.6% + $0.31 on each credit purchase, with several models offered free for a limited time; OpenCode Go, a $10/month subscription (Go Plus at $40/month) giving access to curated low-cost open models with usage limits; and Go Teams at $20 per member per month (2-member minimum, so at least $40/month), with each member getting their own usage allowances on one company bill. 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 (Console 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.