REVISE: Validity-Guided Recovery for Online Revisions in Agent Workflows
cs.AI
Submitted: 2026-09-01
Updated: 2026-09-01
License: http://creativecommons.org/licenses/by/4.0/
The gist: Agent revisions expose a fundamental correctness--efficiency trade-off during concurrent execution.
Terminology
Abstract
Agent revisions expose a fundamental correctness--efficiency trade-off during concurrent execution. Discarding ongoing work preserves latest-version correctness but wastes progress that may remain valid, whereas reusing prior work preserves efficiency but risks propagating stale state into outputs and tool effects. Existing recovery strategies resolve this trade-off in an imbalanced way with coarse-grained policies: they either favor efficiency by allowing potentially stale work to continue, or favor correctness by restarting the workflow or recomputing a linear suffix from the earliest conflict, thereby discarding unaffected progress. We present Revise, a validity-guided runtime for fine-grained recovery in structured agent workflows. When a revision arrives, Revise first intersects its delta with recorded data and control dependencies and propagates the resulting impact through the partially executed DAG to identify affected work. It then stops invalid work, preserves validity-established progress beyond the earliest conflict, and recomputes only the affected region. Incomplete provenance conservatively expands recovery, while reused results are revalidated before commit. Analysis of real coding-agent traces show online recovery opportunities: 118 sessions retain observable work before a queued later message is delivered; across 167 overlapping assistant responses, enqueue-to-completion overlap reaches 56.55 s at p95. Across 300 challenging revision/commit executions, Revise matches a latest-version oracle with no stale outputs or effects. On unmodified LangGraph and LLMCompiler applications using Qwen3-14B, it reduces model calls by 40.6--56.0% relative to full restart and by 31.3--43.6% relative to suffix recomputation. Under serving pressure, it further reduces revision-to-correct-completion tokens by 13.26% and improves SLO goodput by 3.07--5.43%.
Sources
- SWE-chat: Coding Agent Interactions From Real Users in the Wild
- SGLang: Efficient Execution of Structured Language Model Programs
- Revisable by Design: A Theory of Streaming LLM Agent Execution
- Atomix: Timely, Transactional Tool Use for Reliable Agentic Workflows
- Cordon: Semantic Transactions for Tool-Using LLM Agents
- An LLM Compiler for Parallel Function Calling
- SWE-Review: Closing the Loop on Issue Resolution with Agentic Code Review
- DART: Semantic Recoverability for Structured Tool Agents
- Parallelizing Tool Execution and LLM Generation for Low-Latency Agent Serving
- Leyline: KV Cache Directives for Agentic Inference
- DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollback
- Crab: A Semantics-Aware Checkpoint/Restore Runtime for Agent Sandboxes
- TraceLab: Characterizing Coding Agent Workloads for LLM Serving
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems