AgentTether:用于可靠大语言模型代理操作的图引导诊断与运行时干预
AgentTether: Graph-Guided Diagnosis and Runtime Intervention for Reliable LLM Agent Operation
AI总结:
研究LLM代理生产可靠性有限问题,提出AgentTether运行时修复框架,通过抽象运行、构建关键转换图等定位故障子轨迹并转换为指导,经实验评估,该框架能提高修复效果,减少资源消耗,为代理部署提供实用可靠性层。
摘要:
大语言模型(LLM)代理越来越多地用于多步骤、有状态的工具使用任务,但生产可靠性仍然有限。与静态软件修复不同,代理修复必须恢复动态轨迹,其早期决策可能会传播到后期错误和外部状态变化中。现有自动补救措施仅解决了部分问题。我们提出了AgentTether,一个运行时修复框架,可在不修改底层代理或环境的情况下自动进行运行后诊断和引导恢复。它将每次运行抽象为转换单元,通过依赖感知关键转换图链接它们,并通过结合离线正常行为模型和运行时局部图检测器来定位关键故障子轨迹。然后将定位的原因转换为行为范围的指导,并可选择应用有保护的运行时干预以在重新执行期间保持纠正有效。我们在三个领域的261个tau-bench任务上对AgentTether进行了评估,并在银行业务中对GPT-5.4进行了跨模型转移测试。在最难的银行业务领域,AgentTether修复了59.04%(49/83)的初始失败的Qwen3.7-max任务和65.12%(56/86)的初始失败的GPT-5.4任务。总体而言,AgentTether提高了修复效果,同时减少了代理轮次和端到端方法令牌,表明它是一个实用的可靠性层,可以包装现有代理部署,减少浪费的重新执行,并在不重新训练代理的情况下改善恢复。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。