MiMo-Code

An open-source AI coding agent with cross-session memory. Released v0.1.0 on June 10, 2026 under the MIT License.

Overview

MiMoCode is a terminal-native AI coding assistant. It reads and writes code, runs commands, manages Git, and uses a persistent memory system to maintain project understanding across sessions.

Installation

  • macOS/Linux: curl -fsSL https://mimo.xiaomi.com/install | bash
  • Windows: npm install -g @mimo-ai/cli

Model Access

  • MiMo Auto — anonymous channel, zero configuration, free for limited time
  • Xiaomi MiMo Platform — OAuth login
  • Import from Claude Code — migrate MCP servers, skills, API configs
  • Custom Provider — any OpenAI-compatible API

Memory System

  • Project memory (MEMORY.md)
  • Session checkpoint (checkpoint.md) — maintained by checkpoint-writer subagent
  • Scratch notes (notes.md)
  • Task progress (tasks/*/progress.md)
  • Tree-shaped task system (T1, T1.1, T1.2…) integrated with checkpoints

Relationship to OpenCode

MiMoCode is a fork of OpenCode. It retains core OpenCode capabilities (multiple providers, TUI, LSP, MCP, plugins) and adds persistent memory, intelligent context management, subagent orchestration, goal-driven autonomous loops, compose workflows, and self-improvement via dream/distill.

Configuration

.mimocode/mimocode.json in project directory or ~/.config/mimocode/mimocode.json globally. Options include provider/model selection, agent permissions, checkpoint behavior, MCP servers, keybindings, and theme.

Repository Stats (June 11, 2026)

~5,900+ stars, 474 forks, TypeScript primary language, 3 contributors, 1 release (v0.1.0).