O
OpenCode
Open sourceDeveloper ToolsUpdated Sep 16, 2026
225,566 starsCompared with 369 other Developer Tools agentsOpen sourceUpdated Sep 2026
MIT license225,566 GitHub starsChecked Nov 9, 2026
What OpenCode does
OpenCode is an open-source AI coding agent. It runs on your machine and can be used from a desktop app, the terminal, a mobile app or an SDK, with models from more than 200 providers or a set of free models.
Who it's for: Developers who want an open-source coding agent in the terminal, a desktop app, the web or their own code.
Who it isn't for
- Windows package managers are not supported; Windows users download a standalone binary or the desktop app.
- The desktop app is labelled beta.
- Installing with mise needs mise 2026.10.9 or newer; older mise installs OpenCode 1.
Key features
- Two built-in agents: build (full access) and plan (read-only, asks before running bash commands)
- Runs multiple agents in parallel on the same project
- Connects local and remote MCP servers and supports plugins that hook into events
- Custom agents, SKILL.md agent skills and custom slash commands
- Permission controls and undo/redo of file and conversation changes
- Can use existing ChatGPT Plus or Pro or GitHub Copilot subscriptions
- Pricing
- Free to start with included free models and no account. OpenCode Go curated models from $10/month; existing subscriptions can also be used.
- Open source
- Yes (MIT)
Getting started (from the official docs)
- Remove any OpenCode version older than 0.1.x first.
- Install the CLI with
curl -fsSL https://opencode.ai/v2/install | bash, or withnpm install -g @opencode/cli, Homebrew or another listed package manager. - Connect a model provider from inside the TUI with
/connect, or use the bundled free models. - For the web interface, run
opencode pairand open the one-time link within five minutes.
Sources: github.com/anomalyco/opencode, opencode.ai, opencode.ai/docs · Checked Nov 9, 2026
Alternatives
See all Developer Tools alternatives to OpenCodeRelated AI Agents
Related reading
FAQs
- What is OpenCode?
- OpenCode is an open-source AI coding agent. It runs on your machine and can be used from a desktop app, the terminal, a mobile app or an SDK, with models from more than 200 providers or a set of free models.
- Who is OpenCode for?
- Developers who want an open-source coding agent in the terminal, a desktop app, the web or their own code.
- How much does OpenCode cost?
- Free to start with included free models and no account. OpenCode Go curated models from $10/month; existing subscriptions can also be used.
- Is OpenCode open source?
- Yes, under the MIT license.
Rate this agent
Loading...
Your rating:
Reviews
Loading reviews...
Write a review
Ready to try this agent?
OpenCode