Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
Sign inSign up free
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
Installs139k
⟳ upstream 1.26.1 · updated 3mo ago
↗ Source repository
← More Gaming & SimulationGaming & Simulation leaderboard →How we grade security →Source ↗
! 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 16d ago·osv · gitleaks · opengrep · picklescan + heuristics·full 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.

Rating rank
#1
of 13 in Gaming & Simulation
Install rank
#4
of 13 in Gaming & Simulation
Security score
75/100 · B
review
Security rank
#10
of 13 in Gaming & Simulation
Installs
139k
cat avg 86k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Gaming & Simulation leaderboard →
! Security: Review · 7575/100 · grade Bscanned 16d ago
✓ no compromise signals13 risk-surface · 6/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · med confidence (static)
⚑ filesystem⚑ shell⚑ secrets
egress → www.reddit.com, discord.com, pre-commit.com, help.github.com, packaging.python.org, formulae.brew.sh, community.chocolatey.org, img.shields.io +32
30 scripts

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM03Supply Chaincritical
Vulnerable/compromised dependencies, models or archives in the artifact.
•Dependency manifest — 5 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/docs/requirements.txtrisk surface
•Non-registry dependency source — 1 requirement(s) from git/URL/editable · Farama-Foundation-PettingZoo-0b51eff/docs/requirements.txt (CWE-829)risk surface
•Dependency manifest — 13 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/tutorials/AgileRL/requirements.txtrisk surface
•Dependency manifest — 6 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/tutorials/CleanRL/requirements.txtrisk surface
•Dependency manifest — 2 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/tutorials/CustomEnvironment/requirements.txtrisk surface
•Dependency manifest — 4 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/tutorials/LangChain/requirements.txtrisk surface
•Dependency manifest — 3 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/tutorials/SB3/connect_four/requirements.txtrisk surface
•Vulnerable dependencies — 170 known vulnerabilities in: pillow@9.5.0, torch@2.9.1, filelock@3.9.1, requests@2.9.2, filelock@3.19.1, pygments@2.9.0, idna@3.9.0, tqdm@4.9.0 (CWE-1395)known CVE · -25 pts
⚠LLM05Improper Output Handlingmedium
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — OS command execution · Farama-Foundation-PettingZoo-0b51eff/docs/_scripts/generate_gif_image.py (CWE-78)risk surface
•Suspicious code patterns — dynamic code execution · Farama-Foundation-PettingZoo-0b51eff/docs/tutorials/agilerl/DQN.md (CWE-95)risk surface
•Suspicious code patterns — pickle deserialization · Farama-Foundation-PettingZoo-0b51eff/test/pickle_test.py (CWE-502)risk surface
⚠LLM06Excessive Agencymedium
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 1 distinct host(s) · Farama-Foundation-PettingZoo-0b51eff/.github/ISSUE_TEMPLATE/bug.ymlrisk surface
•External endpoints declared — 2 distinct host(s) · Farama-Foundation-PettingZoo-0b51eff/.github/ISSUE_TEMPLATE/question.ymlrisk surface
•External endpoints declared — 3 distinct host(s) · Farama-Foundation-PettingZoo-0b51eff/.gitignorerisk surface
•External endpoints declared — 4 distinct host(s) · Farama-Foundation-PettingZoo-0b51eff/CONTRIBUTING.mdrisk surface
•External endpoints declared — 9 distinct host(s) · Farama-Foundation-PettingZoo-0b51eff/README.mdrisk surface
•External endpoints declared — 7 distinct host(s) · Farama-Foundation-PettingZoo-0b51eff/docs/api/aec.mdrisk surface
•External endpoints declared — 26 distinct host(s) · Farama-Foundation-PettingZoo-0b51eff/docs/environments/third_party_envs.mdrisk surface
•External endpoints declared — 5 distinct host(s) · Farama-Foundation-PettingZoo-0b51eff/docs/tutorials/cleanrl/advanced_PPO.mdrisk surface
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · Farama-Foundation-PettingZoo-0b51eff/pettingzoo/butterfly/cooperative_pong/test_ball.py (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM01Prompt InjectionPassed
✓LLM02Sensitive Information DisclosurePassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM07System Prompt LeakagePassed
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML06AI Supply Chaincritical
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Dependency manifest — 5 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/docs/requirements.txtrisk surface
•Non-registry dependency source — 1 requirement(s) from git/URL/editable · Farama-Foundation-PettingZoo-0b51eff/docs/requirements.txt (CWE-829)risk surface
•Dependency manifest — 13 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/tutorials/AgileRL/requirements.txtrisk surface
•Dependency manifest — 6 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/tutorials/CleanRL/requirements.txtrisk surface
•Dependency manifest — 2 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/tutorials/CustomEnvironment/requirements.txtrisk surface
•Dependency manifest — 4 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/tutorials/LangChain/requirements.txtrisk surface
•Dependency manifest — 3 pip requirements declared · Farama-Foundation-PettingZoo-0b51eff/tutorials/SB3/connect_four/requirements.txtrisk surface
•Vulnerable dependencies — 170 known vulnerabilities in: pillow@9.5.0, torch@2.9.1, filelock@3.9.1, requests@2.9.2, filelock@3.19.1, pygments@2.9.0, idna@3.9.0, tqdm@4.9.0 (CWE-1395)known CVE · -25 pts
⚠ML09Output Integritymedium
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — OS command execution · Farama-Foundation-PettingZoo-0b51eff/docs/_scripts/generate_gif_image.py (CWE-78)risk surface
•Suspicious code patterns — dynamic code execution · Farama-Foundation-PettingZoo-0b51eff/docs/tutorials/agilerl/DQN.md (CWE-95)risk surface
•Suspicious code patterns — pickle deserialization · Farama-Foundation-PettingZoo-0b51eff/test/pickle_test.py (CWE-502)risk surface
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML02Data PoisoningPassed
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (6) · hygiene / uncategorized
•Unrecognized file type — '.gitignore' is not on the allowlist · Farama-Foundation-PettingZoo-0b51eff/.gitignorerisk surface
•Unrecognized file type — '.cff' is not on the allowlist · Farama-Foundation-PettingZoo-0b51eff/CITATION.cffrisk surface
•Unrecognized file type — '.?' is not on the allowlist · Farama-Foundation-PettingZoo-0b51eff/LICENSErisk surface
•Unrecognized file type — '.in' is not on the allowlist · Farama-Foundation-PettingZoo-0b51eff/MANIFEST.inrisk surface
•Disallowed file type — '.bat' executables are not permitted · Farama-Foundation-PettingZoo-0b51eff/docs/make.bat (CWE-434)risk surface
•Unrecognized file type — '.test_durations' is not on the allowlist · Farama-Foundation-PettingZoo-0b51eff/test/.test_durationsrisk surface
✔ verified source · pinned Farama-Foundation-PettingZoo-0b51eff
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/pettingzoo-multiagent-rl/check). Click a policy:

Consume PettingZoo — Multi-Agent Reinforcement Learning programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/pettingzoo-multiagent-rl

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/pettingzoo-multiagent-rl/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add pettingzoo-multiagent-rl

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/pettingzoo-multiagent-rl/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "pettingzoo-multiagent-rl" })
OpenAPI spec →
vlatest
! Security: Review · 751mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

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
ai-supply.store

Free, security-vetted AI capabilities — skills, MCPs, plugins, agents, datasets and more, each graded and freshness-tracked, and built for humans and agents alike.

api · v3.1status · all green
Contact
support@ai-supply.storesecurity@ai-supply.store
Catalog
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
  • Security
  • Scan a repo
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
Account
  • Create account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy