인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

pettingzoo

pettingzoo

Use, select, author, validate, wrap, and integrate PettingZoo multi-agent reinforcement-learning environments.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: pettingzoo description: "Use, select, author, validate, wrap, and integrate PettingZoo multi-agent reinforcement-learning environments." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

PettingZoo

Use this repo skill when a task involves PettingZoo, the multi-agent reinforcement-learning environment API built around AEC and Parallel environment interfaces. It helps future agents write correct environment loops, choose optional environment families, implement custom environments, compose wrappers/utilities, run compliance tests, and adapt framework tutorials safely.

Start Here

Route By Task

Verified Package Facts

  • Package/import name: pettingzoo.
  • Version covered by this skill: 1.26.1.
  • Python range: >=3.9,<3.15.
  • Base dependencies: numpy>=1.21.0 and gymnasium>=1.0.0.
  • Base install covers API classes, wrappers, conversion helpers, test utilities, and custom environment authoring support.
  • Optional extras are required for most built-in environment families: [classic], [butterfly], [atari], [sisl], [other], [testing], and [all].
  • PettingZoo declares no console entry points; use Python imports and bundled scripts instead of expecting a pettingzoo CLI.

Minimal Install Guidance

Base API and custom environment work:

pip install pettingzoo
python -c "import pettingzoo; print(pettingzoo.__version__)"

Install only the family you need:

pip install 'pettingzoo[classic]'
pip install 'pettingzoo[butterfly]'
pip install 'pettingzoo[atari]'
pip install 'pettingzoo[sisl]'

Avoid pettingzoo[all] unless you deliberately need broad local coverage across several environment families. It can add compiled and GUI-related dependencies, and it does not install Atari ROMs or training frameworks.

Safe Workflow Defaults

  • Prefer bounded, headless smoke checks before GUI rendering, long training, framework setup, or Atari ROM workflows.
  • Use reset(seed=...), step only live agents, sample action masks when present, and call close() in finally blocks.
  • Treat built-in environment tutorials as evidence and recipes, not as default commands to run; many require optional extras, render access, large frameworks, or long training.
  • Use PettingZoo compliance helpers for custom environments before adapting them to training frameworks.
  • Keep optional-family dependencies separate from framework dependencies; PettingZoo extras do not install CleanRL, Tianshou, SB3, Ray/RLlib, AgileRL, or LangChain.
저장한 Skills