catalog / Gaming & Simulation / PettingZoo — Multi-Agent Reinforcement Learning
SkillGaming & SimulationFree

PettingZoo — Multi-Agent Reinforcement Learning

Farama Foundation's MIT-licensed multi-agent RL environment library — 50+ cooperative and competitive games for training and evaluating MARL algorithms.

Instalações139k
⟳ upstream 1.27.0 · updated 29d ago
Repositório fonte
! Grade B · 75/100 · ReviewSecurity assessment
No compromise signals12capabilities surfaced1known CVE9of 20 OWASP controls clear
External endpoints declaredExternal endpoints declaredExternal endpoints declaredExternal endpoints declared
scanned 26d agoosv · gitleaks · opengrep · picklescan + heuristicsfull breakdown in the Security tab ↓

PettingZoo — Multi-Agent Reinforcement Learning

PettingZoo is the multi-agent counterpart to Gymnasium, providing a standard API for environments where multiple agents interact simultaneously. It covers cooperative, competitive, and mixed-motive scenarios — from classic board games (Chess, Go, Connect Four) to Atari multiplayer games (Pong, Surround) and particle physics environments — making it the standard benchmark suite for multi-agent RL research and game AI development.

Key Features

  • 50+ multi-agent environments across 5 families: Atari, Classic, MPE, SISL, Butterfly
  • AECEnv (turn-based) and ParallelEnv (simultaneous-action) APIs
  • Compatible with RLlib, Stable-Baselines3 (via SuperSuit wrappers), and CleanRL
  • Parallel environment vectorization for high-throughput training
  • Standardized agent observation and action spaces across all environments

Quick Start

pip install pettingzoo[classic]
from pettingzoo.classic import chess_v6

env = chess_v6.env(render_mode="human")
env.reset(seed=42)
for agent in env.agent_iter():
    observation, reward, termination, truncation, info = env.last()
    if termination or truncation:
        action = None
    else:
        action = env.action_space(agent).sample()
    env.step(action)
env.close()
npx ai-supply add pettingzoo-multiagent-rl

Curated mirror of the open-source PettingZoo (MIT). Get it from the source.

More from @ai-supply

View profile →
Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
1.0M
Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
892k
Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
811k
Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
784k