← Lab /Systems

Planarian lets LLM agents undo mistakes and explore alternatives, boosting task quality up to 15x

The authors claim their runtime improves task quality up to 15× with only 3% overhead.

Systems arXiv 28 Sep 2026 Method Prototype evidence

Published as “Planarian: Managing Agent State with Statepoints”

Why it matters

Agents can safely backtrack and try alternative plans with minimal performance penalty, making LLM-driven automation more reliable in real deployments.

Summary

Planarian lets agents snapshot, rollback, and fork a combined local-and-remote environment, enabling agents to explore alternatives and recover from mistakes; it improves task quality up to 15× on a gaming benchmark and adds only about 3% overhead overall, though gains on other tasks are modest and some overhead remains.

What they found 5

  1. Task quality can increase dramatically when agents can rollback and explore alternatives

    “improving task quality by up to 15×, and allows users to recover from erroneous actions with only 3% overhead.”

  2. On three games, Planarian yields 15× (Mario) and 1.4× (Flappy Bird, Minecraft) score improvements over no-snapshot baseline

    “Planarian enables the LLM to find a better strategy within 100 steps compared to no state management: the agent achieves 15×, 1.4×, and 1.4× the Nosnapshot scores in Mario, Flappy Bird, and Minecraft, respectively.”

  3. Snapshot/rollback overhead is low: only 1% extra time versus no-snapshot, compared with 20% for a full-snapshot baseline

    “Planarian adds a 1% overhead, which is significantly faster than Fullsnapshot (20%)”

  4. For DevOps tasks, Planarian adds less than 3% extra time, while full-snapshot adds 59% overhead

    “Planarian requires less than 3% extra task completion time compared to No-snapshot; Full-snapshot adds a 59% overhead.”

  5. Managing both local and remote state consistently incurs about 3% end-to-end overhead

    “Planarian adds a 3% overhead to the end-toend time.”

Caveats 2

  • The large 15× gain is only observed on the Mario game; on Flappy Bird and Minecraft the improvement is only 1.4×
  • Even with Planarian, there is a measurable overhead (1%-3%) compared with a no-snapshot execution

What’s new here 4

  • Unified abstraction (statepoints) that captures both local sandbox state and remote service changes without requiring remote checkpoints
  • Incremental copy-on-write filesystem and process checkpointing to create fast snapshots
  • Automatic generation of compensating actions to undo remote MCP operations
  • Fork primitive that creates isolated branches for parallel exploration