OpenCode is an open source coding agent for desktop, terminal, mobile, or SDK use with many LLM providers and built-in development and read-only planning agents
Overview
OpenCode is an open source coding agent aimed at development work on your own machine. You can use it from a desktop application, a terminal interface, a mobile client, or scripts and CI through an SDK.
The product ships with built-in agents you can switch between, including a default full-access agent for development and a read-only plan agent that denies file edits by default and asks permission before bash commands. A general subagent supports complex searches and multistep tasks when invoked in messages.
OpenCode can connect models from many providers through Models.dev, including local models, and you can start with bundled free models or bring your own subscriptions. Desktop builds cover macOS, Windows, and Linux; the terminal UI installs via common package managers; mobile apps are offered for iPhone and Android.
Extensions include MCP server connections, custom agents with their own prompts and tools, plugins, agent skills defined in SKILL.md files, slash commands, and permission controls for automatic versus approved actions. Sessions support multiple parallel agents, built-in browser and diff views on desktop, and undo and redo for recent file and conversation changes.
Key features
- Desktop app with sessions and diffs
- Terminal UI for any shell
- Built-in build and plan agents
- 200+ LLM providers via Models.dev
- MCP server connections
- Custom agents and plugins
- Multi-session parallel agents
- Mobile session control
Use cases
- Interactive coding with AI agents
- Read-only codebase exploration
- Remote terminal coding sessions
- CI and script automation via SDK
Does the same job as
OpenCode doesn't name these products itself, but its own description shows it does the same job.