BUPT-GAMMA/MASFactory

A Graph-Centric Framework for Orchestrating Multi-Agent Systems with Vibe Graphing.

What it solves

MASFactory addresses the difficulty of orchestrating complex multi-agent systems, which typically requires either tedious manual coding or repetitive drag-and-drop configuration. It reduces the human effort needed to design agent collaboration by allowing users to move from high-level intent to an executable workflow through AI-assisted design and refinement.

How it works

The framework uses a graph-centric approach where Node and Edge serve as the basic building blocks. It introduces "Vibe Graphing," a process where natural-language intent is turned into a structural graph design, which can then be previewed, refined, and compiled into an executable workflow. The system is organized into four layers:

  • Graph skeleton layer: Basic nodes and edges for message flow.
  • Component layer: Reusable units like Agent, Loop (for iterative tasks), Switch (for dynamic routing), and Human (for human-in-the-loop interaction).
  • Protocol layer: Standardizes communication and context (Memory, RAG, MCP) via adapters.
  • Interaction layer: Supports three development modes: Vibe Graphing (natural language), code-centric (declarative/imperative), and visual drag-and-drop.

Who it’s for

It is designed for developers and AI researchers who want to rapidly prototype and deploy multi-agent systems without spending excessive time on low-level wiring and configuration.

Highlights

  • Vibe Graphing: Converts natural language intent directly into a structural agent collaboration graph.
  • Unified Development: Integrates code authoring, visual editing, and AI-driven orchestration in one system.
  • Observability: Includes a VS Code extension (MASFactory Visualizer) for topology preview and runtime tracing of node states and messages.
  • Flexible Components: Built-in support for subgraphs, loops, and human-in-the-loop steps.

Related

  • Project
  • Project
  • Project
  • Project
  • Project