MARL library for developing, training, and testing multi-agent RL algorithms
Top 34.6% on sourcepulse
MARLlib is a comprehensive library for multi-agent reinforcement learning (MARL), designed to simplify the development, training, and testing of MARL algorithms. It targets researchers and practitioners in MARL, offering a unified platform built on Ray RLlib to handle diverse tasks and environments with a focus on scalability and ease of use.
How It Works
MARLlib leverages Ray RLlib for distributed execution and provides a unified API for various MARL algorithms and environments. It supports flexible parameter-sharing strategies (share, group, separate, customizable) and diverse model architectures (MLP, CNN, GRU, LSTM). This approach allows researchers to easily switch between environments and algorithms, experiment with different agent interactions, and customize model components without deep knowledge of underlying MARL complexities.
Quick Start & Requirements
pip install -r requirements.txt
after cloning the repository. Ensure RLlib patches are applied using python marllib/patch/add_patch.py -y PyPI
.gym
version around 0.20.0 is suggested.num_gpus
argument in fit()
.Highlighted Details
Maintenance & Community
ROADMAP.md
.Licensing & Compatibility
Limitations & Caveats
8 months ago
1 week