Overview
OpenCode is an open-source terminal-native AI coding agent (github.com/anomalyco/opencode) providing multi-provider support, TUI, LSP integration, MCP servers, and plugins. It serves as the upstream foundation for several Chinese lab forks including Xiaomi mimo-code, Kimi Code, and Qwen CLI.
Core Capabilities
- Multiple LLM provider backends (OpenAI-compatible APIs)
- Terminal UI with LSP and MCP plugin ecosystem
- Tool use: file read/write, shell commands, Git operations
- Extensible via plugins and custom agents
Fork Ecosystem (June 2026)
| Fork | Maintainer | Key Additions |
|---|---|---|
| mimo-code | Xiaomi MiMo | Persistent memory, dream/distill, subagent orchestration |
| Kimi Code | Moonshot AI | Kimi model integration |
| Qwen CLI | Alibaba | Qwen model integration |
Recent Developments
-
2026-07-31: Target agent in supabase-evals; backend for qm-quartermaster (2026-08-01-supabase-evals-open-source-benchmark, 2026-08-01-yc-qm-github-readme)
-
2026-06-10: Xiaomi released mimo-code as OpenCode fork with cross-session memory architecture (2026-06-10-xiaomi-mimo-code-github)
-
OpenCode lineage makes fork architectures inspectable for enterprise evaluation