Code with the models and workflow you choose.
An open-source AI coding agent for your terminal, IDE, or desktop. Choose the models you trust and work across sessions in parallel.
$ opencode
Install in your terminal
curl -fsSL https://opencode.ai/install | bash
Open-source AI coding agent
A deliberate workflow
OpenCode makes it practical to keep research, implementation, and review in focused sessions without giving up project context.
$ opencode
Install in your terminal
curl -fsSL https://opencode.ai/install | bash
Try it on a real task
Ask separate sessions to implement and critique two designs, then review the trade-offs before choosing one.
Use code-aware questions to trace a feature from route to service before making your first change.
Give an agent a failing test or error, inspect its reasoning, and turn the final session into your debugging notes.
Start with the terminal, connect the models you use, and build a practice you can inspect at every step.