OpenCode provides an open source AI coding agent that ships with a full-access build agent and a read-only plan agent. It can be installed through multiple package managers or run as a beta desktop application on macOS, Windows, and Linux.
Project overview
It offers a dual-agent system that separates read-only codebase exploration from full-access development tasks.
Project type
AI Coding
Use cases
Coding & Development
Deployment
Refer to project documentation
License
MIT
Best for
Developers needing an open source AI coding agent with separate read-only planning and full-access development modes.
Key capabilities
Provides an AI-powered agent for development work.
A default, full-access agent for development work.
A read-only agent for analysis and code exploration that denies file edits and asks permission before running bash commands.
A subagent for complex searches and multistep tasks that can be invoked using @general.
Offers a desktop application for macOS, Windows, and Linux.
Limitations and risks
The desktop application is currently in BETA.
GPU, data boundary, cost dependency, and telemetry requirements are not documented.
Getting started
Installation is rated as easy, providing single-command installation scripts, availability via multiple standard package managers, and desktop applications with simple installers. The first success path is to install via a package manager (e.g., npm i -g opencode-ai@latest) and then run the 'opencode' command.