让AI Agent动态发现工具,比传统方法更准更快还省资源。
SING: Synthetic Intention Graph for Scalable Active Tool Discovery in LLM Agents

- 构建意图-工具图谱,动态匹配任务需求
- 在三个真实任务上提升召回率59.8%,成功率28.9%
- 仅需0.2%的工具数据暴露,适合大规模智能体系统
大型语言模型(LLM)代理日益依赖代理管理框架来处理上下文、工具和多轮执行,使工具成为在真实数字环境中行动的核心接口。随着连接框架的工具生态扩展至数百甚至数千个API、服务和任务特定技能,全面注入工具模式变得代价高昂,并引入封闭世界假设,限制代理仅能使用预定义的静态工具集。检索增强型工具选择提供了一种自然替代方案,但现有单次检索方法往往无法将孤立的工具描述与代理的真实任务意图对齐,尤其在长周期任务中,所需能力通过任务分解、观察和新生成的子目标逐步浮现。我们提出SING,一种意图感知的主动工具发现框架,构建一个关联用户意图、工具能力与工具协作模式的意图-工具图谱,并根据任务状态演化动态检索工具。基于包含7,471个工具的统一语料库,我们在三个真实世界工具使用基准上评估SING。结果表明,SING在全局召回率@5上最高提升59.8%,下游成功率达28.9%提升,同时将全语料工具模式暴露减少99.8%,证明意图感知的图结构能实现更精准且上下文高效的规模化工具发现。
原文摘要 · Abstract (English)
Large language model (LLM) agents increasingly rely on agent harnesses that manage context, tools, and multi-turn execution, making tools a central interface for acting in realistic digital environments. As harness-connected tool ecosystems expand to hundreds or thousands of APIs, services, and task-specific skills, exhaustive tool schema injection becomes costly and imposes a closed-world assumption that limits agents to a predefined static inventory. Retrieval-augmented tool selection offers a natural alternative, but existing one-shot retrieval methods often fail to align isolated tool descriptions with the agent's true task intention, especially in long-horizon tasks where required capabilities emerge through decomposition, observations, and newly induced subgoals. We propose SING, an intention-aware active tool discovery framework that builds an intention-tool graph linking user intentions, tool capabilities, and tool collaboration patterns, and dynamically retrieves tools according to evolving task states. Using a unified corpus of 7,471 tools, we evaluate SING on three real-world tool-use benchmarks. SING improves Global Recall@5 by up to 59.8% and downstream success rate by up to 28.9% over baselines, while reducing full-corpus tool-schema exposure by 99.8%, demonstrating that intention-aware graph structure enables more accurate and context-efficient tool discovery in large-scale agentic ecosystems.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。