🤖 AI Summary
This work addresses the challenge of error propagation in large language model (LLM) agents during multi-step tool-use tasks, which often leads to execution failures that existing methods struggle to diagnose and repair effectively. The authors propose a runtime repair framework that abstracts execution trajectories into transition units and constructs a dependency-aware critical transition graph. By integrating an offline model of normal behavior with a runtime graph-based detector, the framework identifies faulty sub-trajectories and generates behaviorally consistent repair instructions. A key innovation is the introduction of the critical transition graph coupled with a cross-turn repair memory mechanism, enabling both online repair and offline diagnosis without modifying the agent or environment. Evaluated on the Banking task, the method successfully repairs 59.04% of initial failures by Qwen-3.7-Max and 65.12% by GPT-5.4, significantly reducing interaction turns and token consumption.
📝 Abstract
Large language model (LLM) agents are increasingly used for multi-step, stateful tool-use tasks, yet production reliability remains limited. Unlike static software repair, agent repair must recover dynamic trajectories whose early decisions can propagate into later errors and external state changes. Existing automatic remedies address only part of this problem: blind retry adds no diagnosis, outcome feedback says whether a run failed but not where or why, and self-reflection often lacks grounded evidence to prevent the same failure from recurring. We present AgentTether, a run-time repair framework that automates post-run diagnosis and guided recovery without modifying the underlying agent or environment. AgentTether abstracts each run into Transition Units, links them through a dependency-aware Critical Transition Graph, and localizes failure-critical subtrajectories by combining an offline normal-behavior model with a run-local graph detector. It then converts the localized cause into behavior-scoped guidance backed by cross-iteration Repair Memory, and can optionally apply guarded run-time intervention to keep the correction active during re-execution. The same design can be deployed as an offline diagnostic-and-guidance tool or as an online repair layer.
We evaluate AgentTether on 261 tau-bench tasks across three domains with Qwen3.7-max, and test cross-model transfer on Banking with GPT-5.4. On the hardest Banking domain, AgentTether repairs 59.04% (49/83) of initially failed Qwen3.7-max tasks and 65.12% (56/86) of initially failed GPT-5.4 tasks. Overall, AgentTether improves repair effectiveness while reducing agent turns and end-to-end approach tokens, suggesting a practical reliability layer that can wrap existing agent deployments, reduce wasted re-execution, and improve recovery without retraining the agent.