opencode

officiallocal-onlycautionainpm

SST · Terminal coding agent, codebase edits, and ai development from the terminal.

$ npm install -g opencode-ai
One-liner to try
$ opencode

Agent pack

Copy into an agent

A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.

Open .md
Readiness
Human-first CLI · 20/100
Verify
opencode --help
Agent URL
/cli/opencode/agent.md

Quick reference

Installnpm install -g opencode-ai
Verifyopencode --help
First commandopencode

About

The official CLI from SST. Terminal coding agent, codebase edits, and ai development from the terminal. Runs entirely on your machine.

Example workflow

1. opencode

Alternatives worth considering