← all repositories
instadeepai/Mava

Multi-agent RL experiments that compile end-to-end

Mava exists so MARL researchers can stop waiting on slow training loops and start hacking single-file JAX algorithms that run end-to-end on accelerators.

924 stars Python AgentsML Frameworks
Mava
Not currently ranked — collecting fresh signals.
star history

What it does

Mava is a research-oriented codebase for multi-agent reinforcement learning built entirely on JAX. It bundles single-file implementations of algorithms like PPO, QMIX, and SAC with wrappers for several popular MARL environment suites. The project is explicitly designed as a clone-and-modify research tool rather than a stable library, favoring rapid iteration over semantic-versioned convenience.

The interesting bit

The codebase splits training across two distribution architectures borrowed from the Podracer lineage: Anakin, which JIT-compiles the entire training loop when environments are written in JAX, and Sebulba, which pairs accelerators with CPU-bound environments that resist compilation. Researchers keep the same algorithm code but swap execution strategy depending on whether their environment is JAX-native or not.

Key highlights

  • Single-file algorithm implementations (IPPO, MAPPO, MAT, Sable, and others) meant to be edited directly.
  • Native support for standardized JSON evaluation logging compatible with the MARL-eval library.
  • Wrappers for JAX-based environments (Jumanji, JaxMARL, Matrax) and non-JAX fallbacks (SMAC-lite, robotic warehouse).
  • Explicitly not a pip-installable library; the authors expect users to clone the repo and work inside the source tree.

Caveats

  • The README warns that Mava is “not meant to be installed as a library,” so expect breaking changes and a workflow that assumes you are editing source files.
  • Only a subset of algorithms (notably some PPO variants) support the Sebulba architecture for non-JAX environments; most implementations currently require JAX-native environments.

Verdict

Researchers who want to iterate quickly on MARL ideas in JAX will find Mava’s compilation-friendly loops and hackable file structure genuinely productive. Production engineers looking for a stable, versioned dependency should look elsewhere.

Frequently asked

What is instadeepai/Mava?
Mava exists so MARL researchers can stop waiting on slow training loops and start hacking single-file JAX algorithms that run end-to-end on accelerators.
Is Mava open source?
Yes — instadeepai/Mava is open source, released under the Apache-2.0 license.
What language is Mava written in?
instadeepai/Mava is primarily written in Python.
How popular is Mava?
instadeepai/Mava has 924 stars on GitHub.
Where can I find Mava?
instadeepai/Mava is on GitHub at https://github.com/instadeepai/Mava.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.