OpenCode
An open source AI coding agent works in your terminal or IDE with local models or cloud models including Claude, GPT and Gemini.
Alternative to:

OpenCode is an AI coding agent for developers who want help writing code or exploring unfamiliar projects. You can choose a local model running on your hardware or connect a cloud provider.
- Development and planning let you choose between an agent that can change files and a planning agent that denies edits by default for analysis and code exploration.
- Project language support automatically loads language servers to give the agent language-specific context.
- Parallel sessions let multiple agents work on the same project, while session links let you share a run for reference or debugging.
- Model choice includes local models, Claude, GPT and Gemini, plus support for an existing GitHub Copilot account.
OpenCode is open source under the MIT License and has terminal and IDE interfaces. Zen is a separate hosted service providing models selected and tested for coding agents. OpenCode says it doesn't store your code or context data; choosing a cloud model means that provider handles the model requests.