The open source AI coding agent
OpenCode is the open-source coding agent started by SST in 2025, now maintained by anomalyco. Terminal TUI, desktop and IDE — any major LLM, MIT licensed.
Updated 2026-08-15. Same-day snapshot of the official repo.
How to Get Started with OpenCode
3 steps to launch the open-source multi-surface coding agent.
Install
Install globally via the one-liner or a package manager.
curl -fsSL https://opencode.ai/install | bashConnect a model
Use `/connect` or env vars to pick your LLM provider on first launch.
opencodeWork in your repo
Run `opencode` in your repo and start assigning tasks in the TUI.
opencodePitfalls
Multi-surface choice
Terminal, desktop and IDE overlap; start with the TUI to learn the core loop, then pick a surface per use case.
Package-manager variance
npm, brew, scoop and choco differ in freshness; the official brew formula is usually the most current on macOS/Linux.
Bash execution scope
Like any coding agent, OpenCode executes commands in your workspace; use sandboxing or scoped directories in production.
Beside Pi & Claude Code
Based on official public docs and licenses. OpenCode suits teams who want open transparency with a near-commercial out-of-box experience.
| Tool | License | Surface | Positioning | Extensibility |
|---|---|---|---|---|
| OpenCode | MIT | Terminal TUI + desktop + IDE | Open, multi-surface, good out-of-box UX | Plugin ecosystem + multi-provider config |
| Pi Agent | MIT | Terminal TUI focus | Minimal 4-tool harness, strong SDK embedding | TypeScript Extensions + Skills + SDK |
| Claude Code | Proprietary / Closed | Terminal CLI | Anthropic official, fully managed | Skills / hooks / MCP; core closed |
Official Directory
Official
- Official site (opencode.ai)
Official site and one-line installer.
- GitHub repository
Source, multilingual README and issues. MIT.
Docs & Install
- Documentation
Installation, model providers, TUI and advanced usage.
- npm (opencode-ai)
Install globally via npm.
Community
- Discord
Official Discord for discussion and support.
Related
- SST (original maintainer)
OpenCode was originally started by the SST team.
Latest Updates
2026-08-14 · GitHub · anomalyco/opencode
OpenCode iterates across terminal, desktop and IDEA leading open-source coding agent with multi-provider support and a mature TUI.
LaoJin's Pick
FAQ
- What is OpenCode?
- OpenCode is an MIT-licensed open-source AI coding agent, started by SST in 2025 and now maintained by anomalyco. It runs as a terminal TUI, desktop app or IDE extension across any major LLM provider.
- How do I install OpenCode?
- Easiest is `curl -fsSL https://opencode.ai/install | bash`, or use a package manager: `npm i -g opencode-ai@latest`, `brew install opencode`, `scoop install opencode`.
- How does OpenCode differ from Pi and Claude Code?
- Claude Code is Anthropic's closed product; Pi is a minimal 4-tool harness with strong SDK embedding; OpenCode sits between — open-source, multi-platform, good out-of-box experience and an active extension ecosystem.
- Which models does OpenCode support?
- Officially any LLM provider — configure Claude, GPT, DeepSeek or local Ollama via `/connect` or API keys; switching models requires no code changes.
Need to deploy a team-level Agent system?
Open-source frameworks are free, but turning a runtime into an enterprise asset requires access control, RBAC sandboxes, and private RAG integrations. Laojin Global provides commercial-grade architecture and deployment support.
Cite This Hub
We encourage you to capture this hub into your knowledge base, research, or feed it straight to an AI agent under CC BY 4.0.
How this hub stays current
Version and links live in src/content/opencode.ts; star snapshots sync via GitHub API.