Coding Assistants · Reviewed June 16, 2026
O

OpenCode

OpenCode is an open-source, terminal-first AI coding agent that works with any model provider you bring — Anthropic, OpenAI, Google, or local models.

Pricing
Free
Rating
4.52/ 5 · 168 reviews
Last reviewed
June 16, 2026
Channels
OpenCode website homepage screenshot showing the product
01

Overview

OpenCode

OpenCode is an open-source, terminal-first AI coding agent that works with any model provider you bring. OpenCode reads, writes, and edits files, runs shell commands, and surfaces LSP diagnostics, using a Plan-then-Build split so you review proposed changes before it touches your files. As of 2026 it supports 75+ providers — Anthropic, OpenAI, Google, GitHub Copilot, and local models — so you pay the model vendor directly. OpenCode is MIT-licensed and one of the most-starred coding agents on GitHub.

Production credibility: Open source under the MIT license, maintained by Dax Raad and Adam — the team behind SST — under the Anomaly organization. The repository (github.com/anomalyco/opencode, also reachable as sst/opencode) reports on the order of 160,000+ GitHub stars and hundreds of contributors, making it one of the most-used open-source coding harnesses. It emerged from a 2025 split with Charm, whose competing fork became Crush.

Key Features

  • Native terminal TUI, plus a desktop app and IDE extension
  • Bring-your-own-provider: 75+ LLM providers via Models.dev, including local models
  • Plan mode to review proposed changes, Build mode to apply them
  • Built-in file read, write, and edit plus shell command execution
  • LSP integration for diagnostics, with MCP and custom commands
  • Multi-session parallel agents and shareable session links

Ideal Use Case

Developers who want an agentic coding tool in the terminal without locking into one model vendor — particularly engineers using local models for privacy or routing across providers to control cost.

How OpenCode differentiates

Claude Code is Anthropic's terminal agent tied to Claude. OpenCode is open source and model-agnostic: you bring any provider, including fully local models, and review changes in Plan mode before they apply. The tool itself is free under MIT, so your only cost is the inference you choose. It is also distinct from Charm's Crush fork — OpenCode is the original brand continued by the SST team, rewritten in TypeScript and Bun.

FAQ

Q: What is OpenCode? A: OpenCode is a free, open-source AI coding agent for the terminal that lets you plug in any model provider and have it read, edit, and run code in your project, with a Plan-then-Build review flow.

Q: Is OpenCode open source? A: Yes — it is MIT-licensed and maintained by Dax Raad and Adam (the SST team, under the Anomaly org). The tool is free; you pay only your chosen model provider.

Q: OpenCode vs Claude Code? A: Both are terminal coding agents, but OpenCode is open source and model-agnostic — bring any provider, including local models — whereas Claude Code is Anthropic's product tied to Claude.

Q: How is OpenCode different from Crush? A: Crush is a separate fork from Charm that split off in 2025. OpenCode is the original brand continued by Dax and Adam, rewritten in TypeScript and Bun.

tl;dr

OpenCode is a free, open-source, terminal-first AI coding agent that works with 75+ model providers, including local models. It reads, edits, and runs code with a Plan-then-Build review flow. MIT-licensed, ~160K+ GitHub stars, maintained by the SST team. The open, model-agnostic alternative to Claude Code.

02

Why Use OpenCode

Rating
4.52
Across 168 verified reviews
Saved
180
By ToolDirectory readers
Pricing
Free
Publisher-listed pricing model
Listed
Since 2026
Continuously re-reviewed by editors
Category
Coding Assistants
Primary listing
Verified by editors during the most recent review · ToolDirectory.AI
03

FAQ

Q.
A.
Q: What is OpenCode?
A: OpenCode is a free, open-source AI coding agent for the terminal that lets you plug in any model provider and have it read, edit, and run code in your project, with a Plan-then-Build review flow.
Q.
A.
Q: Is OpenCode open source?
A: Yes — it is MIT-licensed and maintained by Dax Raad and Adam (the SST team, under the Anomaly org). The tool is free; you pay only your chosen model provider.
Q.
A.
Q: OpenCode vs Claude Code?
A: Both are terminal coding agents, but OpenCode is open source and model-agnostic — bring any provider, including local models — whereas Claude Code is Anthropic's product tied to Claude.
Q.
A.
Q: How is OpenCode different from Crush?
A: Crush is a separate fork from Charm that split off in 2025. OpenCode is the original brand continued by Dax and Adam, rewritten in TypeScript and Bun.
OpenCode website homepage screenshot showing the product
04

User Reviews

4.52
Out of 5 · 168 ratings
5
110
4
42
3
11
2
3
1
2
05

Similar Tools

Sign up for our newsletter

Receive weekly updates so you can stay up-to-date with the world of AI