
MiMoCode
A terminal AI coding assistant that reads, writes, and runs code and keeps project memory across sessions.
- Stars
- 13.7k
- Forks
- 1.5k
- Licence
- MIT
- Language
- TypeScript
- Last update
- 4 days ago
- Type
- CLI
What it is
MiMoCode is a coding assistant you run in the terminal. It can read and write code, run commands, and manage Git. It uses a persistent memory system so it can keep track of your project across sessions. The README says it can connect to any mainstream LLM provider API.
- Have the agent read and edit code in a project and run commands
- Switch to the plan agent to explore a codebase and design a solution without edits
- Store project rules and architecture decisions in MEMORY.md so they carry across sessions
- Add web search to the agent by enabling the built-in Exa tools or an MCP server
Great for
- Developers who work in the terminal and want an AI assistant there
- People who want the agent to remember project context between sessions
- Users who want to plug in their own model provider or API key
- Developers who want a read-only planning mode before making changes
Not ideal for
- People who need a graphical editor-only experience, since the README describes it as terminal-native
- Users on the built-in macOS Terminal.app, which the README says is not supported
- Anyone unwilling to configure a model provider, since first launch requires choosing and connecting one
How to get it
- 1
See the README
One-line install (macOS / Linux)
curl -fsSL https://mimo.xiaomi.com/install | bashOne-line install (Windows PowerShell)
powershell -ep Bypass -c "irm https://mimo.xiaomi.com/install.ps1 | iex" - 2
Run it
- Run the install command for your operating system
- Run `mimo` in a terminal
- Follow the first-launch setup to choose a login or provider
- Start a conversation in your project directory
- 3
Get the most out of it
- Enable web search with MIMOCODE_ENABLE_EXA=1 or by adding an MCP server, then check it with `mimo mcp`
- Use `/context-limit` or the compaction.max_context setting to compact earlier per model
- Use `mimo serve` on a remote host and `mimo attach` locally if the TUI lags over SSH
- Use the Tab key to switch between the build and plan agents
Downloads
Strengths
- Persistent memory (MEMORY.md, checkpoints, task notes) is injected when a session resumes
- Works with any mainstream LLM provider API, according to the README
- Has separate build (full tools) and plan (read-only) agents
Trade-offs
- The README's configuration options and provider details are extensive and partly described only in brief
- Some features, such as Computer control, are noted as international-version only and the README does not explain the difference in depth
- Terminal rendering and Windows encoding issues require workarounds described in the README
How it compares
| Project | Stars | Type | Level | Updated | Best for |
|---|---|---|---|---|---|
| MiMo-Code (this) | 13.7k | CLI | beginner | 4 days ago | Developers who work in the terminal and want an AI assistant there |
| plandex | 15.9k | CLI | intermediate | 1.1 years ago | Developers working in large codebases who want an AI agent to handle multi-file changes |
| ECC | 295k | Dev tool | intermediate | 4 days ago | Developers who already use Claude Code and want a shared workflow for planning, testing and review |
| deepseek-harness | 269k | Dev tool | intermediate | 7 days ago | Developers who want to experiment with an agent harness they can extend with plugins |
| hermes-agent | 260k | AI model / agent | intermediate | 4 days ago | Developers who want a personal agent they can host on their own server or machine |
| ponytail | 182k | AI model / agent | beginner | 8 days ago | Developers who use Claude Code or similar AI agents and find the generated code too long |
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.