Skip to main content

MAgent is a library for creating 2D environments with very large numbers of agents for conducting research in Multi-Agent Reinforcement Learning. These can look like this:

This is a maintained fork from the original repo- https://github.com/geek-ai/MAgent. The code is significantly cleaned up in many aspects and some unfortunate names have been fixed, but there are no major differences.

This maintainenace was primarily done in the service of the PettingZoo library. PettingZoo is the easiest way to use environments in this library, and has comprehensive documentation of them.

Requirements

MAgent supports Linux and macOS and Python 3.6+

Install instructions

You can simply use pip install magent

If you use this in your research, please cite the original paper:

@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}}
}

Release files for magent 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for magent 0.2.4
File Size Uploaded
magent-0.2.4.tar.gz 4.1 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for magent 0.2.4
File
magent-0.2.4-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
magent-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
magent-0.2.4-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
magent-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
magent-0.2.4-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
magent-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
magent-0.2.4-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
magent-0.2.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details

Total release size: 11.6 MB

Release files / magent-0.2.4.tar.gz

Download URL magent-0.2.4.tar.gz
Size 4.1 MB
Tags Source
SHA-256 checksum
How to use checksums
42d9ba6e6c8179c87a1a36e37d9bbf93ee8da48c7d90ea16fc6432f2ffa9a06c
BLAKE2b-256 checksum
How to use checksums
261cc979c10f915ff4f88057ddcbfc088b43e723c1dd2e047137c1be79ef5ceb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / magent-0.2.4-cp310-cp310-win_amd64.whl

Download URL magent-0.2.4-cp310-cp310-win_amd64.whl
Size 143.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
d1074968c8ee18d01e6395cfae0cecc1eba27f373928b445d58993b8431b69e9
BLAKE2b-256 checksum
How to use checksums
f8434fa0deaa8e11485471dde4a1c1b20636d9737959234c0766892898a88516
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / magent-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL magent-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.7 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
fb1557b6ac743da8c0fa02b626707cb7874e497bd4cdf8c1c5eea436ce847405
BLAKE2b-256 checksum
How to use checksums
0af3a26183ae33236a4ceff21bd4bd71b57258863ebeb5f2a4e3cb48547f0ea9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / magent-0.2.4-cp39-cp39-win_amd64.whl

Download URL magent-0.2.4-cp39-cp39-win_amd64.whl
Size 143.1 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
b215f542fe6307c7e9611bb34a6842d29e73b55240f981e3c443d29aea10f0c8
BLAKE2b-256 checksum
How to use checksums
5c984209bb2b38fdc6b4212537a4634a087b67f2bcde996e47753dfa89817fea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / magent-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL magent-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.7 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9ce3484505ca1ccfe1ce28451458dd3d8efbd2020613cf74ec509c3311de1666
BLAKE2b-256 checksum
How to use checksums
dff8f3dc8e884739c54d1dc4e13ab19c35e8d07125bb614e1beba06e195955ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / magent-0.2.4-cp38-cp38-win_amd64.whl

Download URL magent-0.2.4-cp38-cp38-win_amd64.whl
Size 143.1 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
7619bd2858d674f5ae9b54c4654da9638c49d8782ac40215ff82670d4788c06b
BLAKE2b-256 checksum
How to use checksums
efc48788f6a661e174d9bb53c37107e81d0b63ad4042ab1ffdcd4a75dcab17bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / magent-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL magent-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.7 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
017c07d7b4734ccdbb5e786fd7b5b6a480dfe977be3ee51f26c2b3a9e5f8b191
BLAKE2b-256 checksum
How to use checksums
e65fbb8bcfcaf0e06ec369dc7bb9f9604ce6521277a853e6fa3d8c3f7dbb2629
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / magent-0.2.4-cp37-cp37m-win_amd64.whl

Download URL magent-0.2.4-cp37-cp37m-win_amd64.whl
Size 143.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
fc41f9b36a9b6b4ccccd326ebef78ab189300e8bfa6bfeffbd75effbd6af9719
BLAKE2b-256 checksum
How to use checksums
a783e1e4c70126dff3123c8237c440d59d0d945815165482338dfa43ee64f72b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / magent-0.2.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL magent-0.2.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.7 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1ae5825d08e13ed3f14ebb19fb0c0594ab0febfe6e03b5d9ed1efb94e685610e
BLAKE2b-256 checksum
How to use checksums
ac42a7bda5c7c52d2a6b0ff1085d335578ca61af4d761dc9146ef9fb315ab0ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.2.4 This release

9 release files

0.2.3

9 release files

0.2.2

13 release files

0.2.0

9 release files

0.1.13

9 release files

0.1.12

5 release files

0.1.11

2 release files

0.1.10

1 release file

0.1.9

2 release files

0.1.8

2 release files

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page