MiMo Code
About
MiMo Code extends OpenCode's terminal harness with the persistence and autonomy layer Xiaomi wanted for long-running work. Memory lives in SQLite with FTS5: project knowledge in MEMORY.md, session checkpoints written by a dedicated checkpoint-writer subagent, scratch notes, and per-task progress logs, all re-injected automatically when a session resumes. The agent operates in build mode (full write permissions), plan mode (read-only exploration and design), or compose mode — a specs-driven workflow isolated from interactive editing — and a /goal condition is judged by an independent model so the loop does not stop prematurely. Deterministic JavaScript workflows orchestrate multi-agent pipelines (deep-research, fact-check, research-experiment built-ins) with bounded retries and parallelization, while subagents spawn on demand and run in parallel with lifecycle tracking. Voice input routes through MiMo ASR, and Max Mode runs best-of-N reasoning in parallel. The project is very active with roughly 12.9k stars, works with any OpenAI-compatible provider plus OAuth against Xiaomi MiMo, OpenAI, and xAI, and explicitly does not run in macOS Terminal.app.