StackMap
Subscribe
Explore / opencode
anomalyco

opencode

The open-source terminal coding agent: TUI, desktop app and server, provider-agnostic across 75+ model providers including local models, with LSP integration and plugins.

224,805 30,324 TypeScript MITupdated today
View on GitHubDispute this mapping →
Curator's take

Use it if you want a Claude Code-class agent that isn't tied to one vendor: bring any provider or a local model, and script it through its client/server design. The large plugin and wrapper ecosystem around it is a plus. Skip it if you're happy on a single vendor's native CLI, which usually gets that vendor's newest features first. The desktop app is beta.

Mapped by ShipWithAI editors · links verified

Continue your stack

What teams reach for next — and why each earns a place beside opencode. Ranked by curator confidence.

pairs wellpairs wellpairs wellpairs wellalternativealternativeCodeNomadomnigentabtopopenqodexgoosejcodeopencode
pairs wellalternativebuilt withpick a node for the why · open it from the panel
Weekly digest
README.md1 min read

OpenCode logo

The open source AI coding agent.

Discord npm Build status

English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | Bosanski | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська | বাংলা | Ελληνικά | Tiếng Việt

OpenCode Terminal UI


Installation

# YOLO
curl -fsSL https://opencode.ai/v2/install | bash

# Package managers
npm i -g @opencode/cli@latest      # or bun/pnpm/yarn
brew install anomalyco/tap/opencode-v2 # macOS and Linux (recommended, always up to date)
brew install opencode              # macOS and Linux (official brew formula, updated less)
sudo pacman -S opencode            # Arch Linux (Stable)
paru -S opencode-beta              # Arch Linux (Latest from AUR)
mise use -g opencode               # Any OS
nix run github:anomalyco/opencode  # Nix

[!TIP] Remove versions older than 0.1.x before installing.

Desktop App (BETA)

OpenCode is also available as a desktop application. Download it from opencode.ai/download.

Platform Download
macOS (Apple Silicon) opencode-desktop-mac-arm64.dmg
macOS (Intel) opencode-desktop-mac-x64.dmg
Windows opencode-desktop-win-x64.exe
Linux .deb, .rpm, or .AppImage
# macOS (Homebrew)
brew install --cask opencode-desktop

Installation Directory

The install script installs OpenCode to $HOME/.opencode/bin.

Agents

OpenCode includes two built-in agents you can switch between with the Tab key.

  • build - Default, full-access agent for development work
  • plan - Read-only agent for analysis and code exploration
    • Denies file edits by default
    • Asks permission before running bash commands
    • Ideal for exploring unfamiliar codebases or planning changes

Also included is a general subagent for complex searches and multistep tasks. This is used internally and can be invoked using @general in messages.

Learn more about agents.

Documentation

For more info on how to configure OpenCode, [head over to our docs](https://opencode.ai/v