Farama-Foundation/PettingZoo
A standard API for multi-agent reinforcement learning environments, with popular reference environments and related utilities observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 97
- Release rhythm 73
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 108
- age_days: 2417
- days_rel: 20
- days_push: 20
- n_releases_24m: 4
Adoption not part of the score
3498 stars · 519 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PettingZoo is a Python library providing a standard API for multi-agent reinforcement learning environments, analogous to Gymnasium but for multiple agents. It ships with reference environment families (Atari, Butterfly, Classic, SISL) plus wrappers and utilities for MARL research.
Use cases
- train multi-agent reinforcement learning agents
- benchmark MARL algorithms on standard environments
- create custom multi-agent RL environments with a standard API
- run multi-player Atari and board game environments for RL research
- integrate MARL environments with CleanRL, Tianshou, RLlib, or Stable-Baselines3
When to choose
- you need a standardized, well-maintained API for multi-agent RL environments
- you want ready-made reference environments like chess, Hanabi, or cooperative Atari games
- you are doing MARL research and want compatibility with popular RL training libraries
When to avoid
- you only need single-agent RL environments (use Gymnasium instead)
- you need official Windows support
- you need high-performance production simulation rather than research environments
Facets
library · maturity active
reinforcement-learning simulation game-engine testing reinforcement-learning machine-learning artificial-intelligence python multi-agent gymnasium rl-environments marl farama-foundation game-development research linux macos
3 sources
- readme: https://github.com/Farama-Foundation/PettingZoo · fetched 2026-08-28 · 285b83a55bc8
- homepage: https://pettingzoo.farama.org · fetched 2026-08-29 · d2bd582b7b1f
- registry_pypi: https://pypi.org/pypi/pettingzoo/json · fetched 2026-08-29 · 087b5b5e4ed7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Farama-Foundation/PettingZoo | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="Farama-Foundation/PettingZoo")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem