OpenCode The Open Source AI Coding Agent

Sources: OpenCode official website / GitHub repository · Updated Feb 2026
Download OpenCode
Free & open source • Terminal, Desktop app, and IDE extension
Latest Updates
Updated: 2026-02-04
OpenCode is an open source agent that helps you write code in your terminal, IDE, or desktop with free models included or connect any provider.
With over 95,000 GitHub stars, 650 contributors, and 2.5M monthly active developers.
LSP enabled with automatic language detection, multi-session support, and shareable session links.
Terminal Interface
Powerful terminal-based AI coding experience for developers who love CLI.
Desktop App
Native desktop application for macOS, Windows, and Linux.
IDE Extension
Seamless integration with your favorite IDE and editor.
75+ Model Providers
Use Claude, GPT, Gemini, or any provider through Models.dev.
Privacy First
No code storage means your work stays private and secure.
LSP Enabled
Automatic language detection and LSP support for accurate code understanding.

Terminal-Native Development
Code directly in your terminal with AI assistance without leaving the CLI.

Codebase Exploration
Navigate and understand large codebases with agentic AI assistance.

Multi-Model Flexibility
Switch between Claude, GPT, Gemini, or local models based on your needs.

Privacy-Sensitive Projects
Work on confidential codebases with zero code storage guarantee.
Sources: OpenCode official website · Updated Feb 2026
Open source advantage
Full MIT license with 97K+ GitHub stars and active community.
Model flexibility
Switch between any provider including local models.
Privacy guaranteed
Zero code storage for privacy-sensitive development.
OpenCode does not store any of your code or context data, making it ideal for privacy-sensitive environments and enterprise deployments.
Self-host capabilities, extensive documentation, and MIT licensing give teams full control over their AI coding infrastructure.
Zero Code Storage
Your code never leaves your environment unless you choose to share.
Self-Host Ready
Deploy on your own infrastructure with full control.
LSP Support
Automatic language detection for accurate code understanding.
Team Collaboration
Share sessions and collaborate with team members.
The open source AI coding agent. Free models included or connect any model from any provider.
View on GitHub650+ contributors from around the world building the future of open source AI coding.
View on GitHub2.5M+ developers use OpenCode every month. Join the open source AI coding revolution.
View on GitHubCommunity-driven development
OpenCode's success comes from its vibrant open source community with 650+ contributors continuously improving the codebase.
Updated Feb 2026
Ready to code with AI?
Join 2.5M+ developers using the open source AI coding agent.