Xiaomi open-sources MiMo Code terminal agent
Xiaomi has released MiMo Code, an MIT-licensed terminal coding agent forked from OpenCode, putting a major hardware company into the crowded agent space dominated by Claude Code and Codex.
Xiaomi announced the release of MiMo Code V0.1.0, which it describes as an "exploratory" AI programming assistant that runs in the terminal. The tool is a fork of the open-source OpenCode project and is published under the MIT License.
It ships with Xiaomi's MiMo-V2.5 model, free for a limited time. Xiaomi says the model performs comparably to Claude Sonnet 4.6. Users can also plug in DeepSeek, Kimi and GLM models, along with third-party token plans.
Most of the work sits in the harness around the model. Instead of relying on the main agent to decide when to take notes, MiMo Code hands state-saving to a separate subagent. That subagent writes a clean summary when the context window nears its limit. A /dream command runs every seven days to merge, deduplicate and compress memory files. A "Compose" mode, toggled with Tab, takes a task through design, planning, coding, testing and review. Voice input is powered by MiMo-V2.5-ASR.
Xiaomi ran a test where both harnesses used the same MiMo model. It reports that MiMo Code scored 62% on SWE-Bench Pro, against 57% for Claude Code, and 73% on Terminal Bench 2, against 68%. These figures have not been independently verified. Xiaomi has not published how it set up the test.
The announcement's title mentions three new MiMo-V2.6 models, but the text that was available does not describe them.