# Xiaomi has introduced a free AI agent for developers, MiMo Code

Xiaomi has released MiMo Code, an open-source terminal AI agent for programmers under the MIT license. The tool is built on the OpenCode project and is designed to automate long tasks consisting of tens or hundreds of steps.

MiMo Code operates from the command line: it records the state of the task, analyzes files, and executes commands. The agent supports multi-session memory, meaning progress is preserved between sessions and is not lost upon restart.

According to the company, during testing involving 576 developers, MiMo Code outperformed Claude Code in tasks exceeding 200 steps, achieving a win rate of over 65%.

MiMo Code is available for free. Upon first launch, users gain access to the MiMo-V2.5 model with a context window of one million tokens—no registration or API key required—for a limited time.

Source: [mimo.xiaomi](<https://mimo.xiaomi.com/blog/mimo-code-long-horizon>)
