让多智能体协作自动学习最优策略,提升复杂任务效率。
AgensFlow: A Coordination-Policy Substrate for Multi-Agent Systems

- 将协作决策转化为可学习的在线策略问题,动态调整角色与流程。
- 在两类任务中,学习策略比固定流程更优,最高提升37%质量。
- 支持策略复用与快速启动,降低探索成本,适合工程部署。
基于大语言模型的多智能体系统面临诸多难以预先确定的协作选择:调用何种技能协议、由哪个智能体角色执行子任务、每个角色绑定何种模型、角色间如何交互、何时使用检索或验证、何时跳过步骤。这些选择受任务模式和运行约束影响,静态流水线和一次性模型对比仅能提供有限的设计空间视角。本文提出AgensFlow,一个开源框架,将多智能体协作视为部分可观测下的在线策略学习问题。该框架使协作决策可观察、可学习,而非固定为流水线设计。在分布式系统故障处理与安全通告两类数据集上评估显示:学习到的路由策略在协作密集型任务上优于固定流水线基线;skip:X 将拓扑压缩分离为可衡量的子组件;热启动策略图可在保持性能平台的同时降低探索成本。结果表明,可学习且可审计的路由能显著改善依赖协作的多智能体工作流。
原文摘要 · Abstract (English)
Multi-agent systems built on large language models (LLMs) require many coordination choices that are difficult to fix a priori: which skill protocol to invoke, which agent role should perform a subtask, which model to bind to each role, how roles should interact, when to use retrieval or verification, and when to omit a step entirely. These choices interact with task regime and operational constraints, so static pipelines and one-off model comparisons provide only a limited view of the design space. This paper introduces AgensFlow, an open-source framework that treats multi-agent coordination as an online policy-learning problem under partial observability. The framework makes coordination decisions observable and learnable from repeated trajectories, rather than treating skill, role, model, topology, and evaluation choices as fixed pipeline design. AgensFlow is evaluated on two corpora: distributed-systems incident tasks and security-advisory tasks. The evaluation shows three main results: learned routing reaches a higher-quality operating point than a fixed pipeline baseline on coordination-heavy classes; skip:X isolates topology compression as a meaningful part of the substrate; and warm-started policy graphs can reduce exploration cost while preserving plateau quality. Overall, the results support that learned, auditable routing can improve coordination-heavy multi-agent workflows over static wiring.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。