用自然语言快速构建可编辑的智能体协作流程图
MASFactory: A Graph-centric Framework for Orchestrating LLM-Based Multi-Agent Systems with Vibe Graphing
- 通过自然语言转为可编辑的工作流图,实现智能体系统低代码搭建
- 在7个公开基准上验证流程复现一致性和构建效率提升
- 适合需要快速迭代多智能体协作系统的研发人员
基于大语言模型的多智能体系统(MAS)正通过角色分工与协作拓展智能体问题求解能力。这类工作流天然可建模为有向计算图,节点执行智能体或子流程,边表示依赖关系和消息传递。然而,现有框架在实现复杂图流程时仍需大量手动操作,复用性差,且难以集成异构外部上下文。为此,我们提出MASFactory,一个以图为中心的LLM多智能体系统编排框架。其引入Vibe Graphing——一种人机协同方法,将自然语言意图编译为可编辑的工作流规范,并进一步生成可执行图。框架还提供可复用组件、技能支持、多模态消息处理、可插拔上下文集成,以及用于拓扑预览、运行时追踪和人机交互的可视化工具。我们在7个公开基准上评估了MASFactory,验证了代表性MAS方法的复现一致性及Vibe Graphing的有效性。代码(https://github.com/BUPT-GAMMA/MASFactory,Apache-2.0许可)和演示视频(https://youtu.be/ANynzVfY32k)已公开。
原文摘要 · Abstract (English)
Large language model-based (LLM-based) multi-agent systems (MAS) are increasingly used to extend agentic problem solving via role specialization and collaboration. MAS workflows can be naturally modeled as directed computation graphs, where nodes execute agents or sub-workflows and edges encode dependencies and message passing. However, implementing complex graph workflows in current frameworks still requires substantial manual effort, offers limited reuse, and makes it difficult to integrate heterogeneous external context sources. To overcome these limitations, we present MASFactory, a graph-centric framework for orchestrating LLM-based MAS. It introduces Vibe Graphing, a human-in-the-loop approach that compiles natural-language intent into an editable workflow specification and then into an executable graph. In addition, the framework provides reusable components, skill support, multimodal message handling, and pluggable context integration, as well as a visualizer for topology preview, runtime tracing, and human-in-the-loop interaction. We evaluate MASFactory on seven public benchmarks, validating both reproduction consistency for representative MAS methods and the effectiveness of Vibe Graphing. Our code (https://github.com/BUPT-GAMMA/MASFactory, licensed under Apache-2.0) and video demonstration (https://youtu.be/ANynzVfY32k) are publicly available.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。