# OpenCode | Artificialus

> For the complete content index, see [llms.txt](https://artificialus.com/llms.txt). Markdown versions of all pages are available by appending `.md` to any URL.

- Home
- /
- Agents
- /
- OpenCode

OP

# OpenCode

The open-source agent that plans, builds, and ships — from any client.

Anomaly (SST)

Closed source

Visit Website

Repository

Docs

Download

Share

X

Facebook

Reddit

Telegram

Bluesky

Email

The open-source AI coding agent from Anomaly (SST). Provider-agnostic — use Claude, OpenAI, Google, or local models — with a client/server architecture that lets a single headless agent be driven from a TUI, desktop app, or IDE extension. Built-in Build and Plan agents, MCP and LSP integration, ~160K GitHub stars.

##
+

Pros
- Provider-agnostic: works with Claude, OpenAI, Google, Bedrock, OpenRouter, and local models
- Client/server architecture allows one headless agent driven from TUI, desktop, or IDE
- 160K+ GitHub stars — fastest-growing open-source coding agent in 2026
- Build and Plan agents for both execution and read-only analysis modes
- Privacy-first: no code or context stored server-side

##
−

Cons
- Younger project — fewer integrations and polish compared to Cursor or Copilot
- Requires self-managed LLM API keys and provider setup
- TUI interface has a learning curve for non-terminal-native developers
- No built-in hosting or deployment capabilities

##

Pricing

### Free & Open Source

$0

MIT license, BYOK

OpenCode is the open-source AI coding agent from Anomaly — the team behind SST and terminal.shop. Provider-agnostic by design, it works with Claude (recommended), OpenAI, Google, OpenRouter, Bedrock, and local models, and ships with OpenCode Zen: a curated set of models benchmarked for coding agents. By mid-2026 it had grown to roughly 160K GitHub stars, 900 contributors, and around 7.5 million monthly developers.

OpenCode's client/server architecture is the key design choice: the agent runs as a headless server, and the TUI, desktop app, and IDE extensions are interchangeable clients — you can run the server on a workstation and drive it from a laptop or phone. Two built-in primary agents (Build and Plan) let you switch between full-access execution and read-only analysis, with custom subagents defined as simple markdown files. The agent integrates LSP for type-aware reasoning, supports MCP servers, and keeps your code local — OpenCode does not store user code or context.

## Key Features

• Client/server architecture: headless server with TUI, desktop, and IDE clients
• Provider-agnostic: Claude, OpenAI, Google, Bedrock, OpenRouter, local models
• OpenCode Zen: curated, benchmarked model set for coding agents
• Build and Plan agents: switch between full-access and read-only modes
• Custom subagents via AGENTS.md and markdown files
• LSP integration: TypeScript, Python, Go, Rust, Java, and more
• MCP support and custom commands
• Multiple concurrent sessions with their own context
• Privacy-first: no code or context stored server-side

## Version History

v1.15.11
May 27, 2026
Core: headerTimeout config, experimental background agents push updates without polling, optional modalities config. Bugfixes for MCP disconnect.

v1.15.9
May 22, 2026
Core: redesigned diff viewer with file tree. Bugfixes for model errors, PTY sessions, MCP OAuth config.

v1.15.7
May 21, 2026
Core: Grok OAuth sign-in with device-code login. Improved error handling. PDF attachment support for Grok.

v1.15.6
May 20, 2026
Core: diff viewer in TUI, shell mode for run prompt, Anthropic API-key models use native runtime.

Best for Developers who want a provider-agnostic, terminal-native coding agent with multi-surface clients

Capability Client/server architecture, multi-surface clients, OpenCode Zen, Build/Plan agents, provider-agnostic

Runs on CLI/TUI + desktop app + IDE extensions

Signature Snippet

Copy

```
`$ opencode
› opencode
⋮
build | Add a /webhooks endpoint and tests for it

plan: 1) Add route in src/server/routes.ts
2) Validate payload with zod schema
3) Wire into worker queue
4) Add tests in tests/webhooks.test.ts
▶ Approve plan? Y/n`
```

## More in this Space

SO

### Sourcery

Closed source

AI code review platform for the AI era. Automated code reviews, security scanning, and team analytics across GitHub, GitLab, VS Code, and JetBrains. Used by 300,000+ developers.

View profile

WT

### What The Diff

Closed source

AI-powered PR description generator and code review assistant. Automatically writes pull request descriptions, sends stakeholder notifications, creates changelogs, and provides inline code refactoring.

View profile

BA

### Blackbox AI

Closed source

Multi-agent AI coding platform with 12+ agents and 24+ models, featuring Chairman LLM for parallel multi-agent evaluation and end-to-end encrypted inference. Ships across six surfaces: CLI, IDE, Cloud, API, Mobile, and Builder.

View profile