arXiv:2605.03986cs.AI2026-05

自动组合AI代理完成用户任务,提升多智能体系统构建效率。

From Intent to Execution: Composing Agentic Workflows with Agent Recommendation

  • 用大模型规划任务,动态匹配代理并生成执行图。
  • 在多个数据集上召回率优于现有方法,且更稳定可扩展。
  • 引入批判代理审查推荐结果,适合需要高可靠性的应用开发。

基于AI代理的多智能体系统(MAS)可满足多种用户意图,用于构建一系列相关应用。然而当前构建过程需手动设计计划、选择代理及创建执行图。本文提出一种自动化框架,替代多项人工步骤。该框架包含:基于大模型的规划器、自然语言描述的任务、动态调用图、任务-代理映射调度器,以及从本地和全局代理注册表中推荐最适配代理的推荐器。推荐器采用两级信息检索机制:快速检索器与大模型重排序器。我们通过实验评估嵌入模型选择、重排序器设计、代理描述增强及批判代理监督的影响。在端到端基准测试中,所提方法在规划、代理选择与任务完成方面表现优异,召回率超越当前最优,并展现出更强鲁棒性与可扩展性。批判代理对代理与工具推荐进行整体复审,进一步提升召回率,证明任务导向的全面审查是构建端到端多智能体系统的必要环节。

原文摘要 · Abstract (English)

Multi-Agent Systems (MAS) built using AI agents fulfill a variety of user intents that may be used to design and build a family of related applications. However, the creation of such MAS currently involves manual composition of the plan, manual selection of appropriate agents, and manual creation of execution graphs. This paper introduces a framework for the automated creation of multi-agent systems which replaces multiple manual steps with an automated framework. The proposed framework consists of software modules and a workflow to orchestrate the requisite task- specific application. The modules include: an LLM-derived planner, a set of tasks described in natural language, a dynamic call graph, an orchestrator for map agents to tasks, and an agent recommender that finds the most suitable agent(s) from local and global agent registries. The agent recommender uses a two-stage information retrieval (IR) system comprising a fast retriever and an LLM-based re-ranker. We implemented a series of experiments exploring the choice of embedders, re- rankers, agent description enrichment, and supervising critique agent. We benchmarked this system end-to-end, evaluating the combination of planning, agent selection, and task completion, with our proposed approach. Our experimental results show that our approach outperforms the state-of-the- art in terms of the recall rate and is more robust and scalable compared to previous approaches. The critique agent holistically reevaluates both agent and tool recommendations against the overall plan. We show that the inclusion of the critique agent further enhances the recall score, proving that the comprehensive review and revision of task-based agent selection is an essential step in building end-to-end multi-agent systems.

多智能体自动规划代理推荐

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。