Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
An engine for high performance multi-agent environments with very large numbers of agents, along with a set of reference environments
| Date | Stars |
|---|---|
| 2026-07-31 | 337 |
| 2026-08-06 | 338 |
Today
+1 stars today
This week
— stars this week
This month
— stars this month
Momentum
19.0
growth rate 0.00%/day
[](https://badge.fury.io/py/magent2)
[](https://pypi.org/project/magent2)
<p align="center">
<img src="https://raw.githubusercontent.com/Farama-Foundation/MAgent2/main/MAgent2-text.png" width="500px"/>
</p>
MAgent2 is a library for the creation of environments where large numbers of pixel agents in a gridworld interact in battles or other competitive scenarios.
<p align="center">
<img src="https://raw.githubusercontent.com/Farama-Foundation/MAgent2/main/docs/environments/adversarial_pursuit.gif" width="200">
</p>
MAgent2 is a maintained fork of the original [MAgent](https://github.com/geek-ai/MAgent) codebase. It contains some [reference environments](https://github.com/Farama-Foundation/MAgent2/tree/main/magent2/environments) implemented using the [PettingZoo](https://github.com/Farama-Foundation/PettingZoo) API. These environments used to be included in PettingZoo itself, but have been moved here to exist independently. They are being regularly maintained and will receive bug fixes, support new versions of Python, etc. Development used to take place at [github.com/Farama-Foundation/MAgent](https://github.com/Farama-Foundation/MAgent) but was moved to [github.com/Farama-Foundation/MAgent2](https://github.com/Farama-Foundation/MAgent2) so that the distinction from the original MAgent library is clear to users.
## Installation
Install using pip: `pip install magent2`. See [docs](https://magent2.farama.org/) for usage information.
## Requirements
MAgent2 supports Linux and macOS and Python 3.8+.
## References
```
@inproceedings{zheng2018magent,
title={MAgent: A many-agent reinforcement learning platform for artificial collective intelligence},
author={Zheng, Lianmin and Yang, Jiacheng and Cai, Han and Zhou, Ming and Zhang, Weinan and Wang, Jun and Yu, Yong},
booktitle={Thirty-Second AAAI Conference on Artificial Intelligence},
year={2018}
}
```
If you wish to cite this repo with it's modifications specifically, please cite:
```
@misc{magent2020,
author = {Terry, Jordan K and Black, Benjamin and Jayakumar, Mario},
title = {MAgent},
year = {2020},
publisher = {GitHub},
note = {GitHub repository},
howpublished = {\url{https://github.com/Farama-Foundation/MAgent}}
}
```
## Project Maintainers
- Project Manager: [Travis Virgil](https://github.com/virgilt) - `[email protected]`
- Maintenance for this project is also contributed by the broader Farama team: [farama.org/team](https://farama.org/team).
Excerpt of 2,586 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:3ae36fc8b938b0a9, llm:Description: 'An engine for high performance multi-agent environments with very large numbers of agents, along with a set of reference environments' (repo description). Language: C++.
matched fp:3ae36fc8b938b0a9, llm:Description: 'An engine for high performance multi-agent environments with very large numbers of agents, along with a set of reference environments' (repo description). Language: C++.
matched fp:3ae36fc8b938b0a9, llm:Description: 'An engine for high performance multi-agent environments with very large numbers of agents, along with a set of reference environments' (repo description). Language: C++.