arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.34679cs.LG
收藏

AT-AT:基于智能体轨迹的自动工具优化

AT-AT: Automatic Tool Optimization from Agent Traces

Netflix(网飞公司)

Maya Ravichandran, Pragya Tripathi, Dharamendra Kumar, Adith Swaminathan, Nathan Kallus

AI总结:

提出AT-AT工具优化器,从历史智能体执行中离线优化共享工具集,在τ²-bench等基准及企业生产MCP服务器上验证,可提升任务完成率、降低成本或错误率,为智能体系统持续改进提供新路径。

摘要:

提升基于大语言模型(LLM)的智能体的工作通常聚焦于修改智能体本身,但其成功也取决于智能体所处的环境。工具介导了这种交互:工具的描述会影响智能体对它的调用,而工具的实现则决定了智能体后续接收到的结果与错误。许多工具(如API和MCP服务器)被多个智能体共享,且由无法修改这些智能体的提供者维护。我们提出AT-AT(Automatic Tool Optimization from Agent Traces,基于智能体轨迹的自动工具优化器),这是一种智能体式工具优化器,可在保持智能体固定的情况下,从历史智能体执行中离线优化共享工具集。一个轻量级编码智能体会读取智能体轨迹及其评估结果,选择性地编辑工具描述,并在允许的情况下编辑工具实现。在τ²-bench验证中,AT-AT在航空和电信领域实现了最高的任务完成率,且成本低于强大的提示优化器和工具优化器基线;其在电信领域的提升在配对置换检验下具有统计显著性。在编码智能体框架内优化工具也提升了TerminalBench-2和TBLite的保留性能。当应用于某大型企业的三个生产MCP服务器时,AT-AT降低了每个服务器的成本或工具错误率,并提升了其中一个服务器的保留任务通过率。通过将累积的执行轨迹转化为对共享工具环境的更新,AT-AT为通过环境侧学习实现智能体系统的持续改进提供了一条路径。

英文摘要:

Efforts to improve LLM-based agents typically focus on modifying the agent itself, yet success also depends on the environment in which an agent acts. Tools mediate this interaction: a tool's description shapes how an agent calls it, and its implementation determines the results and errors the agent receives afterwards. Many tools, such as APIs and MCP servers, are shared by many agents and maintained by providers who cannot change those agents. We introduce AT-AT (Automatic Tool Optimization from Agent Traces), an agentic tool optimizer that improves a shared toolset offline from historical agent executions while holding the agents fixed. A lightweight coding agent reads agent trajectories and their evaluation results, and selectively edits tool descriptions and, when permitted, implementations. On $τ^2$-bench-verified, AT-AT achieves the highest task completion rates in the Airline and Telecom domains at lower cost than strong prompt- and tool-optimizer baselines, and its Telecom gain is statistically significant under paired permutation tests. Optimizing the tools within a coding agent harness also improves held-out performance on TerminalBench-2 and TBLite. When applied to three production MCP servers at a large enterprise, AT-AT lowered cost or tool error rates on every server and increased held-out task passes on one. By turning accumulated execution traces into updates to shared tool environments, AT-AT provides a path toward continual improvement of agent systems through environment-side learning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