Xiaomi Open Sources AI Coding Agent With Persistent Memory

Xiaomi has released MiMo Code V0.1.0 as an open-source AI coding agent under the MIT licence, addressing context loss during long development sessions.

Persistent Memory

Unlike conventional assistants relying solely on context windows, MiMo Code uses a dedicated background subagent to manage project context. As conversations approach limits, the system summarises interactions, stores structured memory, and preserves continuity.

/dream Maintenance

Running automatically every seven days, /dream launches a maintenance agent that reviews old sessions, removes duplicate memories, verifies file paths, and compresses stored information into an updated long-term memory repository.

OpenCode Foundation

Built on the open-source OpenCode project with Xiaomi-developed memory and workflow enhancements. Free access to MiMo-V2.5; also connects to DeepSeek, Kimi, and GLM third-party services.

Compose Mode

Enables workflows spanning planning, design, coding, testing, and review from a single goal prompt. Xiaomi developed a dedicated Harness framework optimised for MiMo models.

Benchmark Claims

Xiaomi reports 62% on SWE-Bench Pro and 73% on Terminal Bench 2, outperforming Claude Code by ~5 percentage points with the same base model — company-reported figures.