OpenCode
| OpenCode | |
|---|---|
| Developer | Anomaly |
| Written in | TypeScript and MDX |
| Operating system | Linux, macOS, Windows |
| Type | AI-assisted software development |
| License | MIT License |
| Website | opencode |
| Repository | github |
OpenCode is a free and open-source artificial intelligence coding agent developed by Anomaly. It connects large language models with software projects and development tools, allowing users to inspect, modify, optimize source code, run script commands, tests, and perform other programming tasks through natural-language instructions. OpenCode can be used through a terminal, desktop application, or integrated development environment (IDE), and supports models from more than 75 providers, including Anthropic, Google, and OpenAI, as well as locally hosted models.[1][2]
History
[edit]OpenCode is developed by Anomaly, the team behind the serverless development framework SST.[3] The active version of OpenCode is primarily written in TypeScript and uses Bun. It is distinct from an earlier Go-based project of the same name that was archived in September 2025.[4] In February 2026, Anthropic clarified that consumer Claude subscriptions could not be used through unauthorized third-party harnesses. OpenCode subsequently removed support for using Claude Pro and Max subscription credentials, while continuing to support access to models through other methods and providers.[5]
Features
[edit]OpenCode is model-agnostic, allowing users to select between different cloud-hosted and locally run language models without changing the coding-agent interface. It can connect to locally hosted language models with llama.cpp, LM Studio, and Ollama.[6] The software can read and edit files, execute shell commands, run tests, and use Language Server Protocol servers to receive information such as compiler and linter diagnostics. It also supports the Model Context Protocol for connecting external tools and services. OpenCode includes separate planning and building modes, with the planning mode restricting file modifications by default. In addition to its command-line interface, it has a desktop application, and extensions for development environments such as Cursor, VSCodium, VS Code, and Windsurf.[7][8] OpenCode can connect to model aggregation services such as OpenRouter, allowing users to access models from multiple artificial intelligence providers through a single API.[9]
Use
[edit]In 2026, Cloudflare used OpenCode with Anthropic's Claude while developing Vinext, an experimental implementation of much of the Next.js application programming interface using Vite. Cloudflare engineering director Steve Faulkner said the agent was used to plan the project's architecture and implement parts of the API against the existing Next.js test suite.[10]
See also
[edit]References
[edit]- ↑ De Simone, Sergio (February 5, 2026). "OpenCode: an Open-source AI Coding Agent Competing with Claude Code and Copilot". InfoQ. Retrieved August 15, 2026.
- ↑ Abdelaty, Khalid (July 28, 2026). "What Is OpenCode? The Open-Source AI Coding Agent Explained". DataCamp. Retrieved August 16, 2026.
- ↑ "About". SST. Anomaly Innovations. Retrieved August 16, 2026.
- ↑ "opencode-ai/opencode". GitHub. Retrieved August 16, 2026.
- ↑ Claburn, Thomas (February 20, 2026). "Anthropic: No, absolutely not, you may not use third-party harnesses with Claude subs". The Register. Retrieved August 15, 2026.
- ↑ "Providers". OpenCode. Anomaly. Retrieved August 16, 2026.
- ↑ "IDE". OpenCode. Anomaly. Retrieved August 16, 2026.
- ↑ "How to Install OpenCode: 13 Steps, 80 Min [2026]". Tech Insider. August 6, 2026. Retrieved August 16, 2026.
- ↑ "OpenCode Integration". OpenRouter. Retrieved August 16, 2026.
- ↑ Anderson, Tim (February 25, 2026). "Cloudflare experiment ports most of Next.js API 'in one week' with AI". The Register. Retrieved August 16, 2026.