Codex + Claude Workflows / Foundation

Xiaomi MiMo Code: Free Coding Agent That Remembers Your Project, Forget OpenCode

MIMO code is Xiaomi's open-source fork of Open Code that differentiates itself with a layered persistent-memory system (project memory, checkpoints, scratch notes, task logs) designed to keep coding agents oriented across long, multi-session tasks, and the video walks through its self-reported benchmarks, install flow, and build/plan/compose modes.

AI Stack Engineer9 minTranscript found

Quick learning frame

Read this before watching.

Coding-agent workflow is the loop of inspect, route, plan, edit, verify, summarize, and decide what should be automated next.

New playlist item from AI Stack Engineer; queued for transcript-backed review, topic mapping, and a practical learning artifact.

Skill you build: The ability to evaluate a coding agent's real differentiator, persistent cross-session memory versus one-shot benchmark performance, and to test that claim by running a long, multi-day project through it rather than trusting vendor-reported scores alone.

Watch for the shift from claim to mechanism. The learning value is the point where the transcript reveals a repeatable action, tool boundary, context move, review habit, or artifact.

Concept diagram

Where this video fits.

01Inspect context
02Route tool
03Plan work
04Edit safely
05Verify behavior
06Report next step

Deep lesson

Turn this video into working knowledge.

1,502 cleaned transcript words reviewed across 442 timed caption segments.

Thesis

Xiaomi MiMo Code: Free Coding Agent That Remembers Your Project, Forget OpenCode teaches a practical coding-agent workflow move: MIMO code is Xiaomi's open-source fork of Open Code that differentiates itself with a layered persistent-memory system (project memory, checkpoints, scratch notes, task logs) designed to keep coding agents oriented across long, multi-session tasks, and the video walks through its self-reported benchmarks, install flow, and build/plan/compose modes.

The goal is not to remember the video. The goal is to extract the operating principle, tie it to timestamped evidence, test how far the claim transfers, and make something reusable.

0:00

Memory over one-shot speed

“Xiaomi just put out a terminal coding agent called MIMO code. And the one thing worth paying attention to is the memory. Most coding agents you use today have a short attention span. You open a session, you...”

MIMO code is a fork of Open Code that keeps all its base features (multi-provider support, terminal interface, LSP, MCP, plugins) but adds a layered persistent-memory system: a project memory.md file for rules and architecture decisions, checkpoint snapshots of session state, scratch notes for temporary context, and per-task progress logs, all backed by full-text search so relevant memory is re-injected automatically on resume. List the project decisions and rules your current coding agent forgets between sessions, and note which of those a memory.md-style file would actually capture.

3:52

Where the win rate actually shows up

“agent doesn't have to relearn your project from zero. That's the difference you feel. The context management sits right next to that. When your context gets close to the limit, instead of just falling over, MIMO code rebuilds...”

Xiaomi's self-reported SWEBench and Terminal Bench numbers only edge out Claude Sonnet 4.6 slightly, but the human evaluation of 576 developers across 474 repos found the two tools roughly a coin flip under 200 execution steps, with MIMO code's win rate climbing above 65% once a task passed 200 steps, showing the memory design pays off specifically on long, multi-session work rather than quick one-off tasks. Before trusting a coding-agent benchmark claim, check whether it was measured on short one-shot tasks or on long multi-session tasks, since the two can tell very different stories.

7:08

Install tradeoffs to weigh

“can read, write, run commands. plan is read only. So it explores your code and designs a solution without touching anything which is the one I reach for first on anything real. And compose is the orchestration mode...”

MIMO code installs via curl, PowerShell, or a global npm package, and on first launch offers Mimo Auto (a free, zero-config anonymous channel), Xiaomi OAuth, an import of existing Claude Code credentials, or a custom OpenAI-compatible provider across roughly 75 supported providers; the catch is that Mimo Auto is free only temporarily and routes your code context through Xiaomi's servers, a dealbreaker for sensitive IP. Before choosing Mimo Auto for a real project, decide whether your code can leave your own infrastructure, and if not, set up a custom provider instead.

01

Inspect context

Start with this video's job: MIMO code is Xiaomi's open-source fork of Open Code that differentiates itself with a layered persistent-memory system (project memory, checkpoints, scratch notes, task logs) designed to keep coding agents oriented across long, multi-session tasks, and the video walks through its self-reported benchmarks, install flow, and build/plan/compose modes. Treat "Inspect context" as the outcome you are trying to make visible, not a topic label. Anchor it to 0:00, where the video says: “Xiaomi just put out a terminal coding agent called MIMO code. And the one thing worth paying attention to is the memory. Most coding agents you use today have a short attention span. You open a session, you...”

