惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
有赞技术团队
有赞技术团队
WordPress大学
WordPress大学
月光博客
月光博客
T
Tailwind CSS Blog
阮一峰的网络日志
阮一峰的网络日志
小众软件
小众软件
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
罗磊的独立博客
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
量子位
雷峰网
雷峰网
Apple Machine Learning Research
Apple Machine Learning Research
美团技术团队
博客园 - 聂微东
V
V2EX

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Xiaomi's MiMo Code gets better as tasks get harder. Here'...
Andrew Kew · 2026-06-15 · via DEV Community

Xiaomi's MiMo team just open-sourced MiMo Code — a terminal coding agent built on top of OpenCode, MIT licensed. The pitch isn't raw benchmark numbers. It's something more specific: what happens when a task takes 50, 100, or 200+ steps?

Most coding agents fall apart at scale. Context fills up, the model loses the thread, and it either halts or confidently completes the wrong thing. MiMo Code is explicitly engineered around those failure modes.

"A single step error rate gets amplified across long-horizon runs, with no human correction signal in the loop."

That framing shapes every architectural decision they made.

What actually changed (vs. standard coding agents)

MiMo Code organises its design around three themes: Compute, Memory, and Evolution.

Compute — spending more tokens on reliability, not just output:

  • Max Mode runs 5 parallel candidates each step (temperature=1), then uses a low-temperature judge to pick the best — before executing anything. 10–20% improvement on SWE-Bench Pro, at 4–5x token cost. Experimental, opt-in.
  • Goal is an independent verifier that fires when the agent tries to call "done." A separate model call reviews the full conversation history and checks whether the completion condition is actually met. If not, it tells the agent what's missing. Loop rate under 0.5%.
  • Dynamic Workflow converts orchestration from prompt text to executable JavaScript in an isolated sandbox. parallel(), pipeline(), barrier() — no more natural language step sequences that the model can skip or misinterpret.

Memory — keeping the logical session alive past the context window:

The key concept is a Cycle: the runtime inserts checkpoints at 20%, 45%, and 70% of the context budget (not when the window is almost full — deliberately early, when the model can still reason clearly). A background writer subagent reads the conversation and writes a structured 11-field checkpoint file. When the window eventually fills, the runtime opens a fresh window and rebuilds state from those files — under 65K tokens, covering tasks, session state, project memory, recent messages verbatim, and a tail reminder.

The main agent never writes its own memory. Only the writer touches those files. Single-writer, no ambiguity.

Evolution — not starting fresh every session:

Project-level memory (a MEMORY.md per repo) persists architecture decisions, user rules, verified facts. Every 7 days, a Dream agent consolidates and deduplicates it. Every 30 days, a Distill agent scans historical sessions for repeated patterns and promotes them into reusable skills and SOPs.

The benchmark that matters

On standard offline benchmarks (single-repo, one-shot problems), MiMo Code + MiMo-V2.5-Pro beats Claude Code + Claude Sonnet 4.6 across three evals. But Xiaomi flags this themselves: those benchmarks don't reflect what MiMo Code is actually optimised for.

Their human A/B test is more telling: 576 developers, 474 real private repos, 1,213 matched pairs, same task run against both agents blind. Under 200 steps: roughly 50/50. Over 200 steps: MiMo Code wins 65%+ of the time.

The architecture is doing exactly what it was designed to do.

What to do

  • Evaluating coding agents for long tasks? This is worth a look. Install is one line: npm install -g @mimo-ai/cli or curl -fsSL https://mimo.xiaomi.com/install | bash. Free tier uses MiMo-V2.5 with 1M token context.
  • Running Claude Code on short tasks? Probably no urgency — the under-200-step performance is comparable.
  • Building your own agent harness? The checkpoint-early insight (extract state at 20/45/70%, not 95%) and the separate writer subagent pattern are worth stealing regardless of what runtime you're using.
  • Interested in the model? MiMo-V2.5-Pro is what powers the competitive benchmark results. GitHub.

Source: MiMo Code: Scaling Coding Agents to Long-Horizon Tasks — Xiaomi MiMo Team, June 2026

✏️ Drafted with KewBot (AI), edited and approved by Drew.