OpenCode: Open-source coding agent you can fully customize
An open-source coding agent for the terminal and editor that works with many models and can be modified or built on.
What OpenCode does
OpenCode is an open-source AI coding agent, similar in spirit to Claude Code, that runs in your terminal or editor and works with many model providers. Because the code is open, teams build their own harnesses on top of it.
Why it matters for marketing
For teams that want an agent they fully control and can customize, or want to avoid lock-in to one model vendor.
How to use OpenCode
- Run a coding agent on the model of your choice
- Build a custom agent harness on an open base
- Avoid single-vendor lock-in
What to watch out for
- Its separate cloud service was caught up in a security incident; the open-source CLI was not
- More setup than a polished commercial agent
OpenCode FAQ
What is OpenCode?
OpenCode is an open-source AI coding agent, similar in spirit to Claude Code, that runs in your terminal or editor and works with many model providers. Because the code is open, teams build their own harnesses on top of it.
What is OpenCode used for?
Run a coding agent on the model of your choice. Build a custom agent harness on an open base. Avoid single-vendor lock-in.
Is OpenCode free and open source?
Yes. The code is public on GitHub at anomalyco/opencode under the MIT license.
Who makes OpenCode?
OpenCode is published on GitHub by anomalyco. It is written mainly in TypeScript.
What tools are similar to OpenCode?
Other repos in the Coding agents category include T3 Code, ThinkRail, Ruflo.