# MiMoCode

> Xiaomi's terminal AI coding agent, a fork of OpenCode with persistent memory, subagents and autonomous goal loops

Source: https://talira.ai/catalog/mimocode-x93qhsk0
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / ai coding / agents](https://talira.ai/categories/developer-tools/ai-coding/agents)
- Platforms: macos, linux, windows[^2]
- Licence: MIT[^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Xiaomi](https://talira.ai/orgs/xiaomi.md)
- Forked from [OpenCode](https://talira.ai/catalog/opencode-fn6hh4gp.md). Xiaomi built MiMoCode on OpenCode to add persistent memory, context management, subagents and autonomous loops.

MiMoCode is Xiaomi's terminal-native AI coding assistant: it reads and writes code, runs commands, manages Git and keeps a persistent memory of your project across sessions. It's a fork of [OpenCode](https://talira.ai/catalog/opencode-fn6hh4gp.md) that keeps OpenCode's providers, TUI, LSP, MCP and plugins, and adds intelligent context management, subagent orchestration, goal-driven autonomous loops, Dynamic Workflows and self-improvement. It connects to any mainstream LLM provider: Xiaomi's MiMo platform, a ChatGPT Plus or Pro login through Codex, credentials imported from Claude Code, catalog providers by API key, or any OpenAI-compatible API. It installs with a script on macOS, Linux and Windows, can run as a server for a remote host, and is MIT licensed.

## Links

- Website: https://mimo.xiaomi.com/mimocode
- GitHub: https://github.com/XiaomiMiMo/MiMo-Code

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/mimo-code>[^1]

## Problems it solves

- I want an open source terminal coding agent that remembers my project between sessions
- I need a coding agent that can use my ChatGPT subscription
- I want a coding agent that can run long autonomous tasks toward a goal

## Features

- Reads and writes code, runs commands and manages Git
- Persistent project memory across sessions
- Subagent orchestration and goal-driven autonomous loops
- Dynamic Workflows
- OpenCode's providers, TUI, LSP, MCP and plugins
- Connects to MiMo, ChatGPT via Codex login, Claude Code credentials or any OpenAI-compatible API
- Server mode for remote hosts

## Limitations

- It doesn't support macOS's built-in Terminal app; use iTerm2 or another terminal.[^2]

## Trust

Overall: 0.72 out of 1.
Signals: maintenance 1.00, adoption 0.83, momentum 1.00, community 0.57, backing 0.30, extensibility 0.00.

- last commit today
- 300 commits in the last 90 days
- latest release v0.1.18 2 days ago
- 13.8k GitHub stars
- fast-growing: 13.8k stars in 5 months
- 25 contributors
- 154 Homebrew installs in 30 days
- backed by Xiaomi

Warnings:

- young project (first commit 5 months ago)

## Alternatives

- [OpenCode](https://talira.ai/catalog/opencode-fn6hh4gp.md): The open source coding agent.
- [Prime Agent](https://talira.ai/catalog/prime-agent-ys2pshgw.md): Self-improving coding and research agent built on a persistent Python REPL
- [Codex](https://talira.ai/catalog/codex-8m7d8cdk.md): Lightweight coding agent that runs in your terminal
- [Letta](https://talira.ai/catalog/letta-8fr9dnmv.md): Build stateful agents with memory that can learn and improve over time
- [Amp](https://talira.ai/catalog/amp-bzzdf2yc.md): A coding agent and development environment built for the frontier
- [Crush](https://talira.ai/catalog/crush-638tqx7p.md): Glamourous agentic coding for all

## Sources

[^1]: https://formulae.brew.sh/api/formula/mimo-code.json (checked 30 Nov 2026)
[^2]: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/README.md (checked 30 Nov 2026)
[^3]: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/LICENSE (checked 30 Nov 2026)
