If you’ve been keeping an eye on the world of open source ai coding, you know the landscape shifts fast. Xiaomi just made a major move by releasing MiMo Code V0.1.0, a terminal-native AI coding assistant that’s already turning heads. The bold claim? It outperforms Anthropic’s Claude Code on key agentic coding benchmarks, particularly those long-horizon multi-step tasks that can stretch beyond 200 steps. That’s a serious flex in the open source coding tool space.
Announced on June 10, 2026 via the official @XiaomiMiMo account on X, this AI coding assistant is now available on GitHub under the permissive MIT license. You can install it directly from your terminal on macOS or Linux, or via npm on Windows. It’s a practical, lightweight option for anyone looking to experiment with terminal agentic coding without vendor lock-in. Whether you’re a developer curious about the latest open source AI coding tools or just someone who wants a reliable assistant for complex tasks, MiMo Code is worth a closer look.
How MiMo Code’s Memory System Prevents Context Loss in Long Sessions
If you are spending time with open source ai coding tools, you have probably hit the wall where an agent forgets the very function it was fixing two minutes ago. Xiaomi tackles that head-on with a memory system designed to keep context alive across hundreds of steps. The trick is not just a bigger chat history. Instead, MiMo Code uses a cross-session memory system powered by SQLite FTS5 full-text search, allowing it to reach back into earlier work without losing the thread of your current task.

The Four Layers of MiMo Code’s Memory
This AI memory system organizes information into four distinct layers, each serving a specific purpose in your workflow:
- Project memory holds the big picture — the overall goals, architecture, and key conventions of the codebase you are working on.
- Session checkpoints capture snapshots of important decisions and outputs within a single work session, so you can retrace your steps.
- Scratch notes give the agent a place to jot down quick observations or reminders while it works.
- Per-task progress logs track the status of each subtask, so nothing slips through the cracks when you jump between problems.
Because these layers are indexed with full-text search, context window management becomes far more practical. The agent can pull up exactly what it needs without loading an entire history into memory.
Role of the Checkpoint-Writer Subagent
A dedicated checkpoint-writer subagent handles all the note-taking. This means the main coding agent can keep running your prompts and writing code without interruption. The checkpoint writer works in the background, saving session checkpoints and updating the memory layers automatically. Your workflow stays smooth, and you never need to pause while the system saves its notes.
MiMo Code also includes two mechanisms that help it get smarter over time. The /dream command performs a weekly review and compression cycle, consolidating older memories into leaner summaries. The distill function lets you turn repeated workflows into automated routines. Both features help the open source ai coding agent learn from past patterns without manual cleanup, making long sessions feel more natural and less prone to context loss.
Benchmark Performance: MiMo Code vs. Claude Code and Others
So, how does this open source ai coding agent actually stack up against the competition? Xiaomi’s own benchmarks paint a clear picture of MiMo Code leading the pack, but the story gets more interesting when you look at who was left out of the comparison.

How the Benchmarks Were Conducted
Xiaomi paired MiMo Code with its MiMo-V2.5-Pro model and pitted it against Claude Code running on Claude Sonnet 4.6. The tests covered three major AI coding benchmarks: SWE-bench Verified, SWE-bench Pro, and Terminal Bench 2. On SWE-bench Verified, MiMo Code scored 82% compared to Claude’s 79%. The gap widened on SWE-bench Pro, where MiMo hit 62% versus 57%. Terminal Bench 2, which measures terminal coding performance, showed MiMo at 73% against Claude’s 68%. These results come from Xiaomi’s internal beta release and a survey of 576 developers, though the company hasn’t shared full details on the survey’s selection criteria, task types, or duration. The exact conditions for the SWE-bench comparison—like whether both models used the same task sets and model versions—also remain unclear.
Why No Comparison to OpenAI or Google?
Here’s where things get tricky. Xiaomi did not publish any comparisons against OpenAI’s Codex or Google’s Gemini CLI. That omission matters because independent benchmarks tell a different story. On Terminal-Bench 2, OpenAI Codex CLI paired with GPT-5.5 scores 82.2%, which beats MiMo Code’s 73% by a noticeable margin. Without direct head-to-head tests against these major players, it’s hard to say whether MiMo Code truly leads the open source ai coding space or just outperforms one specific competitor. For now, the benchmarks suggest MiMo Code is a strong contender, but you’ll want to keep an eye on independent reviews before making any final judgments.
Installation and Hands-On Try with MiMo Code
Impressive benchmarks are one thing, but the real test of any open source ai coding tool is how it performs on your own projects. Getting started with MiMo Code is refreshingly simple, especially if you’re comfortable with command-line tools. Xiaomi has released the agent under the MIT license on GitHub, meaning you can freely use, modify, and even redistribute it. Here’s how to get it running on your machine in a few steps.
System Requirements and Installation Steps
MiMo Code works on macOS, Linux, and Windows. If you’re on macOS or Linux, open your terminal and run the provided install command from the GitHub repository. Windows users can install it via npm (Node Package Manager), which is included with Node.js. Don’t have Node.js installed? Grab it from the official site first — it’s a common dependency for open source developer tools like this one. Once the package is installed, you can launch MiMo Code directly from the command line. No complicated setup or account creation is required at this stage, which makes it an appealing choice for quickly testing an install AI coding agent.
Free Access to MiMo-V2.5 Model
What makes this initial experience even more attractive is the bundled free access to MiMo-V2.5, Xiaomi’s multimodal flagship model. The model boasts a million-token context window — plenty for large codebases or long conversations. Best of all, you don’t need to register or provide any personal information. Simply start using the agent, and it taps into MiMo-V2.5 by default. However, this is a limited-time offer. Xiaomi hasn’t detailed exact usage caps or an expiration date, so you should expect some constraints — like a daily request limit or a cutoff window after a few months. For now, it’s a free AI coding model you can experiment with immediately, which is ideal for evaluating whether MiMo Code fits your workflow. Give it a try on a small project and see how the agent handles real-world tasks without any upfront commitment.
Real-World Usability and Resource Requirements
While trying MiMo Code on a small project is a great way to get started, you should also consider what it takes to run it effectively day to day. Benchmarks only tell part of the story; the hardware you need and how the tool performs on real-world coding tasks matter just as much for your workflow.

