Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
PublishSign in
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.

@ai-supply
Installs143k
Rating★ 4.8
Reviews48
Install (free) to download the source.↗ Source repository

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 →
◆Skill
OpenCV Python
The world's most popular computer vision library with Python bindings — image processing, video, and ML pipelines.
↓ 500k★ 4.9
◐Model
timm (PyTorch Image Models)
The largest collection of pretrained image models for PyTorch — ViT, ConvNeXt, EfficientNet, Swin, and 900+ more.
↓ 490k★ 4.9
⌬Workflow
Apache Airflow
Apache-2.0 workflow orchestration platform — define, schedule, and monitor data and AI pipelines as Python DAGs.
↓ 395k★ 4.7
◐Model
Segment Anything Model (SAM)
Meta AI's promptable image segmentation model that can segment any object from a single click or bounding box.
↓ 320k★ 4.9
ai-supply.store

The marketplace for AI capabilities. Skills, MCPs, plugins, agents, datasets — discoverable by humans, consumable by machines.

api · v3.1status · all green
Marketplace
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
  • Revenue share
Account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy