DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollback
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
LLM-powered AI agents require high-frequency state exploration (e.g., test-time tree search and reinforcement learning), relying on rapid checkpoint and rollback (C/R) of the complete sandbox state, including files and process state (e.g., memory, contexts, etc.). Existing mechanisms duplicate the entire state, causing hundreds of milliseconds to seconds of latency per C/R, which severely bottlenecks deep search and large-scale fan-outs. This paper observes that subsequent checkpoints in AI agents are highly similar. Therefore, instead of full duplication, a sandbox should only duplicate the changes between consecutive checkpoints (Key Insight). However, it is non-trivial to realize the idea, mainly due to the missing OS supports. This paper proposes a new OS-level abstraction, DeltaState, to enable the change-based transactional C/R for AI agents with two co-designed OS mechanisms. First, DeltaFS enables change-based filesystem C/R by organizing the file states into layers and dynamically freezing the writable layer and inserting a new one during checkpoint, reducing file updates to copy-on-write, and making rollback a simple layer switch. Second, DeltaCR enables change-based process state C/R using incremental dumps, and accelerates rollback by bypassing traditional pipelines to directly fork() from a frozen template process. We then present DeltaBox, a novel agent sandbox achieving millisecond level C/R through the two new mechanisms. Evaluations on SWE-bench and RL micro-benchmarks show DeltaBox completes checkpoint and rollback in millisecond-level latency (14ms and 5ms, respectively), empowering agents to explore substantially more nodes under fixed time budgets.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 71 references that are in the map. First posted on arXiv 21 May 2026.
Builds on
19 of 71 references.
Closest ancestors · 3
Same direction, newest first
- 2026Crab: A Semantics-Aware Checkpoint/Restore Runtime for Agent Sandboxes30 Apr
- 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement26 Oct
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
Other references · 16
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 991
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 263
- 2025Agent Lightning: Train ANY AI Agents with Reinforcement Learningcited by 109
- 2025Training Long-Context, Multi-Turn Software Engineering Agents with Reinforcement Learningcited by 36
- 2021Benchmarking, Analysis, and Optimization of Serverless Function Snapshotscited by 12
- 2025MobiAgent: A Systematic Framework for Customizable Mobile Agentscited by 9
4 more
- 2025Fault-Tolerant Sandboxing for AI Coding Agents: A Transactional Approach to Safe Autonomous Executioncited by 9
- 2025Toward Systems Foundations for Agentic Explorationcited by 4
- 2025TrEnv-X: Transparently Share Serverless Execution Environments Across Different Functions and Nodescited by 1
- 2025Taming Serverless Cold Starts Through OS Co-Designcited by 1
Built on by
Citing papers per year: 2026: 12.
12 papers.
- 2026AgentRewind: Recoverable Execution for Long-Horizon LLM Agentscited by 7
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AIcited by 6
- 2026Agentic Transaction: Towards ACID-Compliant Agent Systemscited by 3
- 2026Business Arena: Benchmarking LLM Agents in a Realistic Marketplacecited by 2
- 2026Safe to Resume? Breaking Execution Continuity of Agent Execution via Rollbackcited by 2
- 2026APPA: Recoverable Information-Flow Control for Real-World LLM Agentscited by 1
- 2026The Balkanization of Execution-Security Research for AI Coding Agents: Isolation, Access Control, and Time-of-Check-to-Time-of-Use Vulnerabilitiescited by 0
- 2026Where Is the Tradeoff in Using Third-Party API Routers for Agentic Software Development?cited by 0
- 2026A Contract-Centered Architecture for Scalable and Manageable Agentic Runtimescited by 0
- 2026REVISE: Validity-Guided Recovery for Online Revisions in Agent Workflowscited by 0
- 2026Planarian: Managing Agent State with Statepointscited by 0
- 2026RippleCP: Measuring Counterfactual Checkpoint Advantage in Coding Agentscited by 0
- 2026RippleCP: Measuring Counterfactual Checkpoint Advantage in Coding Agents6 Oct 2026
- 2026Planarian: Managing Agent State with Statepoints28 Sep 2026
- 2026REVISE: Validity-Guided Recovery for Online Revisions in Agent Workflows1 Sep 2026
- 2026Safe to Resume? Breaking Execution Continuity of Agent Execution via Rollback29 Aug 2026
- 2026A Contract-Centered Architecture for Scalable and Manageable Agentic Runtimes27 Aug 2026
- 2026AgentRewind: Recoverable Execution for Long-Horizon LLM Agents14 Aug 2026
- 2026Agentic Transaction: Towards ACID-Compliant Agent Systems14 Aug 2026
- 2026Business Arena: Benchmarking LLM Agents in a Realistic Marketplace9 Aug 2026
- 2026APPA: Recoverable Information-Flow Control for Real-World LLM Agents27 Jul 2026
- 2026Where Is the Tradeoff in Using Third-Party API Routers for Agentic Software Development?26 Jul 2026
- 2026The Balkanization of Execution-Security Research for AI Coding Agents: Isolation, Access Control, and Time-of-Check-to-Time-of-Use Vulnerabilities7 Jul 2026
- 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AI12 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026Exploration Structure in LLM Agents for Multi-File Change Localization
- 2026Execution-State Capsules: Graph-Bound Execution-State Checkpoint and Restore for Low-Latency, Small-Batch, On-Device Physical-AI Serving
- 2026SPROUT: Scaling Agentic Reinforcement Learning for Long-Horizon Software Engineering
- 2026NeMo-DCR: Bit-Exact Delta-Compressed Refit for Scalable Agentic RL at Trillion-Parameter Scale
- 2026No Time Like the Present: Agentic Test-Time Training for LLM Agents
- 2026MemPilot: Orchestrating On-Demand Multimodal Memory Curation for LLM Agents
- 2026SpecBox: Speculative Sandbox Scheduling for Efficient LLM Agent Serving
- 2026Memory Compression for High-Fanout Agent Sandboxes