OpenCode
The most-starred open-source terminal coding agent.
What it is
OpenCode (by SST) is an open-source AI coding agent that lives in your terminal. It works with 75+ model providers, so you are never locked to one vendor.
With 150k+ GitHub stars it is one of the most popular open-source coding agents of 2026.
Install & set up
One line with curl (recommended).
curl -fsSL https://opencode.ai/install | bashIf you prefer Node tooling.
npm install -g opencode-aiOpen your project folder and launch the terminal UI.
cd my-project && opencodeRun /connect, choose a provider, and paste a raw API key. Note: the old convenient Claude Pro/Max subscription login was removed — it is API key only now. To run a Claude subscription, use Claude Code.
/connectGenerate an AGENTS.md so it understands your structure and patterns.
/initFrom install to your first verified proof
The tool drafts; you stay accountable. Here is the path from a fresh install to a proof you can defend.
Strengths & gotchas
Strengths
- Terminal-native and fast
- 75+ model providers — no lock-in
- Runs over SSH on a cheap VPS
- Huge, active community
Gotchas
- Raw API key only now — the Claude Pro/Max subscription login was removed; for a Claude subscription use Claude Code
- You pay per-token in USD — watch your spend
- No GUI; you must be comfortable in the terminal
- BYOK setup is on you