cs.CLMar 6, 2026

MASFactory: A Graph-centric Framework for Orchestrating LLM-Based Multi-Agent Systems with Vibe Graphing

Authors: Yang Liu, Jinxuan Cai, Yishen Li, Qi Meng, Zedi Liu, Xin Li, Chen Qian, Chuan Shi, 

Organizations: Beijing University of Posts and Telecommunications · Shanghai Jiao Tong University

Abstract

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.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. ForestBench: A Unified Graph Framework for Evaluating Multi-Agent Collaboration

    Aug 9, 2026Guo Chen, Ziwen Li, Reed Li +4Multi-Agent LLM SystemsAI Agent Evaluation

  2. MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networks

    Mar 3, 2026Zhi Hong, Qian Zhang, Jiahang Sun +5Multi-Agent LLM SystemsMulti-Agent System Optimization

  3. MAS-Gate: Unlocking Multi-Agent System Lifecycle via Node-Centric Quantification

    Oct 13, 2026Hehai Lin, Zixuan Wang, Ming Yan +6LLM Agent Workflow OptimizationMulti-Agent Orchestration