AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompare
Home/
LLM Infra/
MAgent
MAgent logo

MAgent

★ 1.8k·MIT·Updated 2022-10-22

MAgent is a research platform for many-agent reinforcement learning, presented as an AAAI 2018 demo paper. Unlike platforms built for one or a few agents, it was designed to scale reinforcement-learning experiments from hundreds to millions of agents in grid-world scenarios such as large-scale battles, to study collective behaviour. Important: this repository is no longer maintained. Its README points to MAgent2, a maintained fork from the Farama Foundation that can be installed with pip.

It remains of historical interest to researchers working on multi-agent and swarm reinforcement learning. MAgent makes no assumptions about agent design, so you can use rule-based policies or deep-learning frameworks. However, the original code targets Python 2.7 or 3, requires building native dependencies (CMake, Boost, JsonCpp, websocketpp), and its last update was in 2022, so it is unlikely to work smoothly on modern systems.

What to use instead: for new work, use MAgent2, the maintained fork from the Farama Foundation that can be installed with pip.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-17.

© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

Guides
License
MIT
Latest release
No GitHub releases
Last commit
2022-10-22
Contributors
10
Forks
333
Open issues and PRs
31
First published
2017-11-06

Source: GitHub, npm and PyPI public APIs.

#Multi-Agent Reinforcement Learning#Simulation Platform#Collective Intelligence#Python#Deep Learning#Coding
$ Install
$ git clone [email protected]:geek-ai/MAgent.git && cd MAgent && sudo apt-get install cmake libboost-system-dev libjsoncpp-dev libwebsocketpp-dev && bash build.sh && export PYTHONPATH=$(pwd)/python:$PYTHONPATH
↗ Visit site★ GitHub
01

Features

01Scalable Many-Agent Support (hundreds to millions)
02Flexible Agent Development (rule-based or deep learning)
03Diverse Demo Scenarios (pursuit, gathering, battle)
04Interactive Battle Game Mode
05Integrated Baseline RL Algorithms (DQN, DRQN, A2C)
02

Why choose it

+Pioneering platform for reinforcement learning with very large numbers of agents.
+Agent-agnostic design that works with rule-based or learned policies.
+Backed by a published AAAI demo paper and demo videos.
03

Trade-offs

!No longer maintained; the last update was in 2022.
!Requires compiling native dependencies and targets old Python versions.
!Superseded by MAgent2, which is the better choice for any new work.
04

Maintenance check

StaleChecked: 2026-10-18
Last commit
2022-10-22
Commits, last 90 days
0
Releases, last 90 days
0
Latest release
—
Open issues
31
Recent issues with at least one comment
25/30
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

05

Compatibility

Linux
Native
Verified via docs
OS X
Partial
Verified via docs
Python 2.7
Supported
Verified via docs
Python 3
Supported
Verified via docs
TensorFlow
Supported
Verified via docs
MXNet
Supported
Verified via docs
06

Quick start

1
$ git clone [email protected]:geek-ai/MAgent.git
2
$ cd MAgent
3
$ sudo apt-get install cmake libboost-system-dev libjsoncpp-dev libwebsocketpp-dev
4
$ bash build.sh
5
$ export PYTHONPATH=$(pwd)/python:$PYTHONPATH
07

Use cases

↳Many-agent reinforcement learning research
↳Development of artificial collective intelligence
↳Benchmarking RL algorithms in large-scale environments
08

Alternatives

⚡Top VS:
VSrlcard★3.6k→VSverl-agent★2.4k→VSir-sim★1.1k→VScode-act

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Compatibility06Quick start

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #85 Unable to watch video10 comments · 2021-03-31
  • #45 What the turn action means?10 comments · 2018-09-29
  • #51 EOFError on Ubuntu 18.045 comments · 2019-03-13
  • #97 Pretrained model on Battle4 comments · 2023-08-29
  • #89 EOFError on ubuntu 20.044 comments · 2021-11-17

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

★1.7k
→
rlcard logo
rlcard★ 3.6k
Reinforcement Learning / AI Bots in Card (Poker) Games - Blackjack, Leduc, Texas, DouDizhu, Mahjong, UNO.
VSCompare→
verl-agent logo
verl-agent★ 2.4k
verl-agent is an extension of veRL, designed for training LLM/VLM agents via RL. verl-agent is also the official code for paper "Group-in-Group Policy Optimization for LLM Agent Training"
VSCompare→
ir-sim logo
ir-sim★ 1.1k
A Python-based lightweight robot simulator designed for navigation, control, and reinforcement learning
VSCompare→
code-act logo
code-act★ 1.7k
Official Repo for ICML 2024 paper "Executable Code Actions Elicit Better LLM Agents" by Xingyao Wang, Yangyi Chen, Lifan Yuan, Yizhe Zhang, Yunzhu Li, Hao Peng, Heng Ji.
VSCompare→
LLMCompiler logo
LLMCompiler★ 1.9k
[ICML 2024] LLMCompiler: An LLM Compiler for Parallel Function Calling
VSCompare→
skrl logo
skrl★ 1.1k
Modular Reinforcement Learning (RL) library (implemented in PyTorch, JAX, and NVIDIA Warp) with support for Gymnasium/Gym, NVIDIA Isaac Lab, MuJoCo Playground and other environments
VSCompare→
LLM-VM logo
LLM-VM★ 492
irresponsible innovation. Try now at https://chat.dev/
VSCompare→
on-policy logo
on-policy★ 2.1k
This is the official implementation of Multi-Agent PPO (MAPPO).
VSCompare→
See all alternatives →
07
Use cases
08Alternatives
geek-ai /
MAgent
↗

Many-agent RL platform, unmaintained; see MAgent2

1.8k333MIT
Last commit4y ago
StatusNo updates in 1y+
CategoryLLM Infra
Contributors10
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit