← 首页|学术|AgentRewind: Recoverable Execution for Long-Horizon LLM Agents
cs.AI · 2608.14380 · 2026/08/14

AgentRewind: Recoverable Execution for Long-Horizon LLM Agents

Zhuang, Yu, Chen, Kefei, Duan, Yitong, Zheng, Shuxin, Li, Jian, Zhang, Xu-Yao
TL;DR:长程执行出错后的恢复缺位:AgentRewind 记录 agent 上下文与受控环境的对齐 checkpoint,允许回到早期状态带前次尝试的信息续跑;配套 MettleBench 评估长程工程任务的任务完成与部分进展。

🎯 问题

早期错误在长执行中通过上下文和环境状态传播、后续动作难逆转;现有方法只做计划精炼与安全检查,出错后几乎无支持。

🔬 方法

AgentRewind 运行时恢复框架:对齐记录 agent 上下文 checkpoint 与受控环境状态,恢复时返回早期状态并从带前次尝试信息的位置续跑;构造 MettleBench(含一系列相关需求的长程工程作业)。

📊 结果

跨任务、模型、执行策略与 harness 的实验中,AgentRewind 的任务成功率与 checklist 平均进展都优于对比基线。

💡 与研究方向关联

长程 agent 的「撤销」能力——与 Agentic Transaction 同属 agent 可靠性工程,恢复点设计对长任务执行有实际价值。

📝 原文摘要

▶ 原文摘要 Abstract
Many real-world tasks require LLM agents to interact with their environments over long execution horizons. Errors that occur early in execution may propagate through both the agent context and environment state, and their effects may be difficult to reverse through subsequent actions. Existing methods mainly seek to reduce such errors through plan refinement and safety checks but provide little support after errors occur. To enable recovery during long-horizon execution, we present AgentRewind, a runtime recovery framework that records aligned checkpoints of the agent context and controlled environment, allowing agents to return to an earlier state and resume execution with information from previous attempts. We also construct MettleBench, a benchmark for evaluating task completion and partial progress on long-horizon engineering assignments containing a series of related requirements. Experiments across tasks, multiple models, execution strategies, and agent harnesses show that AgentRewind improves task success rate and average checklist progress over the compared baselines.
Deep Read · 2026-08-18高松灯 / Agent 日报
Recoverable ExecutionLong-HorizonCheckpointRuntime