Complete agent loop
Streaming SSE, tool execution, and up to 32 iterations, enough for non-trivial coding tasks.
mimo-tui is built around MiMo’s actual model behavior: streaming, thinking, tool loops, session management, cache visibility, and multi-region fallback. The goal is simple: make MiMo feel production-ready in the terminal.
From install flow to sandboxing, this is structured like a maintained CLI product, not a thin experiment.
npm, brew, cargo, docker, and curl are all supported. No repo archaeology required.
The wizard handles MiMo Token Plan keys, region selection, and fallback behavior cleanly.
Once inside the TUI, you can edit files, run shell commands, attach MCP servers, and split work across agents.
npm install -g mimo-tuimimo initmimobrew install duolaAmengweb3/mimo-tui/mimo-tuimimo initmimocargo install --git https://github.com/duolaAmengweb3/mimo-tui mimo-tuimimo initmimocurl -fsSL https://mimo-tui.pages.dev/install.sh | shmimo initmimodocker run -it -v "$PWD":/workspace \ -e MIMO_API_KEY=tp-xxx \ ghcr.io/duolaamengweb3/mimo-tui:latestthinking, tool calls, type checks, cache hits, and session state are all visible in real time. That gives users observability into what the agent is actually doing instead of hiding everything behind one opaque reply.
∞ mimo-tui v0.3.0-alpha.2 · mimo-v2.5-pro · SGP · agent
▎ user > Refactor Header.tsx to a function component, preserve props, then run typecheck
thinking find file → read original → inspect prop types → rewrite → verify ✓ read_file {"path":"src/components/Header.tsx"} ✓ edit_file {"path":"src/components/Header.tsx", ...} ✓ shell {"command":"npm run typecheck"} no errors found
Header.tsx is now a function component. Type-check passed.
usage in:1842 out:312 · cached 1568Complete agent loop
Streaming SSE, tool execution, and up to 32 iterations, enough for non-trivial coding tasks.
8 built-in tools
read / write / edit / shell / glob / grep / web_fetch / todo out of the box.
Parallel sub-agents
The task tool can dispatch up to 10 concurrent sub-agents for decomposition-heavy work.
MCP dual-protocol
Both stdio and HTTP are supported, so existing MCP servers plug in with minimal friction.
Skills-compatible
Existing .claude/skills/ content can be migrated directly with very little ceremony.
Three-platform sandbox
macOS Seatbelt, Linux Landlock, and Windows Job Objects are built in from the start.
Plan / Agent / Auto modes
Switch between read-only, approval-based, and YOLO execution depending on risk tolerance.
Smart regional routing
CN / SGP / AMS latency checks plus automatic fallback when a key does not work in the chosen region.
| Claude Code wrapper | XIAOMI-MiMo-code | mimo-tui | |
|---|---|---|---|
| Architecture | Anthropic shell | Reverse-engineered | Original implementation |
| Model identity | “I’m Claude” | Prompt patching | Native MiMo identity |
| Config directory | Collision-prone | Isolated | Dedicated ~/.mimo/ |
| Thinking / cache visibility | Partial | Incomplete | Fully exposed |
| MCP support | Yes | Partial | stdio + HTTP |
| Compliance | ToS gray area | High risk | Original + MIT |
| Maintainability | Upstream constrained | Fragile | Can evolve independently |
mimo -p "write greet.py and run it" exercises file writing, shell execution, and Python-style skill behavior.
The filesystem server’s 13 tools were auto-registered and called successfully.
The wizard has already validated CN 401 failure followed by a successful switch to SGP.
macOS Seatbelt blocked out-of-sandbox writes, proving the safety boundary is operational.
If you do not want to babysit prompts, wrappers, and environment-variable hacks, this is the sharper path.
Independent config, original code, and explicit protocol support make future extension much less fragile.
mimo-tui is MIT licensed. No Pro wall, no enterprise upsell layer, no ads, and no managed lock-in.
“MiMo” is a registered trademark of Xiaomi. mimo-tui is an independent community project and is not officially affiliated with Xiaomi.