Python library for multi-agent reinforcement learning environments
Top 16.1% on sourcepulse
PettingZoo provides a standardized API for multi-agent reinforcement learning (MARL) environments, serving as a crucial tool for researchers and practitioners in the field. It offers a diverse collection of reference environments and utilities, simplifying the development and benchmarking of MARL algorithms.
How It Works
PettingZoo models environments as Agent Environment Cycle (AEC) games, enabling a unified API across various multi-agent scenarios and minimizing common bugs. This approach allows for flexible interaction, supporting both sequential and simultaneous action spaces, and closely mirrors the popular Gymnasium API for ease of use.
Quick Start & Requirements
pip install pettingzoo
.pip install 'pettingzoo[atari]'
or all with pip install 'pettingzoo[all]'
.cmake
, swig
, or zlib1g-dev
on some Linux distributions.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
2 months ago
Inactive