opencode

officialpopularlocal-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 .mdJSON
Readiness
Human-first CLI · 20/100
Verify
opencode --help
Agent URL
/cli/opencode/agent.md

Quick reference

Install
npm install -g opencode-ai
Verify
opencode --help
First command
opencode
Machine JSON
/cli/opencode.json

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