Favicon of MASFactory

MASFactory

Open-source Python framework for AI agent workflows, with natural-language graph design, visual editing and runtime tracing. Licensed under Apache 2.0.

Screenshot of MASFactory website

MASFactory is an open-source Python framework for developers building workflows in which multiple AI agents work together. Its Vibe Graphing feature drafts a collaboration graph from a plain-language description, then lets people refine and approve the design through dialogue before it becomes an executable workflow. The license is Apache 2.0.

The graph makes agent relationships and message flow explicit. Workflows can include nested subgraphs, repeated review or testing loops, and branches that route tasks by conditions or model decisions. Reusable components let developers carry a collaboration pattern into another workflow rather than rebuild it each time.

MASFactory Visualizer provides graph previews, drag-and-drop editing, and traces of node status, messages, and shared state during execution. Developers can also define workflows in code. These authoring methods share one runtime, so a graph drafted through conversation can be visually edited and traced as it runs. Human steps can pause a workflow for confirmation, input, file review, or editing.

Its ContextBlock protocol organizes agent memory, retrieval-augmented generation (RAG), and Model Context Protocol (MCP) sources. Agents can receive context automatically or retrieve it when needed; adapters connect context and communication capabilities with external frameworks.

Separate hosted demos show research workflows: NowWhat produces AI paper briefings, while OhNoPPT turns research papers into editable PowerPoint files. Their workflow code is available in the repository for reuse and study.

Similar to MASFactory