Hardware Needs for Running MiMo Code
Xiaomi has not yet disclosed detailed AI coding hardware requirements for MiMo Code, such as specific RAM or GPU models. This makes it hard to predict whether your current setup can run the agent smoothly. Open source AI coding tools often demand a powerful local machine, especially when they rely on multiple subagents and memory layers. Until Xiaomi shares concrete specs, you may need to test MiMo Code on your own system to see if it runs without slowdowns or memory errors.
Potential Latency and Cost Considerations
In real-world AI coding, responsiveness is key. MiMo Code’s memory system and subagent coordination can introduce some latency, though the design aims to reduce interruptions by keeping context alive. The trade-off is that you might experience a slight delay when the agent retrieves past decisions or spawns a subagent, but the goal is fewer repetitive explanations and faster long-term progress. For larger projects, this could improve developer workflow efficiency, but the actual impact on your daily pace will only become clear once you run the tool outside benchmark suites. Keep an eye on how the agent handles your actual codebase rather than relying solely on published numbers.
Open-Source Roots and Future Development Plans
Benchmark numbers give you a snapshot of potential, but an open-source tool lets you look under the hood. That is exactly the case with MiMo Code. Its roots are in the OpenCode agent, and understanding where it comes from helps you gauge where it is heading. For anyone following the open source ai coding landscape, this project stands out because it blends a community foundation with practical additions that target real coding workflows.
How MiMo Code Extends OpenCode
MiMo Code is a focused fork of the OpenCode agent. Xiaomi has extended it with a custom memory architecture, specialized workflow modes, and a dedicated model harness. For you, that means you get the stability of a community-driven base paired with unique features aimed at longer, more complex coding sessions. As an open source coding agent fork, it balances a shared foundation with enhancements that address common pain points like context retention and task switching.
Two built-in self-improvement mechanisms are worth highlighting:
- The /dream command performs a weekly review and compression of the agent’s memory. It helps the model stay efficient without forgetting past context, keeping your sessions relevant over time.
- The distill function automates workflows you repeat often. Over time, the agent learns these patterns and can handle them directly, reducing manual repetition. These features act as dedicated developer productivity tools that grow with your usage.
What’s Next for MiMo Code?
The open question remains: will Xiaomi continue to develop MiMo Code, and what is the planned roadmap? So far, the company has not published a formal AI coding roadmap. However, Xiaomi has stated plans to publish or replicate the comparisons against OpenAI and Google models. This suggests the team is invested in validating and improving the agent competitively, even if the full development path is not public yet. For now, the project remains a practical, evolving option in the open-source agent space, and its trajectory will likely depend on community adoption and internal priorities. Keep an eye on how the fork develops — its open-source origins mean you can track changes directly and decide when to integrate new improvements into your own workflow.
Frequently Asked Questions
How can I install and try MiMo Code right now?
To get started, head to Xiaomi’s official repository for MiMo Code. You will find installation instructions for your operating system there, typically using a package manager like pip or brew. Because it is an open source ai coding tool, you can download it directly and run it locally with minimal setup. Follow the step-by-step guide in the repository’s README to have it running in a few minutes.
Is MiMo Code truly better than Claude Code, or is the benchmark comparison cherry-picked?
MiMo Code shows strong results in published benchmarks, but any single comparison can be selective. The real advantage for you comes from trying both tools on your own tasks. As an open source ai coding agent, MiMo Code offers transparency and the ability to inspect and modify its behavior. The best choice depends on your specific workflow and preference for local or cloud-based execution.
Does the free access to MiMo-V2.5 have any usage limits or expiration?
Free access to MiMo-V2.5 typically comes with reasonable limits on session length or total requests to ensure fair use. Check the official page or repository for the current terms, as these can change. Since it is an open source ai coding tool, you can always run it on your own hardware without relying on external quotas or expiration dates.






