executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
pettingzooUse, select, author, validate, wrap, and integrate PettingZoo multi-agent reinforcement-learning environments.
Independent GitHub snapshot · Automated classification · Original documentation governs
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.
reset/step lifecycle, action masks, termination/truncation, step(None), rendering, seeding, and bounded smoke checks.aec_to_parallel, parallel_to_aec, utility wrappers, AgentSelector, average_total_reward, save_observation, and wrapper ordering.api_test, parallel_api_test, seed tests, render tests, max-cycle checks, CI selection, native test safety, and failure interpretation.pettingzoo.1.26.1.>=3.9,<3.15.numpy>=1.21.0 and gymnasium>=1.0.0.[classic], [butterfly], [atari], [sisl], [other], [testing], and [all].pettingzoo CLI.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.
reset(seed=...), step only live agents, sample action masks when present, and call close() in finally blocks.