Open-source coding CLI
OpenCode coding agent guide
MIT-licensed, multi-provider, terminal-native. The open coding agent people reach for when they refuse to marry one lab.
In one paragraph
OpenCode is a free, open-source coding agent you run in the terminal. You bring your own keys, pick any major model provider (or local models), and supervise multi-step repo work in a carefully designed TUI. It is a single-agent tool — not a multi-CLI harness.
Why OpenCode keeps showing up in search
US coding-harness and agent Trends keep OpenCode near Claude Code and Codex. The product promise is durable, model supremacy flips monthly, a CLI welded to one lab ages faster than a CLI that treats models as swappable engines.
Any provider
Anthropic, OpenAI, Google, local, regional — same muscle memory.
MIT license
Read, fork, embed, audit. Trust property for tools that touch source.
Serious TUI
Built for long supervise sessions, not dump-and-scroll logs.
OpenCode vs the usual alternatives
| Compare | Pick OpenCode when… | Pick the other when… |
|---|---|---|
| vs Claude Code | You swap labs often | You want max Anthropic polish |
| vs Aider | You want a modern multi-provider cockpit | You want minimal git-native pair mode |
| vs a harness | One agent is enough | You need multi-CLI crews + verify gates |
Where OpenCode fits in a real stack
- 1. Daily single-agent terminal work with BYOK.
- 2. Cheap or local models for bulk, frontier models for hard passes.
- 3. Inside a harness as one of many workers when jobs need roles and verification.
Hub readsOpenCode review, best open-source agents, what is an AI coding harness, agentic coding.
FAQ
What is OpenCode?
OpenCode is an open-source, MIT-licensed terminal coding agent from the SST team. It is provider-agnostic, you point it at Anthropic, OpenAI, Google, local models, or other endpoints with your own keys.
Is OpenCode free?
The tool is free and open source. You still pay model providers for inference unless you run local models.
OpenCode vs Claude Code?
Claude Code is a polished first-party Anthropic agent. OpenCode trades some single-lab polish for model freedom and MIT transparency. Many teams use both in different seats.
OpenCode vs Aider?
Aider is git-native and minimal. OpenCode is a broader multi-provider cockpit with a stronger TUI. Style and workflow fit matter more than a universal winner.
Does OpenCode replace a coding harness?
No. OpenCode is a strong single-agent CLI. A harness coordinates many CLIs, roles, memory, and a verify gate across tools.
One agent is not a crew
Run OpenCode next to Claude Code, Codex, and more
TheVibeFather is the harness layer, multi-CLI seats, shared memory, checkpoints, AutoVibe on your tests.