MAS 2 : Self-Generative, Self-Configuring, Self-Rectifying Multi-Agent Systems
Kun Wang Guibin Zhang, ManKit Ye, Xinyu Deng, Dongxia Wang, Xiaobin Hu, Jinyang Guo, Yang Liu, Yufei Guo · 2025
Read MAS 2 : Self-Generative, Self-Configuring, Self-Rectifying Multi-Agent Systems by Kun Wang Guibin Zhang, ManKit Ye, Xinyu Deng, Dongxia Wang, Xiaobin Hu, Jinyang Guo, Yang Liu, Yufei Guo (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-24323.txt.
Introduction
Multi-agent systems are usually built once and then frozen, which leaves them brittle when tasks change. Kun Wang and 8 co-authors introduce MAS-squared, a system that builds other multi-agent systems and repairs them as demands shift. A tri-agent team does the work: a generator designs, an implementer builds, and a rectifier fixes.
A collaborative tree method trains those meta-agents to specialize. Across seven benchmarks, including deep research and code generation, the approach gained up to about a fifth over leading systems. It also transferred to unseen backbones with clear gains. Costs stayed on the efficient frontier rather than ballooning with the extra machinery.
Catalog record
| CREATOR | Kun Wang Guibin Zhang, ManKit Ye, Xinyu Deng, Dongxia Wang, Xiaobin Hu, Jinyang Guo, Yang Liu, Yufei Guo |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 68 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2509-24323
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
MAS 2 : Self-Generative, Self-Configuring, Self-Rectifying Multi-Agent Systems Kun Wang Guibin Zhang, ManKit Ye, Xinyu Deng, Dongxia Wang, Xiaobin Hu, Jinyang Guo, Yang Liu, Yufei Guo Abstract The past two years have witnessed the meteoric rise of Large Language Model (LLM)-powered multi-agent systems (MAS), which harness collective intelligence and exhibit a remarkable trajectory toward self-evolution. This paradigm has rapidly progressed from manually engineered systems that require bespoke configuration of prompts, tools, roles, and communication protocols toward frameworks capable of automated orchestration. Yet, dominant automatic multi-agent systems, whether generated by external modules or a single LLM agent, largely adhere to a rigid “ generate-once-and-deploy ” paradigm, rendering the resulting systems brittle and ill-prepared for the dynamism and uncertainty of real-world environments. To transcend this limitation, we introduce MAS 2 , a paradigm predicated on the principle of recursive self-generation: a multi-agent system that autonomously architects bespoke multi-agent systems for diverse problems. Technically, we devise a “ generator-implementer-rectifier ” tri-agent team capable of dynamically composing and adaptively rectifying a target agent system in response to real-time task demands. Collaborative Tree Optimization is proposed to train and specialize these meta-agents. Extensive evaluation across seven benchmarks reveals that MAS 2 achieves performance gains of up to 19.6 % 19.6\% over state-of-the-art MAS in complex scenarios such as deep research and code generation. Moreover, MAS 2 exhibits superior cross-backbone generalization, effectively leveraging previously unseen LLMs to yield improvements of up to 15.1 % 15.1\% . Crucially, these gains are attained without incurring excessive token costs, as MAS 2 consistently resides on the Pareto frontier of cost-performance trade-offs. The source codes are available at https://github.com/yeyeyeah2/MAS2 . 1 Introduction Inspired by the collective intelligence observed in human societies ( Minsky 1988 ; Li et al. 2023a ) , large language model (LLM)-based multi-agent systems (MAS) have evolved into intricate ecosystems composed of multiple LLMs, tool integrations, memory modules, and communication protocols ( Zhuge et al. 2024 ; Tran et al. 2025 ) . In contrast to single-agent paradigms that seek a monolithic, all-powerful model capable of addressing every task in isolation, multi-agent systems harness the virtues of specialization and cooperative interaction among heterogeneous agents , with substantial advances across a spectrum of task domains, including scientific discovery ( Ghafarollahi & Buehler 2024 ; Ghareeb et al. 2025 ) , deep research ( Zhang et al. 2025d ; Hu et al. 2025a ) , complex report generation ( Yi et al. 2025 ) , and collective reasoning ( Ye et al. 2025a ) . The evolution of MAS has unfolded as a clear progression from manual design to full automation . (I) manually configured : Early frameworks such as AutoGen ( Wu et al. 2023 ) , MetaGPT ( Hong et al. 2023 ) , and AgentVerse ( Chen et al. 2023 ) relied entirely on hand-crafted specifications, including prompts, agent roles, tool integrations, and communication topologies. (II) partially automated : Subsequent efforts introduced partial automation: for example, GPTSwarm ( Zhuge et al. 2024 ) and G-Designer ( Zhang et al. 2024b ) automated the design of inter-agent communication topologies, while MasRouter ( Yue et al. 2025 ) and LLM-Selector ( Chen et al. 2025a ) focused on automating LLM routing. (III) fully automatic : Recently, the community has converged on fully automated MAS whose configurations are synthesized end-to-end and adapted online to domain and instance alike, as exemplified by ADAS ( Hu et al. 2025b ) , MaAS ( Zhang et al. 2025b ) , and AFlow ( Zhang et al. 2024c ) . This shift has inaugurated a phase of rapid, genuinely transformative advance. Nevertheless, not all autonomously constructed MAS are alike. Early approaches often relied on external modules such as Bayesian optimization ( Li et al. 2023b ) , Monte Carlo tree search (MCTS) ( Zhang et al. 2024c ; Liang et al. 2025 ) , or graph neural networks ( Zhang et al. 2024b ) . While effective to some extent, these methods were confined to a predefined search space of atomic operators ( e.g. , Chain-of-Thought (CoT), Reflexion, Debate), limiting their capacity for architectural innovation. More recently, researchers have shifted toward enabling agents themselves to construct MAS, employing techniques such as SFT ( Ye et al. 2025b ) , DPO ( Wang et al. 2025b ) , and GRPO ( Nie et al. 2025 ) . These advances allow task-level adaptivity, whereby distinct systems can be customized for each problem instance. Yet most of these methods still adhere to a “ generate-once-and-deploy ” paradigm, where a system is instantiated once per task and executed unchanged ( Zhang et al. 2025b ) , regardless of success or failure. This paradigm proves fundamentally inadequate, as real-world interactions between multi-agent systems and their environments are inherently dynamic and error-prone ( e.g. , network failures, tool crashes, file loss) ( Cemri et al. 2025 ) . Consequently, “ generate-once-and-deploy ” strategies are highly susceptible to collapse from a single unforeseen disruption and lack the capacity to adapt beyond their initial instantiation. Having surveyed the evolution and inherent limitations of both external module-based and agent-driven automatic agent systems, we propose a third new paradigm that inherently enables self-generation and self-adaptation of MAS. Specifically, we envision a framework in which a multi-agent system autonomously constructs another multi-agent system , which we refer to as MAS 2 . Unlike previous approaches, MAS 2 orchestrates a specialized, LLM-facilitated meta-agent team tasked with generating , configuring , and rectifying systems in a task-adaptive and progress-aware manner. By internalizing distinct construction responsibilities across dedicated meta-agents, MAS 2 transcends the creative constraints of external modules and overcomes the rigidity of traditional “generate-once-and-deploy” strategies. In this paper, we introduce a meta multi-agent system (meta MAS) designed to instantiate our proposed MAS 2 paradigm. This system is built upon a tri-agent architecture comprising a ♣ generator , an ❡ implementor , and a ♠ rectifier , each undergoing specialized training to internalize its distinct meta-generative function. Specifically, for any given query, the generator agent architects a high-level, multi-agent workflow template, which outlines the sequence of agentic operations. Subsequently, the implementor agent instantiates this template by populating each procedural step with a concrete LLM backbone, rendering the workflow fully executable. During runtime, the rectifier agent actively monitors the execution state and environmental feedback, issuing timely corrections to the system for adaptiveness to dynamic conditions. Figure 1: The paradigm shift of automatic multi-agent system design: from external module-based MAS generation ( e.g. , by GNNs, evolutionary algorithms, and search algorithms) and agent-based generation ( i.e. , FlowReasoner ( Gao et al. 2025 ) and MAS-GPT ( Ye et al. 2025b ) ) to MAS 2 , where a MAS recursively generates another MAS. To facilitate training and data efficiency, we devise an offline reinforcement learning (RL) strategy for trajectory collection and optimization, termed Collaborative Tree Optimization (CTO) . Within the CTO framework, the three agents collaboratively expand a decision tree representing diverse MAS configurations and execution pathways. Upon reaching a terminal state, a final environmental feedback signal is obtained. We then employ a path credit propagation mechanism to attribute the final outcome to the upstream decisions made by each agent. This process yields role-specific preference data, which is