explaingit

xiaomimimo/mimo-code

8,075TypeScriptAudience · vibe coderComplexity · 2/5LicenseSetup · easy

TLDR

An AI coding assistant that runs in your terminal, reads and writes code, and remembers project context between sessions using files on disk, so it can pick up where it left off instead of starting fresh every time.

Mindmap

mindmap
  root((MiMoCode))
    What it does
      AI coding in terminal
      Persistent memory
    Memory System
      MEMORY.md long-term
      Session checkpoints
      Per-task progress logs
    Working Modes
      Default full access
      Read-only planning
      Compose structured flow
    Key Commands
      /goal sets stop condition
      /dream updates memory
      /distill creates scripts
    Built by
      Xiaomi
      Forked from OpenCode
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Build a software project across multiple sessions without re-explaining your architecture each time, the assistant remembers decisions in MEMORY.md.

USE CASE 2

Use Compose mode to take a feature from written spec through code, tests, and review in one structured workflow.

USE CASE 3

Run the /distill command to turn repeated coding patterns in your recent work into reusable scripts automatically.

USE CASE 4

Use read-only planning mode to explore a codebase and think through a solution before making any changes.

Tech stack

TypeScriptNode.js

Getting it running

Difficulty · easy Time to first run · 5min

Free tier requires no API key setup, bring your own key if you want to use other AI providers.

MIT license for the source code, use freely in personal and commercial projects, separate terms apply to Xiaomi-hosted services.

In plain English

MiMoCode is an AI coding assistant that runs in your terminal and can read and write code, execute commands, manage Git, and remember things about your project across multiple sessions. That last part is what distinguishes it: most AI coding tools start fresh each time you open a new conversation, losing track of decisions and context. MiMoCode saves project knowledge to files on disk and reloads it automatically when you return, so the assistant can pick up roughly where it left off. The memory system works through a few different files. A MEMORY.md file stores long-term knowledge about the project, including architecture decisions and rules. A checkpoint file captures the current state of a session at key moments so the assistant can reconstruct context when it runs low, rather than simply stopping. There are also per-task progress logs that track what has been done toward a specific goal. The tool includes three main working modes you can switch between. The default mode has full permissions to make changes. A read-only planning mode lets you explore code and think through solutions without writing anything. A third mode called Compose follows a structured workflow from specification through code review, testing, and final delivery, orchestrating the whole process step by step. Some additional features: a /goal command lets you describe when a session should stop, and an independent judge model checks whether that condition has actually been met before the session ends. A /dream command reviews recent session history and updates the project memory file with new knowledge. A /distill command looks for patterns in your recent work and turns repeated workflows into reusable scripts. MiMoCode is built by Xiaomi and forked from an open-source project called OpenCode. It comes with a free tier that requires no setup, along with options to connect your own API key from other providers. The source code is released under the MIT license, with separate use restriction terms for the Xiaomi-hosted services.

Copy-paste prompts

Prompt 1
I'm starting a new project with MiMoCode. Write a MEMORY.md file that captures my project's architecture, tech stack choices, and coding conventions so the assistant loads this context automatically.
Prompt 2
Using MiMoCode's /goal command, set a goal for building a REST API endpoint, then describe what the judge model checks to confirm the goal is complete.
Prompt 3
I want to use MiMoCode's Compose mode to build a feature end to end. Walk me through the steps from writing a spec to getting reviewed, tested code.
Prompt 4
Explain how MiMoCode's checkpoint system works and how to trigger a checkpoint manually when I know context is running low.
Open on GitHub → Explain another repo

← xiaomimimo on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.