让AI自动搭建可验证的多智能体系统,解决复杂任务出错难修复的问题。
Meta-Agent: From Task Descriptions to Verified Multi-Agent Systems

- 用自然语言生成带输入输出契约的多智能体流程图
- 构建阶段和执行阶段双重验证,错误率下降40%以上
- 适合需要高可靠性的复杂任务自动化场景
AI智能体日益用于解决复杂的多步骤任务,但现有框架在规模扩大时仍显脆弱。中间环节的小错误会通过智能体交互传播,且缺乏充分的外部证据支持和弱验证机制限制了可靠性。本文提出Meta-Agent,一个两阶段框架,可从自然语言任务描述自动生成并执行专用多智能体系统。构建阶段中,任务规划器将问题分解为带有明确输入/输出契约和验证标准的有向无环图;网络搜索模块为每个智能体规范提供外部证据,代码生成模块生成系统提示和工具配置;构建阶段验证检测到失败后触发针对性重生成。执行阶段,协调器分发子任务,并通过运行时验证门控中间输出。进一步引入三级错误归因机制,区分局部、上游和结构性失败,支持从局部重试到部分重执行及重新分解的针对性恢复策略。在编码、上下文学习和开放式推理任务上评估,相比强基线模型,任务成功率显著提升,错误恢复与流程稳定性均获改善。结果表明,规划、接地与验证的紧密集成是构建可靠多智能体系统的关键。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。