vmas-simulator-guide

Solid

Vectorized multi-agent reinforcement learning simulator

Web & Frontend 192 stars 30 forks Updated 2 months ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
76
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

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
2 months ago
Last Updated
2 months ago
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

swarm-safety

SWARM: System-Wide Assessment of Risk in Multi-agent systems. Simulate multi-agent dynamics, test governance, study emergent risks.

30 Updated today
swarm-ai-safety
AI & Automation Featured

saddmulti-agent-patterns

Design multi-agent architectures for complex tasks. Use when single-agent context limits are exceeded, when tasks decompose naturally into subtasks, or when specializing agents improves quality.

1,040 Updated yesterday
NeoLabHQ
AI & Automation Featured

vibe-agents

Generate AGENTS.md and AI configuration files for your project. Use when the user wants to create agent instructions, set up AI configs, or says "create AGENTS.md", "configure my AI assistant", or "generate agent files".

2,181 Updated 1 months ago
KhazP
AI & Automation Featured

auto-arena

Automatically evaluate and compare multiple AI models or agents without pre-existing test data. Generates test queries from a task description, collects responses from all target endpoints, auto-generates evaluation rubrics, runs pairwise comparisons via a judge model, and produces win-rate rankings with reports and charts. Supports checkpoint resume, incremental endpoint addition, and judge model hot-swap. Use when the user asks to compare, benchmark, or rank multiple models or agents on a custom task, or run an arena-style evaluation.

621 Updated 5 days ago
agentscope-ai
AI & Automation Solid

agentvm

Execute shell commands in a secure AgentVM sandbox (Alpine Linux).

71 Updated 3 months ago
deepclause