02

Route tool

Use "Route tool" to locate the part of the coding-agent workflow mechanism the video is demonstrating. Ask what changes in your real setup if this claim is true. Anchor it to 3:52, where the video says: “agent doesn't have to relearn your project from zero. That's the difference you feel. The context management sits right next to that. When your context gets close to the limit, instead of just falling over, MIMO code rebuilds...”

03

Plan work

Turn "Plan work" into the reusable artifact for this lesson: A coding-agent routing and execution matrix with context needed, tool choice, verification, and done signal. This is where watching becomes something you can inspect and reuse.

04

Edit safely

Use "Edit safely" as the application surface. Decide whether the idea touches a browser flow, a local file, a model choice, a source document, a UI, or a review step.

05

Verify behavior

Use "Verify behavior" to prove the lesson. The evidence should connect back to the video title, transcript anchors, and a concrete output, not a generic best-practice claim.

06

Report next step

Use "Report next step" to carry the idea forward: save the prompt, checklist, diagram, or operating rule that would make the next agent run better.

Example

Source-backed artifact packet

Convert the video into a scoped artifact request that includes the transcript claim, mechanism, acceptance criteria, and proof. The output should be a coding-agent routing and execution matrix with context needed, tool choice, verification, and done signal..

Example

Coding-agent workflow proof brief

Separate what the speaker claims, what the demo actually proves, and what still needs outside verification before you adopt the coding-agent workflow pattern.

Example

Teach-back module

Transform the lesson into a definition, a Inspect context -> Route tool -> Plan work -> Edit safely -> Verify behavior -> Report next step diagram, one misconception, one practice exercise, and a check-for-understanding question.

Do not learn it wrong
  • Treating the title as the lesson without checking what the transcript actually says.
  • choosing tools by hype
  • losing context across agents
  • letting parallel sessions become invisible
  • Letting the lesson drift into generic Codex vs Claude comparison.
  • Letting the lesson drift into feature lists without task routing.
  • Letting the lesson drift into claims that ignore limits or recovery.

Transcript-derived moments

Use timestamps to study the actual video.

Quality check

Do not count this as learned until these are true.

01

State the transcript-backed claim in your own words: MIMO code is Xiaomi's open-source fork of Open Code that differentiates itself with a layered persistent-memory system (project memory, checkpoints, scratch notes, task logs) designed to keep coding agents oriented across long, multi-session tasks, and the video walks through its self-reported benchmarks, install flow, and build/plan/compose modes.

02

Explain the practical stakes without hype: New playlist item from AI Stack Engineer; queued for transcript-backed review, topic mapping, and a practical learning artifact.

03

Map the idea onto the Inspect context -> Route tool -> Plan work -> Edit safely -> Verify behavior -> Report next step sequence and name the weakest link.

04

Produce the artifact and include the evidence that proves it: A coding-agent routing and execution matrix with context needed, tool choice, verification, and done signal.

Put it into practice

Give this grounded prompt to Codex or Claude after watching.

You are helping me turn one specific YouTube video into real, durable learning.

Source video:
- Title: Xiaomi MiMo Code: Free Coding Agent That Remembers Your Project, Forget OpenCode
- URL: https://www.youtube.com/watch?v=QVKErH52Z0A
- Topic: Codex + Claude Workflows
- My current learning frame: Install MIMO code via the free Mimo Auto channel, run a plan-mode exploration on a real multi-file project, then close the session and reopen it the next day to check whether the persistent memory actually recalls prior architecture decisions.
- Why this matters: New playlist item from AI Stack Engineer; queued for transcript-backed review, topic mapping, and a practical learning artifact.

Transcript anchors from this exact video:
- 0:00 / Evidence 1: "Xiaomi just put out a terminal coding agent called MIMO code. And the one thing worth paying attention to is the memory. Most coding agents you use today have a short attention span. You open a session, you..."
- 1:37 / Evidence 2: "tasks. Xiaomi ran their own benchmarks, pairing MIMO code with their MIMO v2.5 Pro model against Claude Code with Claude Sonnet 4.6. On the standard tests, they reported numbers slightly ahead. So 82% versus 79 on SWEBench verified,..."
- 3:52 / Evidence 3: "agent doesn't have to relearn your project from zero. That's the difference you feel. The context management sits right next to that. When your context gets close to the limit, instead of just falling over, MIMO code rebuilds..."
- 5:32 / Evidence 4: "command. And there's also an npm install if you'd rather go that route, which installs their CLI package globally. I'll grab the install line, paste it into the terminal, and let it finish. Once it's installed, the first..."
- 7:08 / Evidence 5: "can read, write, run commands. plan is read only. So it explores your code and designs a solution without touching anything which is the one I reach for first on anything real. And compose is the orchestration mode..."
- 8:48 / Evidence 6: "one, and see if the memory holds up the way they say. That's the only test that counts. All right, so that's it from the video, and I hope you enjoyed it. If you did, please like this..."

