OpenCode
Open-source CLI alternative to Claude Code. Subagents, MCP, plugins — fully OSS.
Open source · MIT Free
Features
- ▸ Subagents (.opencode/agent/)
- ▸ Slash commands (.opencode/command/)
- ▸ Plugins/marketplace
- ▸ MCP server support
- ▸ Hooks & lifecycle events
- ▸ Session persistence
Pros
- + Closest OSS analog to Claude Code
- + Compatible with Claude Code's .claude/agents/ format
- + MIT licensed — full freedom
Cons
- − Smaller community than Claude Code
- − Some plugins still maturing
Best for
- · Teams wanting Claude Code UX with OSS
- · Self-hosters
- · Plugin authors
Avoid if
- · You want enterprise SLAs
- · You prefer GUI-first