multi-agent-rl

Implement QMIX and MADDPG algorithms for multi-agent reinforcement learning with PyTorch.

1|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/tachyon-beep/hamlet --skill multi-agent-rl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: multi-agent-rl
Source: https://github.com/tachyon-beep/hamlet/tree/main/.claude/skills/yzmir-deep-rl/skills/multi-agent-rl
Command: npx skills add https://github.com/tachyon-beep/hamlet --skill multi-agent-rl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables researchers and practitioners to design and analyze learning algorithms for multi-agent environments, addressing non-stationarity, credit assignment, and coordination challenges.

Core Features & Use Cases

  • Centralized training with decentralized execution (CTDE) support for cooperative, competitive, and mixed-agent settings.
  • Implementations and explanations of QMIX-style value factorization and MADDPG-style centralized critics to enable stable learning.
  • Use cases include robotics teams, traffic coordination, game AI, and any scenario with multiple agents learning concurrently.

Quick Start

Start experiments with MARL environments, run QMIX or MADDPG tutorials, tune environment settings, and monitor training curves.

Frequently Asked Questions about multi-agent-rl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I solve credit assignment and non-stationarity in multi-agent reinforcement learning?

Multi-agent reinforcement learning addresses credit assignment and non-stationarity by using centralized training with decentralized execution (CTDE) to stabilize learning. This approach leverages centralized critics or value factorization to learn coordinated policies for multiple agents in shared environments.

What is the difference between QMIX and MADDPG for multi-agent coordination?

QMIX and MADDPG differ in their approach to multi-agent coordination: QMIX uses value factorization for cooperative settings, while MADDPG employs centralized critics for cooperative, competitive, and mixed-agent scenarios. Both support centralized training with decentralized execution to ensure stable learning.

How do I implement centralized training with decentralized execution in PyTorch?

Centralized training with decentralized execution (CTDE) in PyTorch involves training agents with access to global state information, then executing policies based only on local observations. Implementations use value-factorization methods like QMIX or centralized critics like MADDPG to demonstrate training and evaluation.

When should I use value factorization instead of centralized critics for multi-agent RL?

Value factorization like QMIX is typically used for cooperative multi-agent RL scenarios, while centralized critics like MADDPG handle cooperative, competitive, and mixed-agent settings. Choose value factorization for purely cooperative tasks and centralized critics for environments with adversarial or mixed agent interactions.

Can I use multi-agent RL algorithms for traffic coordination and robotics teams?

Multi-agent RL algorithms support traffic coordination, robotics teams, and game AI scenarios. They enable multiple agents to learn concurrently in shared environments, addressing coordination challenges through CTDE, QMIX, and MADDPG implementations to develop effective decentralized execution policies.