Skip to content
  1. Home
  2. AI tools
  3. opencode

opencode

Open-source AI coding agent with a terminal UI and desktop app

What it is

A provider-agnostic coding agent that runs in the terminal, with an optional desktop build. It is distributed through an install script, npm, Homebrew and several Linux package managers. A fit for developers who want an open agent not tied to one model vendor.

Good for

  • Run a coding agent with your own model provider
  • Work on a repo from a terminal UI
  • Install an agent through system package managers

Install or run

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

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

An LLM provider account or API key

Worth knowingThe repo moved from sst/opencode to anomalyco/opencode; older links and package names may be stale.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for coding

See the topic →
  • Claude Code

    anthropics/claude-code

    Anthropic's terminal coding agent; this repo hosts issues and plugins

    ToolGitHub stars: 156k
  • Spec Kit

    github/spec-kit

    GitHub's toolkit for spec-driven development with coding agents

    ToolGitHub stars: 150k
  • Codex CLI

    openai/codex

    OpenAI's terminal coding agent that runs locally on your machine

    ToolGitHub stars: 135k
  • Pi

    earendil-works/pi

    Minimal terminal coding agent you extend with skills and extensions

    ToolGitHub stars: 122k