opencode
OpenCode is an MIT-licensed open-source AI coding agent for the terminal, with a beta desktop app, that works with many model providers instead of locking you to one. Install it with a one-line script, npm, Homebrew, pacman, mise or Nix, then let it read your repository, edit files and run commands from a keyboard-driven TUI.
Updated
✨ Try AgentScout's free AI image generator →Good for: writing code, coding in the terminal, controlling a computer, open-source agents
Use cases
About opencode
opencode is listed in our coding category and is aimed at builders. OpenCode is an MIT-licensed open-source AI coding agent for the terminal, with a beta desktop app, that works with many model providers instead of locking you to one. Install it with a one-line script, npm, Homebrew, pacman, mise or Nix, then let it read your repository, edit files and run commands from a keyboard-driven TUI. Pricing, as the maker states it: Free and open source (MIT); bring your own model provider.. Maturity: Active. We last checked the official link on 2026-11-30.
What is opencode?
OpenCode is an open-source AI coding agent. It runs in your terminal and is also available as a desktop app (in beta), and it works with many model providers rather than a single vendor.
It ships with two built-in agents you switch between with the Tab key: build, the default full-access agent for development work, and plan, a read-only agent for analysis and code exploration that asks permission before running bash commands. A general subagent handles complex searches and multistep tasks.
Sources: the official README and our directory listing, checked 2026-10-18. Official site: opencode.ai.
Who is opencode for?
Developers who want an open-source terminal coding agent they can point at the model provider of their choice, including people exploring unfamiliar codebases with the read-only plan agent.
opencode at a glance
- Open source: Yes (MIT License)
- GitHub: anomalyco/opencode · 223,180 stars (as of Oct 30, 2026)
Key features
- Terminal coding agent plus a desktop app (beta)
- Works with many model providers
- Built-in build (full access) and plan (read-only) agents, switched with Tab
- General subagent for complex searches and multistep tasks
opencode FAQ
What is opencode?
OpenCode is an open-source AI coding agent. It runs in your terminal and is also available as a desktop app (in beta), and it works with many model providers rather than a single vendor.
Who is opencode for?
Developers who want an open-source terminal coding agent they can point at the model provider of their choice, including people exploring unfamiliar codebases with the read-only plan agent.
Is opencode free?
opencode's pricing, as the maker states it: Free and open source (MIT); bring your own model provider.. Check the official site for current plans.
Is opencode open source?
Yes. opencode is released under the MIT License, according to its GitHub repository.
What are alternatives to opencode?
Similar tools include OpenAI Codex CLI, Cline, Kilo Code, dsh-TUI, Deep Code CLI and ZCode.
opencode ratings and reviews
Be the first to rate opencode: tap 1 to 5 stars below. A written review is optional.
opencode alternatives
Compare 10 opencode alternatives side by side →
Other coding tools in our directory. See all coding tools →
OpenAI Codex CLI
Codex CLI is OpenAI's Apache-2.0 coding agent that runs locally in your terminal, reading your repository, editing files and running commands, with standalone installers for macOS, Linux and Windows plus npm and Homebrew. The same agent is available as IDE extensions for VS Code, Cursor and Windsurf, a desktop app via codex app, and the cloud-based Codex Web in ChatGPT.
Cline
Cline is an Apache-2.0 open-source coding agent that runs as a VS Code extension, a JetBrains plugin, a macOS and Windows desktop app, a CLI (npm i -g cline, interactive or headless for CI) and an SDK for building your own agents. It creates and edits files, runs commands, browses the web and uses MCP tools with human-in-the-loop approval for each step, and works with the model provider of your choice.
Kilo Code
Kilo Code is an MIT-licensed AI coding agent for VS Code, JetBrains IDEs and the command line, with a cloud option. It plans, writes and edits code, runs terminal commands and works across files in several modes, and lets you pick from 500+ models through Kilo's gateway at provider prices with no markup, or bring your own keys and local models. Releases are frequent (v7.8.27 in November 2026); new feature work now targets its v2 branch.
dsh-TUI
dsh-TUI is an MIT-licensed interactive terminal interface for DeepSeek Harness (DSH), the open coding-agent harness. It adds a pixel-whale header, live work status, streaming model thinking, a context progress bar, a tokens-per-second gauge, split diff cards and double-Esc time rewind, plus a todo side panel and smooth mouse interaction. It installs from npm with one command, uses only DSH's public exports and leaves no patches behind when removed.
Deep Code CLI
Deep Code CLI is an MIT-licensed terminal coding assistant tuned for DeepSeek V4 models, with deep-thinking mode, reasoning-effort control, agent skills and MCP integration. You install it from npm, point it at the DeepSeek API or another base URL in a settings file it shares with the Deep Code VS Code extension, and run deepcode in any project.
ZCode
ZCode is Z.ai's open-source AI coding workspace and official harness for GLM-5.3, with a desktop app, web interface and terminal agent that run multiple agents on long goals, plus control from WeChat, Feishu or Telegram.