bold-lab-ai/JaxMARL
Multi-Agent Reinforcement Learning with JAX
What it solves
JaxMARL provides a unified, high-performance library for Multi-Agent Reinforcement Learning (MARL). It solves the challenge of running complex multi-agent simulations by leveraging JAX to enable GPU-accelerated training, removing the bottlenecks often found in traditional CPU-based game engines.
How it works
The library offers a collection of JAX-native environments and baseline algorithms. It uses a parallel structure where agents pass actions at each timestep, with observations and rewards managed via dictionaries. By using JAX, the library allows for highly efficient, vectorised simulations. It also includes SMAX, a simplified version of the StarCraft Multi-Agent Challenge that runs entirely in JAX without needing the original game engine.
Who it’s for
It is designed for researchers and developers working in multi-agent reinforcement learning who need to evaluate methods across diverse tasks. It is particularly useful for those who want to run experiments quickly on GPUs and require standard baseline algorithms for comparison.
Highlights
- Includes a wide variety of environments, such as MPE, Overcooked, Hanabi, and multi-agent robotic control (Brax).
- Provides single-file implementations of popular baseline algorithms like IPPO, MAPPO, QMIX, and VDN.
- Features SMAX, a high-performance, JAX-native alternative to the StarCraft Multi-Agent Challenge.
- Follows a consistent API inspired by PettingZoo and Gymnax for ease of use.
- Supports efficient experiment management using Hydra for configurations and optional logging via Weights & Biases.
Related
- Project
- Project
- Project
- Project
- Project