OpenCode is an open-source, MIT-licensed AI coding agent that runs in the terminal, a desktop app, VS Code-style editors, and GitHub workflows. The software itself is free; you pay only for the models you use, through your own API keys or by running local models at low marginal cost. It is model-agnostic by design, connecting to many providers, and local models keep code entirely on the machine, which matters for compliance-constrained teams. Its Plan and Build mode separation gives read-only analysis before write access is granted.
ai-agentopen-sourceterminal
Overview
- Founded
- 2024
- Pricing tier
- Low
- Startup-friendly
- Yes
- Enterprise-ready
- No
AI coding tool
- Tool type
- Agent
- Free tier
- Yes: Free open-source software; you pay only your own model usage
- Open-source
- Yes
- Self-hostable
- Yes
- Model-agnostic
- Yes
- Local models
- Yes
- IDE integration
- Yes