Video-aware target:
- Prompt lane: Coding-agent workflow
- Mechanism to extract: Find the workflow rule that explains when and how to use Codex, Claude Code, browser control, dashboards, or manual review.
- Artifact to produce: A coding-agent routing and execution matrix with context needed, tool choice, verification, and done signal.
- Artifact must include: task class; agent/tool choice; context packet; verification step; handoff/recovery rule

Your task:
1. Use the transcript anchors above as the primary source packet. If you add outside context, label it clearly as outside context and keep it secondary.
2. Create a source-check table with columns: timestamp, claim, transcript support, what the demo proves, confidence, and what still needs verification.
3. Extract the actual teachable mechanism from the video: Find the workflow rule that explains when and how to use Codex, Claude Code, browser control, dashboards, or manual review. Do not invent claims that are not supported by the title, lesson frame, or transcript anchors.
4. Build a reusable learning artifact: A coding-agent routing and execution matrix with context needed, tool choice, verification, and done signal.
5. Include:
   - a plain-English definition of the core idea
   - a diagram or structured model using this sequence: Inspect context -> Route tool -> Plan work -> Edit safely -> Verify behavior -> Report next step
   - answers to these source questions: What workflow pain is being solved? | What exact coordination mechanism is shown? | What evidence proves it changes the work?
   - 3 concrete examples that apply the video idea to real agentic work, such as rate-limit routing; browser verification after a UI edit; long-running /goal session review
   - 2 failure modes the video helps prevent, chosen from the transcript evidence and these likely risks: choosing tools by hype; losing context across agents; letting parallel sessions become invisible
   - a checklist for the next real workflow, focused on: routing decision, context portability, verification, handoff summary
   - one practical exercise with a clear done signal: Route three recent tasks across Codex, Claude, browser checks, and manual review with a reason for each.
6. Add a "learning transfer" section: what changes in my workflow tomorrow if I actually learned this?
7. Add a "source check" section that cites which transcript anchor supports each major takeaway.

Quality bar:
- Make this specific to "Xiaomi MiMo Code: Free Coding Agent That Remembers Your Project, Forget OpenCode", not a generic Codex + Claude Workflows essay.
- Each workflow rule must point to a timestamped claim or demo moment, then state what remains unproven.
- Prefer operational examples, failure modes, and reusable artifacts over broad definitions.
- Call out uncertainty instead of smoothing over weak evidence.
- Avoid these generic drifts: generic Codex vs Claude comparison; feature lists without task routing; claims that ignore limits or recovery.
- If evidence is weak or missing, stop and say what transcript segment or timestamp needs review instead of guessing.
- Finish with a concise artifact I could paste into my learning app.

Misconceptions

What to stop believing.

One agent should do every task.

Different tools have different strengths. Routing is part of the workflow.

More context is always better.

Relevant context helps; stale context causes drift and cost.

Practice studio

Learning only counts when you make something.

01

Transcript evidence map

Separate what the video actually says from what you already believe about the topic.

3 source-backed takeaways with timestamps, confidence, and a transfer note.
02

One useful artifact

Apply the video to a real workflow and produce a coding-agent routing and execution matrix with context needed, tool choice, verification, and done signal..

A reusable artifact with a done signal and one verification step.
03

Coding-agent workflow teach-back card

Explain the coding-agent workflow mechanism to someone who has not watched the video yet.

A 90-second explanation, one diagram, one example, and one misconception to avoid.

Recall check

Answer first, then reveal — without rewatching.

What is MIMO code built on, and what is its core differentiator from other coding agents?

According to the human evaluation of 576 developers, what happened to MIMO code's win rate once a task passed 200 execution steps?

What is the tradeoff of using the free Mimo Auto connection option at first launch?

Source shelf

Use the video as a doorway, then verify with primary sources.

ReadingOpenAI Codexopenai.com/codex/ReadingClaude Code Overviewdocs.anthropic.com/en/docs/claude-code/overview