OpenCode
An open-source AI coding agent for the terminal, with a desktop app in beta, that works with many model providers and switches between build and plan modes.
What is OpenCode?
OpenCode runs in your terminal next to your code and edits files, runs commands and answers questions about a codebase. It has two built-in agents you switch with the Tab key: build, which has full access for development work, and plan, a read-only mode that refuses file edits and asks before running shell commands, useful for exploring an unfamiliar project. A general subagent handles complex searches and multi-step tasks. It is not tied to one model vendor, and a desktop app for macOS, Windows and Linux is in beta.
Good fit if
- You want a terminal coding agent that is not locked to a single AI company.
- You like a read-only planning mode before letting an agent change code.
- You want an MIT-licensed agent you can inspect and extend.
Before you adopt it
OpenCode is MIT-licensed, and every feature in the repository is free. It moves very fast, with thousands of commits in the last three months, so expect frequent changes between versions.
Drafted with AI from the project's README and repository data, then checked against that data on 30 October 2026. Report a correction
OpenCode health: is it still maintained?
78 of 100, actively developed
Read from GitHub on 1 November 2026. How the score works
OpenCode license: is it open source?
OpenCode uses MIT, an open-source license approved by the OSI.
- April 2025First published on GitHub.
- TodayMIT.
How to run OpenCode yourself
- Docker
- Dockerfile or compose file in the repository
- Compose file
- None in the repository
- Setup effort
- Not rated: no compose file to judge from
- Kubernetes
- No Helm chart in the repository
- Desktop and mobile
- Builds for macOS, Windows, Linux, including ARM in GitHub releases
- Interface languages
- 58 languages
Install instructions: opencode.ai or the README on GitHub.
Alternatives to OpenCode
- Open InterpreterA coding agent for open models like Kimi K3 and GLM 5.3 81 health · Apache-2.0 · 68.8k stars
- Qwen CodeAn open-source AI coding agent that lives in your terminal. 80 health · Apache-2.0 · 28.9k stars
- ClineAutonomous coding agent as an SDK, IDE extension, or CLI assistant. 78 health · Apache-2.0 · 71.1k stars
- OrcaOrca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with… 77 health · MIT · 112k stars
- Kilo CodeKilo is the all-in-one agentic engineering platform. Build, ship, and iterate faster with the most popular… 76 health · MIT · 27.8k stars
Questions about OpenCode
Is OpenCode open source?
Yes. OpenCode is published under MIT, an OSI-approved open-source license.
Is OpenCode still maintained?
Its health score is 78 of 100 (actively developed). It had 5,455 commits in the last 90 days, the latest on 1 November 2026, and its latest release came out on 28 October 2026.
How do I run OpenCode?
You can run it with Docker, as an app for macOS, Windows, Linux, including ARM. The README on GitHub has the exact steps.
What are the alternatives to OpenCode?
Close alternatives in the AI coding agents category include Open Interpreter, Qwen Code, Cline.