vmas-simulator-guide
SolidVectorized multi-agent reinforcement learning simulator
Web & Frontend 231 stars
37 forks Updated 3 days ago MIT
Install
Quality Score: 92/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# VMAS: Vectorized Multi-Agent Simulator Guide
## Overview
VMAS is a vectorized simulator for multi-agent reinforcement learning (MARL) that runs thousands of parallel environments on GPU via PyTorch. It provides a diverse set of 2D cooperative, competitive, and mixed scenarios for benchmarking multi-agent algorithms. Orders of magnitude faster than CPU-based simulators, enabling rapid research iteration on multi-agent coordination problems.
## Installation
```bash
pip install vmas
```
## Quick Start
```python
import vmas
# Create vectorized environment
env = vmas.make_env(
scenario="simple_spread",
num_envs=1024, # Parallel environments
num_agents=3,
device="cuda", # GPU acceleration
continuous_actions=True,
)
# Environment loop
obs = env.reset()
for step in range(100):
# Random actions for demonstration
actions = [env.action_space[i].sample()
for i in range(env.n_agents)]
obs, rewards, dones, infos = env.step(actions)
# obs: list of [num_envs, obs_dim] tensors
# rewards: list of [num_envs] tensors
```
## Scenarios
| Scenario | Type | Agents | Description |
|----------|------|--------|-------------|
| **simple_spread** | Cooperative | 3 | Cover N landmarks |
| **simple_tag** | Competitive | 4 | Predator-prey |
| **transport** | Cooperative | 4 | Move package to goal |
| **wheel** | Cooperative | 4 | Coordination on wheel |
| **flocking** | Cooperative | 5+ | Reynolds flocking |
| **discovery** ...
Details
- Author
- wentorai
- Repository
- wentorai/research-plugins
- Created
- 3 months ago
- Last Updated
- 3 days ago
- Language
- TypeScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
openmaic-classroom
OpenMAIC — Open Multi-Agent Interactive Classroom platform for generating immersive AI-powered learning experiences with slides, quizzes, simulations, and multi-agent discussions.
38 Updated 1 months ago
Aradotso AI & Automation Solid
agent-based-simulator
Agent-based modeling skill for simulating complex adaptive systems with heterogeneous interacting agents
1,313 Updated today
a5c-ai AI & Automation Listed
multi-agent-rl
Master Multi Agent Rl for machine learning and AI applications. Use when implementing ML models, building AI systems, or working with data-driven solutions. This skill covers fundamental concepts, implementation techniques, best practices, and production considerations for multi agent rl.
1 Updated 2 weeks ago
Sandeeprdy1729