
OpenCode is an open source AI coding agent that helps you write code in your terminal, IDE, or desktop app. Supports 75+ models including Claude, GPT, and Gemini, with free models included and privacy-first design.
OpenCode is an open source coding agent that runs in your terminal, IDE, or desktop app. It automatically loads LSPs, supports multi-session parallel work, and lets you share session links. Connect your GitHub Copilot, ChatGPT Plus/Pro, or use 75+ model providers through Models.dev, including local models. It doesn't store code or context data, making it suitable for privacy-sensitive environments.
Use OpenCode when: You need a privacy-first open source coding assistant, want to integrate existing AI subscriptions into your dev workflow, or prefer using multiple models in terminal/IDE.
Consider alternatives when: You need a fully managed cloud solution, prefer GUI over terminal, or require enterprise-grade support and SLA guarantees.