mlsanityData to 7 Oct 2026

Planarian: Managing Agent State with Statepoints

arXiv 2609.35366 ↗First posted 28 Sep 2026cs.OS cs.AI cs.CRcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

LLM agents solve complex tasks by iteratively changing files, invoking local tools, and interacting with remote services, which modifies state across their local environment and remote services. Today, agents and users must manage these changes explicitly, whether reverting exploratory actions or recovering from erroneous ones. Doing so safely requires coordinated actions, yet current agent harnesses lack unified abstractions and mechanisms for managing local and remote state consistently and efficiently. We describe Planarian, an agent runtime with state management that enables agents and users to recover from erroneous actions and explore alternative executions over consistent local and remote environment state. Planarian introduces the abstraction of agent statepoints, which are consistent, restorable point-in-time versions of the environment state. Planarian exposes three state-management primitives to agents and users: (i) snapshot creates a new statepoint spanning local and remote state without requiring external services to support checkpoints: it relies on efficient incremental process and file system snapshotting to capture local sandboxed state, and transparently records compensating actions to undo remote state changes; (ii) rollback restores the environment to a previous statepoint by reverting to a prior local checkpoint and replaying compensating actions for remote state changes; and (iii) fork creates multiple isolated branches from a statepoint, enabling the agent to explore alternatives in parallel. We show that Planarian enables agents to undo mistakes and explore alternatives in parallel, improving task quality by up to 15x, and allows users to recover from erroneous actions with only 3% overhead.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 15 of its 37 references that are in the map. First posted on arXiv 28 Sep 2026.

Builds on

15 of 37 references.

Closest ancestors · 5

Same direction, newest first

  1. 2026DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollback21 May
  2. 2026LogAct: Enabling Agentic Reliability via Shared Logs9 Apr
  3. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement26 Oct
  4. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  5. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug

Other references · 10

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
  4. 2021Monte Carlo Tree Search: A Review of Recent Modifications and Applicationscited by 158
  5. 2025SycEval: Evaluating LLM Sycophancycited by 101
  6. 2024ExACT: Teaching AI Agents to Explore with Reflective-MCTS and Exploratory Learningcited by 61
  7. 2025SagaLLM: Context Management, Validation, and Transaction Guarantees for Multi-Agent LLM Planningcited by 58
  8. 2026GameWorld: Towards Standardized and Verifiable Evaluation of Multimodal Game Agentscited by 22
  9. 2026ACRFence: Preventing Semantic Rollback Attacks in Agent Checkpoint-Restorecited by 9
  10. 2026Learning to Explore: Scaling Agentic Reasoning via Exploration-Aware Policy Optimizationcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026CaveAgent: Transforming LLMs into Stateful Runtime Operators
  2. 2026StateWise: Diagnosing and Repairing Persistent Operational State Before Agent Actions
  3. 2026Crab: A Semantics-Aware Checkpoint/Restore Runtime for Agent Sandboxes
  4. 2026Agentao: A Policy-Governed Runtime Harness for Embeddable Tool-Using LLM Agents
  5. 2026Cordon: Semantic Transactions for Tool-Using LLM Agents
  6. 2026AgentRewind: Recoverable Execution for Long-Horizon LLM Agents
  7. 2026AgentFlow: A Flow-Centric Policy Language and Framework for Securing LLM Agent Systems
  8. 2026Shepherd: Enabling Programmable Meta-Agents via Reversible Agentic Execution Traces