Meta-Agent:从任务描述到经过验证的多智能体系统
Meta-Agent: From Task Descriptions to Verified Multi-Agent Systems
AI总结:
提出Meta-Agent两阶段框架,通过任务规划、网络搜索、代码生成和验证机制,自动从自然语言任务描述构建并执行可靠的多智能体系统,在编码、上下文学习和开放推理任务中提升成功率、错误恢复和工作流稳定性。
摘要:
AI智能体越来越多地被用于解决复杂的多步骤任务,但随着工作流规模和深度的增长,现有的多智能体框架仍然脆弱。中间阶段的小错误会通过智能体交互传播,同时不充分的依据和薄弱的验证机制进一步限制了可靠性。我们提出Meta-Agent,一个两阶段框架,能够从自然语言任务描述自动构建并执行专门的多智能体系统。在构建阶段,任务规划器将问题分解为智能体规范的有向无环图,包含明确的输入/输出契约和验证标准。网络搜索模块用外部证据为每个规范提供依据,代码生成模块产生系统提示和工具配置。构建时验证阶段随后验证生成的工件,并在检测到失败时触发有针对性的重新生成。在执行阶段,协调器在智能体图中分配子任务,同时执行时验证对中间输出进行把关。我们进一步引入三级错误归因机制,区分局部、上游和结构性失败,从而实现从局部重试到部分重新执行和重新分解的有针对性的恢复策略。我们在编码、上下文学习和开放式推理任务上评估Meta-Agent。与强多智能体基线及消融实验相比,结果表明在任务成功率、错误恢复和工作流稳定性方面均有持续改进。这些结果凸显了将规划、依据和验证紧密集成以构建可靠多智能体系统的重要性。
英文摘要:
AI agents are increasingly used to solve complex, multi-step tasks, but existing multi-agent frameworks remain brittle as workflows grow in scale and depth. Small errors at intermediate stages can propagate through agent interactions, while insufficient grounding and weak verification mechanisms further limit reliability. We present Meta-Agent, a two-phase framework that automatically constructs and executes specialized multi-agent systems from natural-language task descriptions. In the construction phase, a task planner decomposes a problem into a directed acyclic graph of agent specifications with explicit input/output contracts and verification criteria. A web search module grounds each specification with external evidence, and a code generation module produces system prompts and tool configurations. A construction-time verification stage then validates generated artifacts and triggers targeted regeneration when failures are detected. In the execution phase, a coordinator dispatches subtasks across the agent graph while execution-time verification gates intermediate outputs. We further introduce a three-level error attribution mechanism that distinguishes local, upstream, and structural failures, enabling targeted recovery strategies ranging from localized retries to partial re-execution and re-decomposition. We evaluate Meta-Agent across coding, contextual learning, and open-ended reasoning tasks. Experiments against strong multi-agent baselines and ablation studies demonstrate consistent improvements in task success rate, error recovery, and workflow stability. The results highlight the importance of tightly integrating planning, grounding, and verification for building reliable multi-agent systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。