解决企业级大模型工具调用匹配难题,大幅降低推理开销。
Z-Space: A Multi-Agent Tool Orchestration Framework for Enterprise-Grade LLM Automation
- 构建多智能体协作框架,通过意图解析与语义对齐精准匹配工具。
- 工具调用准确率达92%,推理耗token量减少96.26%。
- 适合需要高效自动化测试数据生成的企业级AI系统使用。
大语言模型可通过模型上下文协议(MCP)框架调用外部工具,突破知识与时效限制,实现复杂任务的自动化执行。然而,随着企业级MCP服务规模快速增长,从数千个异构工具中高效精准匹配目标功能已成为制约系统实用性的核心挑战。现有方法多依赖全量提示注入或静态语义检索,存在用户查询与工具描述语义脱节、模型输入上下文膨胀及高推理延迟等问题。为此,本文提出Z-Space——一种面向数据生成的多智能体协同工具调用框架。该框架构建多智能体协作架构与工具过滤算法:(1)通过意图解析模型实现用户查询的结构化语义理解;(2)基于融合子空间加权算法(FSWW)的工具过滤模块,在无需参数调优的情况下实现意图与工具间的细粒度语义对齐;(3)构建推理执行代理,支持多步任务的动态规划与容错执行。该框架已在饿了么技术部平台部署,服务于包括淘天、高德、盒马在内的多个业务单元的大规模测试数据生成场景。生产数据显示,系统将工具推理平均token消耗降低96.26%,工具调用准确率达92%,显著提升智能测试数据生成系统的效率与可靠性。
原文摘要 · Abstract (English)
Large Language Models can break through knowledge and timeliness limitations by invoking external tools within the Model Context Protocol framework to achieve automated execution of complex tasks. However, with the rapid growth of enterprise-scale MCP services, efficiently and accurately matching target functionalities among thousands of heterogeneous tools has become a core challenge restricting system practicality. Existing approaches generally rely on full-prompt injection or static semantic retrieval, facing issues including semantic disconnection between user queries and tool descriptions, context inflation in LLM input, and high inference latency. To address these challenges, this paper proposes Z-Space, a data-generation-oriented multi-agent collaborative tool invocation framework Z-Space. The Z-Space framework establishes a multi-agent collaborative architecture and tool filtering algorithm: (1) A structured semantic understanding of user queries is achieved through an intent parsing model; (2) A tool filtering module (FSWW) based on fused subspace weighted algorithm realizes fine-grained semantic alignment between intents and tools without parameter tuning; (3) An inference execution agent is constructed to support dynamic planning and fault-tolerant execution for multi-step tasks. This framework has been deployed in the Eleme platform's technical division, serving large-scale test data generation scenarios across multiple business units including Taotian, Gaode, and Hema. Production data demonstrates that the system reduces average token consumption in tool inference by 96.26\% while achieving a 92\% tool invocation accuracy rate, significantly enhancing the efficiency and reliability of intelligent test data generation systems.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。