MiMo-Code iconMiMo-Code

open-source Free Star9k

Terminal-native AI coding assistant from Xiaomi with persistent memory system for long-horizon tasks

62% SWE-bench Pro
1M Token Context
5.2K GitHub Stars

Overview

MiMo-Code is Xiaomi's open-source terminal AI coding assistant designed for long-horizon, multi-step development tasks. Built as a fork of OpenCode, it introduces a persistent memory system that automatically summarizes and stores context as you work, solving the common problem of AI assistants "forgetting" earlier decisions when context windows fill up. The standout feature is a background subagent that manages memory compression while you code, plus a /dream command that runs weekly maintenance on your memory files.

The Verdict

Who Should Use MiMo-Code?

Best For

  • Developers working on 200+ step tasks
  • Long coding sessions spanning multiple days
  • Teams wanting to self-host with MIT license
  • Users who want to bring their own LLM
  • Budget-conscious devs (free model access)

Not Ideal For

  • Enterprise with strict data residency (routes through Xiaomi)
  • Production reliance (v0.1 maturity)
  • Teams needing proven stability
  • Quick single-file edits

What's Great

  • Persistent memory survives context limits
  • MIT licensed, fully inspectable code
  • Free access to MiMo-V2.5 (1M context)
  • Bring-your-own-model support
  • Automatic memory maintenance (/dream)
  • Multiple agent modes (build, plan, compose)

Watch Out For

  • v0.1 release — early maturity
  • Free model access is "limited time"
  • Benchmarks are self-reported
  • Code context routes through Xiaomi servers
  • Smaller community than established tools

Pricing

View all features & details

Memory System

  • SQLite FTS5 full-text search
  • Project memory (MEMORY.md)
  • Session checkpoints (checkpoint.md)
  • Scratch notes (notes.md)
  • Per-task progress logs
  • /dream weekly maintenance

Agent Modes

  • Build — full dev permissions
  • Plan — read-only analysis
  • Compose — specs-driven orchestration
  • Tab to switch modes

Task System

  • Tree-structured tracking (T1, T1.1, T1.2)
  • Subagent creation
  • Parallel execution
  • Goal/stop validation via judge model

Platforms

  • macOS, Linux (one-line install)
  • Windows (via npm)
  • OpenCode TUI compatibility
  • LSP & MCP server support

Benchmarks

62%
SWE-Bench Pro
Complex GitHub issue resolution tasks
73%
Terminal Bench 2
Multi-step terminal operations
200+
Step Tasks
Designed for ultra-long horizon tasks

Real-World Usage

Community Stats

  • 412 forks
  • MIT licensed source code
  • Released June 10, 2026
GitHub API, June 2026

Technical Foundation

  • 95.4% TypeScript codebase
  • Fork of OpenCode
  • Multi-provider LLM support
  • MCP protocol compatible
GitHub Repository

How It Compares

Feature MiMo-Code Claude Code Cline OpenHands
Context Window 1M tokens 1M tokens 200K 128K
Persistent Memory Built-in Manual No No
Price Free $20/mo+ Free + API Free + API
License MIT Proprietary Apache 2.0 MIT
BYOM Support Yes No Yes Yes
Maturity v0.1 (new) Established Established Established
Best For Long sessions Large codebases Budget devs Research

User Reviews

Loading reviews...