About MiMo Code
MiMo Code is an AI coding assistant from Xiaomi, forked from OpenCode, that lives in the terminal. It writes code, runs commands, handles Git and keeps a persistent memory of each project. A full-access build agent and a read-only plan agent swap with the Tab key, and MCP servers extend its tools.
Hosted on CloudSat, MiMo Code carries on with long tasks after your laptop lid shuts. Its mimo serve mode can expose a session remotely, so keep that behind a firewall rule or an SSH tunnel.
After deploy the mimo command is installed, and the first launch walks you through picking a model provider.
What you get with MiMo Code
- Build agent with full tools and a read-only plan agent
- Persistent memory and context checkpoints
- Git operations, subagents and built-in workflows
- MCP servers declared in its config file
- MiMo models or other providers, including OpenAI-compatible APIs
MiMo Code use cases
- Pair programming over SSH on a remote dev server
- Trying Xiaomi's MiMo models on a real codebase
- Long refactors that run while you are away
After you deploy MiMo Code
- Open an SSH session to the server after it reaches Running, signing in as root with the Access tab password or your key.
- Change into a project folder and run
mimo; setup offers MiMo Platform login, other providers, or a custom OpenAI-compatible endpoint. - Press Tab to move between the build and plan agents, and start with plan on an unfamiliar repository.
- Work as a regular user inside
tmux, and keepmimo serveoff the public internet.
MiMo Code ports
Open these in your firewall if you use one: 22/tcp SSH (no public web port by default).
MiMo Code FAQ
Do I have to use Xiaomi's models?
No. The setup flow also lists other providers, accepts an OpenAI-compatible endpoint with your own API key, and can import existing Claude Code credentials.
Which license covers MiMo Code?
The source is MIT-licensed with an additional Use Restrictions document, and Xiaomi-hosted model services fall under the MiMo Terms of Service.
Disclaimer. The MiMo Code project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.