# Xiaomi Open-Sources MiMo Code v0.1.0 — Terminal-Native Coding Agent With Cross-Session Memory Posts 62% on SWE-Bench Pro and 73% on Terminal-Bench 2

> Xiaomi ships a terminal coding agent forked from OpenCode that remembers projects across sessions and beats Claude Code on two benchmarks.

- Org: Xiaomi
- Date: 2026-06-10
- Category: tool, repo
- Source: https://github.com/XiaomiMiMo/MiMo-Code
- Canonical page: https://ai-tldr.dev/releases/xiaomi-mimo-code/

## In short

MIT-licensed coding agent forked from OpenCode. Ships with free MiMo-V2.5 backend, SQLite FTS5 persistent memory across sessions, Tab-activated Compose mode, and voice input. 4.1K stars in one day.

## What it is

MiMo Code is an open-source CLI coding agent for long-running software projects. It reads and writes code, runs commands, manages git, and persists project context across sessions in a local SQLite store so it picks up where you left off rather than re-discovering the codebase each run.

## How it works

Built on top of OpenCode in TypeScript, MiMo Code adds three memory mechanisms — project memory, session checkpoints, and task progress — backed by SQLite FTS5 for retrieval. A Tab-activated Compose mode chains design, planning, coding, testing, and review with specialized subagents. Defaults to Xiaomi's MiMo-V2.5 multimodal model but accepts any OpenAI-compatible backend including DeepSeek, Kimi, GLM, and Claude.

## Why it matters

Coding agents that forget the project every session are the loudest complaint about Claude Code, Cursor, and Codex; baking persistent memory into a free, MIT-licensed terminal agent that beats Claude Code by ~5pp on SWE-Bench Pro and Terminal-Bench 2 puts pressure on every paid coding-agent vendor to match the workflow without a subscription.

## Who it's for

developers running long-lived coding agents in the terminal

## Try it

curl -fsSL https://mimo.xiaomi.com/install | bash

## Links

- [GitHub Repo](https://github.com/XiaomiMiMo/MiMo-Code)
- [Product Page](https://mimo.xiaomi.com/mimocode)
- [Coverage](https://www.gizmochina.com/2026/06/11/xiaomi-mimo-code-open-source-terminal-ai-coding-agent/)
- [HN Discussion](https://news.ycombinator.com/item?id=48484584)
