MiMoCode
A terminal-native AI coding assistant with persistent memory, intelligent context management, and multi-agent orchestration — where models and agents co-evolve.
- Source repo
- XiaomiMiMo/MiMo-Code
- Stars
- ★ 14k
- Last updated
- 3d ago v0.1.18
- FARS reviewed
- Nov 08, 2026 +2 new
- License
- MIT
- Primary language
- TypeScript
- FA score
- 64/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformChatGPT · Codex · Claude Code
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Terminal developers using
mimofor daily coding who want the AI assistant to remember project context across sessions and auto-resume task progress. - Not a fit if
- macOS Terminal.app users: rendering is unsupported
- Teams needing fully offline or self-hosted models; voice and MiMo channel rely on Xiaomi cloud
- Users who avoid the command line and want a GUI-only tool
- Website
- mimo.xiaomi.com/mimocode ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-30latest release v0.1.18 (2026-11-27)+1.0 ★/day over 7 days
- Source review
- 64/100 · Some gaps
What does this agent do, and when should you use it?
MiMoCode is Xiaomi's terminal-native AI coding assistant built as a fork of OpenCode. It retains core OpenCode features like multiple providers, TUI, LSP, MCP, and plugins, while adding persistent memory, intelligent context management, subagent orchestration, goal-driven autonomous loops, compose workflows, and self-improvement via dream/distill. It uses SQLite FTS5 full-text search for cross-session memory, and features a multi-agent system (build, plan, compose), subagent system, task tracking, and built-in workflows such as compose, deep-research, fact-check, and research-experiment. It provides a zero-config MiMo Auto channel (free for a limited time) and supports connecting to any mainstream LLM provider API. Licensed under MIT, it offers both personal and enterprise deployment paths.
MiMoCode is a terminal AI coding assistant that reads and writes code, runs commands, manages Git, and maintains a persistent memory system for project understanding across sessions. It is invoked via the mimo command, providing a TUI interface with three primary agents (build, plan, compose) switchable via Tab. It bundles various skills (e.g., arxiv, codex, deep-research) and workflows (compose, deep-research, fact-check, research-experiment) that can auto-parallelize tasks. It uses /dream and /distill to extract knowledge from sessions and create reusable skills, and /goal sets stopping conditions evaluated by an independent judge model. It supports voice input (TenVAD + MiMo ASR) and stores state via MySQL. Configuration is JSONC-based, with project-level and global files, and JSON Schema validation.
- Terminal developers using
mimofor daily coding who want the AI assistant to remember project context across sessions and auto-resume task progress. - Developers needing multi-step development pipelines (e.g., spec-to-code delivery), using the
/compose-nextskill or compose workflow to auto-parallelize independent tasks. - Users conducting deep research who can use the
deep-researchworkflow, running parallel subagents to collect cited multi-source findings. - Developers needing fact verification or adversarial fact-checking with the
fact-checkworkflow's three-juror adversarial voting. - Developers optimizing mechanically verifiable metrics via the
research-experimentworkflow's autonomous loop (baseline, iterate, keep/revert, audit). - Users wanting zero-config start with MiMo Auto (free for limited time) or BYO provider with OpenAI-compatible API.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://mimo.xiaomi.com/install | bashnpm install -g @mimo-ai/cliirm https://mimo.xiaomi.com/install.ps1 | iex
- Config files
.mimocode/mimocode.jsonc~/.config/mimocode/mimocode.jsonc- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
One-line install (macOS/Linux): curl -fsSL https://mimo.xiaomi.com/install | bash; Windows PowerShell: powershell -ep Bypass -c "irm https://mimo.xiaomi.com/install.ps1 | iex"; or npm install globally: npm install -g @mimo-ai/cli. After installation, run mimo. The first launch guides through configuration, offering MiMo Auto (free for limited time), Xiaomi MiMo Platform OAuth, Codex (ChatGPT) OAuth, import from Claude Code, or custom OpenAI-compatible endpoints.
How do you use this agent?
Run mimo to start the TUI. On first launch, follow prompts to choose a provider (e.g., MiMo Auto for direct use, or configure API keys). In the TUI, press Tab to switch between build/plan/compose agents; type / to browse skills or /skill-name to invoke directly; use /goal to set stop conditions; use /dream and /distill for self-improvement; use /voice to enable voice input. Configuration files are at .mimocode/mimocode.jsonc or ~/.config/mimocode/mimocode.jsonc, where you can set models, permissions, MCP, etc. Run mimo models <provider> to see context windows.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Persistent memory across sessions (SQLite FTS5) automatically injects context on resume, avoiding re-learning.
- Built-in workflows (compose, deep-research, fact-check, research-experiment) enable unattended parallel automation.
- Fork of OpenCode retains multi-provider support, can connect to any OpenAI-compatible API, and offers MiMo Auto free-for-limited-time channel.
- Self-improvement mechanisms (/dream and /distill) extract knowledge from session history and create skills.
- Subagent parallelism, task tree tracking, and automatic checkpoints support complex projects.
- macOS default Terminal (Terminal.app) is unsupported; use iTerm2 or VS Code integrated terminal.
- WSL clipboard and Windows non-UTF-8 locale may have CJK garble, requiring extra setup.
- Voice input depends on MiMo platform (ASR model) and requires
sox; non-MiMo users may be limited. - TUI may lag over SSH; requires local rendering + remote server pattern.
- Requires Node.js and npm; non-command-line users may face a learning curve.
How does this agent compare with similar options?
Comparable to Claude Code and Codex CLI, but MiMoCode offers more comprehensive memory, context management, and workflow systems, with multi-provider support, making it a viable alternative or complement.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| MiMoCode This agent | 64 · Some gaps | CLIFreemium | ★ 14k | 3d ago | TypeScript | ChatGPT · Codex · Claude Code |
| MOMO CODE | 48 · Major gaps | CLIFree + model costs | ★ 1.1k | 1mo ago | TypeScript | Claude Code · OpenAI API · Claude API |
| Claude Code Best Practices | 46 · Major gaps | CLIFree + model costs | ★ 70k | 1d ago | HTML | Claude Code |
| OpenSquilla — Token-Efficient AI Agent | 74 · Some gaps | CLIFree + model costs | ★ 7.2k | 7d ago | Python | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The security document states that this local tool can execute commands, read and write files, and access the network, and that its permission system is not a sandbox. The interactive TUI asks users to trust a workspace, while non-interactive entry points skip that prompt; the dangerous permission bypass option auto-approves requests. Least privilege and confirmation are therefore only partial. The README identifies data directories, credential storage, plaintext API key risk, and configured data flows to LLM and MCP providers. The security document also describes third-party boundaries, but broader data handling is not fully documented. Permission rules can control actions, server mode defaults to loopback and requires a password or explicit auth disabling for non-loopback binding, and version rollback is described; a general action undo path is not shown. The license and security reporting channel provide attribution evidence, but do not verify publisher identity.
The README descriptions of modes, memory, tasks, skills, and workflows are broadly consistent with the CLI entry point and plugin/SDK interfaces. The CLI logs unhandled exceptions, migration progress, and best-effort import failures. The product depends on external model services, MCP/search services, and runtime tools, with some capabilities requiring user configuration or external availability. The supplied material does not establish availability guarantees or comprehensive recovery, limiting the score.
The product targets terminal development, CI/automation, remote hosts, research, and file workflows; the README gives cross-platform guidance, provider configuration, and concrete scenarios. The security document clearly states the non-sandbox boundary, non-interactive entry point risks, and server exposure constraints. Skill descriptions also provide targeted triggers and opt-in switches. However, users still need to constrain the broad tool permissions and external skill/MCP extensions.
The README has a clear structure with quick start, platform troubleshooting, configuration, capabilities, skills, and examples. Installation instructions are concrete, but the supplied material does not describe verification or an alternative to one-line script installation. The package is still named opencode and its metadata points to a different repository URL, weakening naming stability. The MIT license is explicit; a security reporting channel and release workflow are present, but no user-facing changelog or clear maintenance commitment is shown.
The product can produce code changes, command execution, Git operations, cross-session memory, and cited research reports and workflow logs. It offers substantial added capability for coding and long tasks. Model routing, caching, and budget controls are described, but cost and benefit claims are product assertions without independent measurements in this packet. External services, voice, and MCP features also add setup costs.
The README configuration paths and limitations, the security threat model, CLI startup code, and plugin/SDK interfaces provide some traceable evidence. Cross-checking product claims against code and tests is limited, and the supplied packet is sampled and truncated. The documentation often distinguishes configuration facts, limitations, and product claims, but several performance and benefit claims are not verified by this material. No execution was performed.
- The permission system is not an isolation boundary. For untrusted repositories or content, the security document recommends a disposable container, VM, or similarly restricted environment.
- Non-interactive entry points load target-directory configuration, instructions, plugins, and MCP servers without asking for trust; review workspace contents and configuration before automation.
- API keys are stored as plaintext in configuration; restrict file permissions and do not commit keys. Do not expose server mode to an untrusted network without authentication and appropriate transport security.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
简介 Skill 现已支持动态发现:新增或修改 skill 后无需重启,新旧会话都会自动感知变化,/ 命令列表也不再等待 MCP 启动。媒体读取从通用 read 拆分为独立的 read_image、read_audio、read_video 工具,TUI 中按媒体类型显示。 此外,修复了重复传入 --model 报错、代理或软链接缓存下插件安装失败、auth.json 含非字符串元数据时凭据丢失,以及 OpenAI Responses 无状态请求中推理块被拆分等问题。 Highlights Skills are now discovered dynamically without restarting — additions and edits are picked up automatically by both new and ongoing sessions, and / commands no longer wait for MCP servers to connect. Media reading is split out of read into dedicated read_image, read_audio, and read_video tools, labeled by media type i …View on GitHub ↗ -
Release notes excerpt
简介 本版本移除了一些过时的策略,减少针对特定模型的行为改变:上下文与输出上限、推理档位改从 models.dev 和用户配置读取,不再按模型名推断,也不再默认发送 temperature / top_p;/variants 可在配置中直接按档位名启用,子 agent 继承父会话的档位;GPT 模型也不再自动开启 Codex 风格的提示词和工具集,所有模型默认使用同一套(需要时可设置 MIMOCODE_CODEX_MODE=true)。 此外,内置联网搜索改为通过 MIMOCODE_ENABLE_EXA=1 启用(也可接入搜索 MCP);小米 API key 与 Token Plan key 可同时登录;记忆搜索支持中文子串召回;并修复了额度耗尽仍重试、压缩失败残留等稳定性问题。 Highlights …View on GitHub ↗ -
Release notes excerpt
Upgrade notes 中文 本版本移除 legacy Compose:compose 主智能体、内置 workflow 及全部 compose:* 技能不再提供,复杂任务请改用 build 模式下的 /compose-next(clarify → spec → implement → verify → review → finish)。MCP 工具默认懒加载,按需发现并在就绪后调用。npm i @mimo-ai/cli 目前仅包含启动器,完整体验建议使用原生安装脚本。实验性 Orchestrator 模式已移除;Claude 会话导入与 agent-CLI 技能(claude-code / codex / grok-build)需通过环境变量显式启用。 English …View on GitHub ↗
FAQ
What is the MiMo Auto free channel?
How do I configure a custom model provider?
provider field in config with baseURL, apiKey, and model ID as custom:MODEL_NAME, supporting any OpenAI-compatible API.How does the session persist across restarts?
Can it run unattended in CI environments?
--dangerously-skip-permissions to auto-approve all actions, but use cautiously in trusted containers or sandboxes.How to extend skills or custom workflows?
.mimocode/skills/<name>/SKILL.md or place a .js file in .mimocode/workflows/ to define custom workflows, or override built-ins with same names.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.