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.
MAgent2 is a maintained fork of the original MAgent codebase. It contains some reference environments implemented using the 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 but was moved to 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 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}}
}
Metadata
Release files for magent2 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| magent2-0.3.3.tar.gz | 4.2 MB | Without provenance | Details for magent2-0.3.3.tar.gz |
Built distributions (wheels)
Total release size: 11.8 MB
Release files / magent2-0.3.3.tar.gz
| Download URL | magent2-0.3.3.tar.gz |
|---|---|
| Size | 4.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b97b60e7032bf9b167508244b62c485c30b7f39e0a5275597f2f3207c541a79
|
|
BLAKE2b-256 checksum How to use checksums |
cf889e0555da0e1a9b886c3a1490d20e7c43d056596988c6a3e54c0c2c0df2f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / magent2-0.3.3-cp311-cp311-win_amd64.whl
| Download URL | magent2-0.3.3-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 163.0 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6c8781626e0a9f1582bff75aa3ed812e22a5c5d6500bafbdf901274ee78e658c
|
|
BLAKE2b-256 checksum How to use checksums |
9dbc7f2d4383c9c20e005f8ba895fc5b134fe87a9811a46af95b1868afaadba5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / magent2-0.3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | magent2-0.3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1aa056b3eab6b8baba0b7e45525ff51163a1597c63ba310905c1b064f798c951
|
|
BLAKE2b-256 checksum How to use checksums |
451e5d795f742d11b80393069c2687dde50b9aa1dd99c1c7373f0c6e7697c052
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / magent2-0.3.3-cp310-cp310-win_amd64.whl
| Download URL | magent2-0.3.3-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 163.0 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f28262cf1bff129a3e28f23d8a4d2749c9362ba6f58d15c7aae6dc863c850d07
|
|
BLAKE2b-256 checksum How to use checksums |
57a0718f5e8520691ddf964d12e9433adcd8cd79c697101aabad1694c4c7a34b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / magent2-0.3.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | magent2-0.3.3-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 |
e6fe235a2a3f5b2a99c995abe30c28bb03ad1751572d39182b6c9ce2f3a3b266
|
|
BLAKE2b-256 checksum How to use checksums |
dd27b8ed11da998676798bd64d362332d194e490ea974695bb31378a9b085fef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / magent2-0.3.3-cp39-cp39-win_amd64.whl
| Download URL | magent2-0.3.3-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 163.0 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ae0f635cee5a4dc1eb5c7dad7c89fda5c9b5b16dc2892deae256a30223691545
|
|
BLAKE2b-256 checksum How to use checksums |
4881c638bc589e8421fb89c20a1c4ee32865ab4dd9b48c7cbb25f0feecae66b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / magent2-0.3.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | magent2-0.3.3-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 |
eb791c9895098b522a10f570daa1807e2fd2e63ae60d85ccce7e4dc1769084f8
|
|
BLAKE2b-256 checksum How to use checksums |
4fe2563d46e07793f3a4d75b311b0875031559f93d01351390cb5feaa2491832
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / magent2-0.3.3-cp38-cp38-win_amd64.whl
| Download URL | magent2-0.3.3-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 163.0 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c2fae7536184c2fe86f9596c30aed3ee62ec45b0096d380cadd053099411a617
|
|
BLAKE2b-256 checksum How to use checksums |
6febe24b6701fa551ac8263b62f1bb70825928d72e3047a806120ff02abb0fb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / magent2-0.3.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | magent2-0.3.3-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 |
850592c6c18c699821725dbe99c12312ebda0e474fb921b3144aca246f74faac
|
|
BLAKE2b-256 checksum How to use checksums |
ce336e07021fefea0e4f9f0a625a1471aca252ebf54c87fab9e5946321c38545
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Security for magent2 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.