Skip to main content

Multi-Agent Reinforcement Learning environments with very large numbers of agents.

Project description

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.7+.

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 details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

magent2-0.3.1.tar.gz (4.1 MB view details)

Uploaded Source

Built Distributions

magent2-0.3.1-cp310-cp310-win_amd64.whl (159.2 kB view details)

Uploaded CPython 3.10 Windows x86-64

magent2-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

magent2-0.3.1-cp39-cp39-win_amd64.whl (159.2 kB view details)

Uploaded CPython 3.9 Windows x86-64

magent2-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

magent2-0.3.1-cp38-cp38-win_amd64.whl (159.2 kB view details)

Uploaded CPython 3.8 Windows x86-64

magent2-0.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

magent2-0.3.1-cp37-cp37m-win_amd64.whl (159.2 kB view details)

Uploaded CPython 3.7m Windows x86-64

magent2-0.3.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

File details

Details for the file magent2-0.3.1.tar.gz.

File metadata

  • Download URL: magent2-0.3.1.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for magent2-0.3.1.tar.gz
Algorithm Hash digest
SHA256 76109e0731068e5aaef092ffea52b39032db6663da1544820378248c4d032e8f
MD5 a5ec27c8570fc95d6c08f1724e2cf83e
BLAKE2b-256 6ab302365e1caddb108a8babdbde2d134455e9e9995903ce411b5c54b22f3524

See more details on using hashes here.

File details

Details for the file magent2-0.3.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: magent2-0.3.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 159.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for magent2-0.3.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6831a653a6fc2dbbbfbbca93021d90102e63d71e8dc86ac774c727b150f74ed4
MD5 82b86a68689d108687eaa5bd8f1891ef
BLAKE2b-256 42c39f9bb83706805c2077bd82da6c700eb844e5bbe06ed5d3dc9cd96d7501d1

See more details on using hashes here.

File details

Details for the file magent2-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for magent2-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7af329b4bf0d9a564dbb999a68640147ab76f2ee6aea2037397fcc16522d3068
MD5 3e9d62aa9f276b204061bc4a4f68cdce
BLAKE2b-256 2537e3f856bbd1335d56a9105757876613790d4acd2bb8a0dd29435cd560c1de

See more details on using hashes here.

File details

Details for the file magent2-0.3.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: magent2-0.3.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 159.2 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for magent2-0.3.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4895d11c17cadfdab68684bd2654124155c81c85005ce183753e20e81b6f2d20
MD5 53631a447021a6041ed0a4708ee59437
BLAKE2b-256 62262d63d9dd263f7329c03cd4d69e2a40910e65967c75bd1843af449d07af5b

See more details on using hashes here.

File details

Details for the file magent2-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for magent2-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a30eb03b24c55a99a4ce43ed98cb958f511b3fb34815923e8207d623c893e181
MD5 43d6db77fcefc64f67b1f77215647c7e
BLAKE2b-256 233f4581ac8b63993a455d37ec20d8fe03368a8a205e734270abf77298e725bd

See more details on using hashes here.

File details

Details for the file magent2-0.3.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: magent2-0.3.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 159.2 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for magent2-0.3.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 0bf994ad6e72bd3f7ec7e5b7f78683af8096acae48b1e8f1ab93a1f843c8f79f
MD5 452a0fd3275578b8e11bbd09c365f760
BLAKE2b-256 eaa5f0bb0598e1a5c760a87876e59d1ae750678b1dc45dc5836866355cfb9bf6

See more details on using hashes here.

File details

Details for the file magent2-0.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for magent2-0.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6bbf5f665b1b2a702a9af9135cf17e2529370a95bc9f2792ef6024a55bb7cf7c
MD5 7e402a642491381a518ad560ffa27f2a
BLAKE2b-256 7f63c0cc09ead720c44bcbd10073f08899487473c04631d1250918dba275d4fd

See more details on using hashes here.

File details

Details for the file magent2-0.3.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: magent2-0.3.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 159.2 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for magent2-0.3.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 051168af56b699dfbd26cee293a668d4acc73de955c3034183f7a151fa5e57d4
MD5 0f6ac7573c34478472fecf49020c0771
BLAKE2b-256 78720e1c32b1dfe8944c29107e7ebe3e8bb57e4a55bab2a1f2fee4dca61145b1

See more details on using hashes here.

File details

Details for the file magent2-0.3.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for magent2-0.3.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9cbc2ba60c5c221d50917413a565ad8d7fcd6bfac0c5e08b77e343ae7e482018
MD5 c4fbcc38c673d9c545182f338b95634c
BLAKE2b-256 bac324aee0134ab693fda9d3c78a6ddd6d3a306a1afa36850afabba7aebf0bc9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page