MAS-Architect: Declarative Multi-Agent System Design via Separation of Concerns

Jing Huang, Lidong Zhang, Mutian Bao, Yadong Li, Xingzhong Xu, Jinjian Zhang, Jie Liu, Ming Kong, Qiang ZhuICML 2026

TL;DR

This paper introduces MAS-Architect, a novel framework for automatically designing multi-agent systems (MAS) by separating the system's architecture (topology) from the individual agents' logic. This declarative approach allows for the generation of highly adaptive and efficient MAS that outperform existing methods in both performance and computational cost.

What Problem Does This Paper Address?

Designing effective multi-agent systems (MAS) for complex tasks is challenging. Current automated design (Auto-MAS) methods often fall into two camps: graph-based approaches that are rigid and limit agent customization, or imperative code-based methods that tightly couple system structure with agent logic, making them hard to optimize independently. This leads to systems that are either inflexible or difficult to understand and improve. The authors aim to bridge this gap by creating a system that can automatically generate task-specific MAS architectures from scratch, offering both structural clarity and expressive power.

Methods

MAS-Architect is built upon a novel Declarative MAS Paradigm, inspired by the "Separation of Concerns" principle. This paradigm decomposes MAS design into two orthogonal layers:

  1. Topology Layer: This layer declaratively defines the MAS architecture, including control flow, agent connections, and interaction patterns. It's designed to be searchable, visualizable, and verifiable.
  2. Implementation Layer: This layer focuses on the specific logic and functionality of each agent node, defining "how to execute."

These layers are decoupled via a standardized State Schema, which manages dynamic context like task information and intermediate results. The framework uses a Meta-Agent to synthesize both the topology and node implementations.

The training strategy involves two stages:

  • Architectural Distillation: A teacher model generates MAS specifications, which are then used to fine-tune a smaller Meta-Agent via supervised learning. This stage focuses on learning from expert examples.
  • Architectural Exploration: The Meta-Agent then undergoes reinforcement learning (RL) to explore beyond the teacher's distribution, discovering novel and more efficient architectural patterns.

Datasets

The paper evaluates MAS-Architect on several benchmarks:

  • Mathematical Reasoning: GSM8K, GSM-Hard, MATH
  • General Reasoning: MMLU, GPQA
  • Multi-hop Reasoning (for ablation studies): Hotpot-QA

The authors do not introduce new benchmarks but leverage existing ones to demonstrate the framework's generalization capabilities.

Key Insights and Ideas

  • Separation of Concerns is Key: Decoupling topology from implementation is crucial for generating flexible and adaptive MAS. This allows for independent optimization of system structure and agent behavior.
  • Declarative Paradigm for MAS: Moving from imperative code or rigid graphs to a declarative approach for MAS design unlocks new possibilities for automated generation and reasoning about system architectures.
  • Distill-then-Explore Training: Combining imitation learning (distillation) with reinforcement learning (exploration) is highly effective for training MAS design agents. Distillation provides a strong baseline, while exploration allows for discovering novel and superior solutions.
  • Emergent Architectures: The framework autonomously generates sophisticated and task-specific architectures, such as "Parallelized Reasoning-Exploration Streams" for information retrieval and "Hierarchical Dual-Loop Refinement" for complex reasoning tasks. This demonstrates a genuine capability for architectural reasoning, not just imitation.
  • Efficiency-Performance Frontier: MAS-Architect achieves a remarkable balance between accuracy and computational cost (token usage), setting a new Pareto frontier in Auto-MAS.

Key Results

  • Performance: Achieves an average accuracy of 78.7% across benchmarks, surpassing state-of-the-art methods.
  • Efficiency: Significantly reduces token usage, with an inference cost of only 2,533 tokens per query on average, outperforming MAS-GPT by 23.8% on GSM8K.
  • Generalization: Demonstrates strong performance on held-out benchmarks (MATH, GPQA, GSM-Hard), showing its ability to generalize beyond its training data.
  • Qualitative Findings: The system autonomously generates novel and effective topological patterns, showcasing its generative flexibility and architectural reasoning capabilities.

Limitations and Future Work

  • Potential Misuse: The authors acknowledge the risk of automatically generated agent workflows being misused or propagating model hallucinations.
  • Safety: Ensuring safeguards for tool-using agents is an ongoing concern.
  • Future Work: The paper implicitly suggests further exploration of emergent architectural patterns and their application to even more complex reasoning tasks. The declarative paradigm itself opens avenues for formal verification and deeper analysis of MAS designs.

Summary updated

BibTeX
@inproceedings{huang2026mas,
  author = {Jing Huang and Lidong Zhang and Mutian Bao and Yadong Li and Xingzhong Xu and Jinjian Zhang and Jie Liu and Ming Kong and Qiang Zhu},
  title = {{MAS-Architect: Declarative Multi-Agent System Design via Separation of Concerns}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=YLP0nvtUNw},
}
Figure