MiMo-Code
MiMo Code: Where Models and Agents Co-Evolve
MiMoCode is a terminal-native AI coding assistant that provides autonomous agent capabilities with persistent memory and continuous self-improvement. Built as a fork of OpenCode, it supports multiple LLM providers and includes advanced features like cross-session memory using SQLite full-text search, intelligent context management with automatic checkpointing, and a subagent orchestration system for parallel task execution. The agent offers multiple operational modes (build, plan, compose) with built-in skills for development workflows, plus deterministic JavaScript-based workflows for fire-and-forget task execution. It integrates with mainstream AI platforms including Xiaomi MiMo, OpenAI's Codex, and custom OpenAI-compatible endpoints, making it suitable for real-world coding projects that require long-horizon task management and context preservation across sessions.
Key Features
Use Cases
- 01Long-horizon software development projects requiring context preservation across multiple sessions
- 02Multi-phase development workflows with parallel task execution and automated testing
- 03Research-intensive coding tasks combining arXiv paper analysis with implementation
- 04Specification-driven feature development using the compose workflow from design to deployment
- 05Creating office documents, presentations, and PDFs directly from code and data
- 06Autonomous optimization loops with metric-driven evaluation and iterative improvement
Related Agents
View morehermes-agent
The agent that grows with you
agency-agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
openinterpreter
A coding agent for open models like Kimi K3
cline
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
MiMo-Code — FAQ
What is MiMoCode?+
MiMoCode is a terminal-native AI coding assistant built as a fork of OpenCode. It adds persistent memory, intelligent context management, subagent orchestration, and self-improvement capabilities to support long-horizon development tasks with context preservation across sessions.
How do I install MiMoCode?+
On macOS/Linux, run 'curl -fsSL https://mimo.xiaomi.com/install | bash'. On Windows PowerShell, use 'irm https://mimo.xiaomi.com/install.ps1 | iex'. Alternatively, install via npm with 'npm install -g @mimo-ai/cli' on all platforms.
Which LLM providers does MiMoCode support?+
MiMoCode supports Xiaomi MiMo Platform, OpenAI Codex (ChatGPT Pro/Plus), any provider in its catalog (including xAI/Grok), and custom OpenAI-compatible endpoints. You can configure authentication via OAuth or API keys depending on the provider.
Is MiMoCode free to use?+
The MiMoCode software is open source under the MIT License. However, using it requires an LLM provider API key or subscription (Xiaomi MiMo, OpenAI, or compatible services), which may have associated costs depending on your provider and usage.
What are the prerequisites for voice input?+
Voice input requires a Xiaomi MiMo logged-in account and the 'sox' audio tool installed on your system (install with 'brew install sox' on macOS). WSL and remote SSH environments require additional PulseAudio configuration as documented in the README.
Can I use MiMoCode with other AI coding tools?+
Yes, Xiaomi MiMo models work in other tools like Cursor, Cline, and Zed. The awesome-mimo-agent repository provides setup guides for using MiMo models in those environments, though MiMoCode-specific features like persistent memory and workflows are only available in the MiMoCode CLI.
How do I install MiMo-Code?+
Open the source repository on GitHub and follow its README. MiMo-Code is a agent — MCP Agents Market links you directly to the official repo.
Is MiMo-Code free?+
MiMo-Code is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.