MASLab: A Unified and Comprehensive Codebase for LLM-based Multi-Agent Systems

Rui Ye, Keduan Huang, Qimin Wu, Yuzhu Cai, Tian Jin +15 more
5/22/2025
cs.CLcs.AIcs.MA

No official code found. Best implementation: MASWorks/MASLab (243 stars, last commit 2025-07-25).

Abstract

LLM-based multi-agent systems (MAS) have demonstrated significant potential in enhancing single LLMs to address complex and diverse tasks in practical applications. Despite considerable advancements, the field lacks a unified codebase that consolidates existing methods, resulting in redundant re-implementation efforts, unfair comparisons, and high entry barriers for researchers. To address these challenges, we introduce MASLab, a unified, comprehensive, and research-friendly codebase for LLM-based MAS. (1) MASLab integrates over 20 established methods across multiple domains, each rigorously validated by comparing step-by-step outputs with its official implementation. (2) MASLab provides a unified environment with various benchmarks for fair comparisons among methods, ensuring consistent inputs and standardized evaluation protocols. (3) MASLab implements methods within a shared streamlined structure, lowering the barriers for understanding and extension. Building on MASLab, we conduct extensive experiments covering 10+ benchmarks and 8 models, offering researchers a clear and comprehensive view of the current landscape of MAS methods. MASLab will continue to evolve, tracking the latest developments in the field, and invite contributions from the broader open-source community.

View on arXivView PDF

Code Implementations(1)

MASWorks/MASLabCommunity100%
24329PythonApr 18, 20251 years ago

Similar Papers

Cite this paper

@article{ye2025maslab,
  title  = {MASLab: A Unified and Comprehensive Codebase for LLM-based Multi-Agent Systems},
  author = {Rui Ye and Keduan Huang and Qimin Wu and Yuzhu Cai and Tian Jin and Xianghe Pang and Xiangrui Liu and Jiaqi Su and Chen Qian and Bohan Tang and Kaiqu Liang and Jiaao Chen and Yue Hu and Zhenfei Yin and Rongye Shi and Bo An and Yang Gao and Wenjun Wu and Lei Bai and Siheng Chen},
  year   = {2025},
  eprint = {2505.16988},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.16988v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.16988.svg)](https://codeofpaper.com/paper/2505.16988)

Discussion