Multi agent and wrappers

From VectorSpaceLab/AREX-Skill · View interactive version

Multi agent and wrappers is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Use AgileRL multi-agent PettingZoo workflows, MADDPG/MATD3/IPPO, vector envs, wrappers, agent grouping, and multi-agent replay setup.

How to use this skill

Skill file

AgileRL Multi-Agent And Wrappers

Use this sub-skill for AgileRL multi-agent reinforcement learning with PettingZoo parallel environments, MADDPG, MATD3, IPPO, AsyncPettingZooVecEnv, make_multi_agent_vect_envs, multi-agent replay buffers, agent grouping, asynchronous-agent wrappers, and curriculum/Skill wrappers.

Read First

Boundaries

Multi-Agent Flow

  1. Create a PettingZoo parallel environment factory.
  2. Vectorize with make_multi_agent_vect_envs(...) or AsyncPettingZooVecEnv.
  3. Capture agent_ids, observation_spaces, and action_spaces in the same order.
  4. Define net_config globally, per agent, or per homogeneous group.
  5. Create a population with create_population(algo="MADDPG" | "MATD3" | "IPPO", ...).
  6. Use MultiAgentReplayBuffer for off-policy multi-agent algorithms.
  7. Configure HPO and call the matching multi-agent training helper.

Supported Patterns

Safe Validation

python scripts/inspect_multi_agent_setup.py --agents speaker_0 listener_0

The helper validates ID prefixes, synthetic spaces, and grouped config shape. It does not import external PettingZoo environments or train.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.