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

Agent-as-a-Graph: 基于知识图谱的LLM多智能体系统中的工具与智能体检索

Agent-as-a-Graph: Knowledge Graph-Based Tool and Agent Retrieval for LLM Multi-Agent Systems

Commercial Technology and Innovation Office, PricewaterhouseCoopers(普华永道商业技术与创新办公室)

Faheem Nizar, Elias Lumer, Anmol Gulati, Pradeep Honaganahalli Basavaraju, Vamse Kumar Subbiah

AI总结:

本文提出基于知识图谱的智能体检索方法,通过构建智能体与工具的关系图谱,提升多智能体系统中工具和智能体的检索效果。

摘要:

近年来,大型语言模型多智能体系统的发展使得能够扩展地协调和检索专门的并行子智能体成为可能,每个子智能体都配备了数百或数千个模型上下文协议(MCP)服务器和工具。然而,现有的智能体、MCP和检索方法通常将查询与单一智能体描述进行匹配,这掩盖了每个智能体的细粒度工具能力,导致智能体选择不 optimal。我们介绍了Agent-as-a-Graph检索,这是一种基于知识图谱检索增强生成的方法,将工具及其父智能体表示为知识图谱中的节点和边。在检索过程中,i) 首先通过向量搜索检索相关智能体和工具节点,ii) 我们应用类型特定的加权反向排名融合(wRRF)对工具和智能体进行重新排序,iii) 遍历知识图谱以获得最终的智能体集合。我们在LiveMCPBenchmark上评估了Agent-as-a-Graph,实现了在Recall@5和nDCG@5上比先前最先进的检索器分别提高了14.9%和14.6%,并在wRRF优化方面提高了2.4%。

英文摘要:

Recent advances in Large Language Model Multi-Agent Systems enable scalable orchestration and retrieval of specialized, parallelized subagents, each equipped with hundreds or thousands of Model Context Protocol (MCP) servers and tools. However, existing agent, MCP, and retrieval methods typically match queries against a single agent description, obscuring fine-grained tool capabilities of each agent, resulting in suboptimal agent selection. We introduce Agent-as-a-Graph retrieval, a knowledge graph retrieval augmented generation approach that represents both tools and their parent agents as nodes and edges in a knowledge graph. During retrieval, i) relevant agents and tool nodes are first retrieved through vector search, ii) we apply a type-specific weighted reciprocal rank fusion (wRRF) for reranking tools and agents, and iii) parent agents are traversed in the knowledge graph for the final set of agents. We evaluate Agent-as-a-Graph on the LiveMCPBenchmark, achieving 14.9% and 14.6% improvements in Recall@5 and nDCG@5 over prior state-of-the-art retrievers, and 2.4% improvements in wRRF optimizations.

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

↑