⌂ Home News Xiaomi open-sources MiMo Code, an AI coding agent with persistent memory
News

Xiaomi open-sources MiMo Code, an AI coding agent with persistent memory

Xiaomi MiMo Code terminal-based AI coding assistant
Xiaomi MiMo Code terminal-based AI coding assistant
A A Text Size16px

Xiaomi has open-sourced MiMo Code V0.1.0, a terminal-based AI coding assistant designed to solve a common frustration with AI programming tools: losing track of long-running tasks.

The tool builds on Xiaomi's MiMo-7B reasoning model announced in 2025, but instead of being just a model, it is a complete coding agent for software projects.

Persistent memory system

MiMo Code features a persistent memory system. A background subagent continuously manages and stores context while you work.

When the active conversation nears its limit, the subagent condenses everything into a structured summary, allowing the main agent to continue without losing its place.

Xiaomi also includes a feature called /dream, which runs automatically every seven days.

It launches a maintenance agent that reviews old sessions, removes duplicates, verifies file paths, and compresses memory into an updated long-term store.

Compose mode and Harness system

MiMo Code introduces a dedicated Harness system built for MiMo models.

Instead of treating the AI as a generic API endpoint, the framework leverages the model's capabilities more directly.

Compose mode, activated by pressing Tab, allows users to provide a rough goal, and the agent handles the entire workflow from planning to coding, testing, and review.

Xiaomi claims this approach can produce an “industrial-grade finished product.”

The company cites benchmark results: MiMo Code scored 62% on SWE-Bench Pro and 73% on Terminal Bench 2, outperforming Claude Code by about five percentage points using the same base model.

The assistant also includes built-in voice input powered by MiMo-V2.5-ASR. Users can dictate commands, fix typos, or trigger actions like “send” and “execute” without using the keyboard.

Getting started

MiMo Code is based on the open-source OpenCode project and released under the MIT license.

It includes free access to MiMo-V2.5, Xiaomi's latest multimodal AI model, but users can connect third-party services like DeepSeek, Kimi, and GLM.

On macOS and Linux, installation requires a single terminal command. Windows users can install it through npm.

Once installed, launching the tool is as simple as typing mimo in the terminal.

The initial setup guides users through model configuration. Xiaomi says the free MiMo-V2.5 channel can be used without creating an account or registration.

📰 Latest Updates