Integrate with MiMo-Code

June 29, 2026 · View on GitHub

English | 简体中文 · ← Back

Integrate with MiMo-Code

MiMo-Code is a terminal-native AI coding assistant built by Xiaomi. It can read and write code, run commands, manage Git, and use a persistent memory system to maintain project understanding across sessions. Built on OpenCode with added persistent memory, subagent orchestration, and self-improvement features.

1. Install MiMo-Code

curl -fsSL https://mimo.xiaomi.com/install | bash

Via npm

npm install -g @mimo-ai/cli

Verify the installation:

mimo --version

2. Launch and Configure

Run mimo in your project directory:

cd /path/to/my-project
mimo

On first launch, you will be guided through provider setup. Available options:

Setup OptionDescription
MiMo AutoFree limited-time anonymous channel, zero config needed
Xiaomi MiMo PlatformOAuth login to MiMo Platform
Import from Claude CodeMigrate existing authentication
Custom ProviderAny OpenAI-compatible API

For most users, select Xiaomi MiMo Platform and follow the OAuth flow to log in.

3. Basic Usage

Key / CommandFunction
TabSwitch agents: build (full dev), plan (read-only analysis), compose (orchestration)
/goalSet a stopping condition with independent judge evaluation
/voiceActivate streaming voice input (requires sox)
/dreamExtract knowledge from sessions into project memory
/distillConvert repeated workflows into reusable skills
/connectSign in to additional providers

4. Configuration

Configuration file locations:

  • Project-level: .mimocode/mimocode.json
  • Global: ~/.config/mimocode/mimocode.json

Resources