Ad space · Your tool here
PluginStack
Coding Agents · by Anomaly

OpenCode

OpenCode official site ↗

Last checked against the official docs:

What it does

An open-source AI coding agent with a terminal UI, plus a desktop app and IDE support. It works with API keys from many LLM providers. It has a full-access build agent and a read-only plan agent you switch between with Tab. MIT licensed.

Who it's for

Terminal users who want an open-source agent and the freedom to pick their own model provider.

How to set it up

  1. OpenCode 2 (what opencode.ai/download offers now):

    bash
    curl -fsSL https://opencode.ai/v2/install | bash
    # or
    npm install -g @opencode/cli
  2. OpenCode 1 (the install the GitHub README still shows):

    bash
    curl -fsSL https://opencode.ai/install | bash
    # or
    brew install anomalyco/tap/opencode
  3. Both versions use the opencode command and aren't installed side by side by default; the V2 installer replaces a V1 binary. If you're moving from V1, read opencode.ai/v2/docs/migrate-v1 first (V1 plugins don't run in V2).

  4. cd into your project, run opencode, and add API keys for the providers you want to use.

    bash
    opencode

Check the official OpenCode docs for the latest steps.

Example prompts

prompt
Switch to plan mode and explain how authentication works in this repo.
prompt
Add pagination to the /api/posts endpoint and update the tests.
prompt
@general find every place we call the payments API.

Demo

Demo coming soon

A short walkthrough of OpenCode in action.

See all Coding Agents on PluginStack