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.2.tar.gz (4.1 MB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.10 Windows x86-64

magent2-0.3.2-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.2-cp39-cp39-win_amd64.whl (159.2 kB view details)

Uploaded CPython 3.9 Windows x86-64

magent2-0.3.2-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.2-cp38-cp38-win_amd64.whl (159.2 kB view details)

Uploaded CPython 3.8 Windows x86-64

magent2-0.3.2-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.2-cp37-cp37m-win_amd64.whl (159.2 kB view details)

Uploaded CPython 3.7m Windows x86-64

magent2-0.3.2-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.2.tar.gz.

File metadata

  • Download URL: magent2-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9d56291002d5db5865c6d3de6960c9d679aff5f25bee601ccd51bd805ec95b5b
MD5 7563572c8d5464ef4a793272f1f52045
BLAKE2b-256 ac349e1951fbb296171aa67e544203ec3f88b1df0890e0ab848873b6c1c46852

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magent2-0.3.2-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.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cfe6e7f46128ffb85e6bd938a92262418d01d4b28228377bc0250ba0f4f97719
MD5 380786ad882ab8c7db31208704a991c3
BLAKE2b-256 b2e4eaec4f282c64397a36f2b97f7376a70c8aab6e4ae658ff2f60648b896f66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for magent2-0.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 605e3cd9e7162b4ef76123dca4168e4e4fd31c0fa7493a716c537ca12bb5e79e
MD5 25fc74f03934e3879ad1b7c1c97ac638
BLAKE2b-256 94bf2004e2bbdec1bd68059738c85fd65ce6629f9d7f1716c7774a70598d60a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magent2-0.3.2-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.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 98739fee0cf424ecff333d08755a4f2b38ef5031ec2b1627c768b7eb18723619
MD5 737d7851e42de2adbe7f99f6402790f3
BLAKE2b-256 386bc06112a7f4a4e04898b506176a85f0e426499ff0e9723e593f0d55ff6b38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for magent2-0.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1faf43c998c3ea5f481e03de3c8131fdacbacbba52fe92e6ed265c4afbeeea54
MD5 e3925d8cbab07e7f822b03aee2009d10
BLAKE2b-256 117852a973946b0288cd0b0a3eba8d98514f8b1b64951b35cac2fe134c0bd95f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magent2-0.3.2-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.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 772a8bfab1f2762181f072c7233c170f266637869d5aabc596233fd842bc6044
MD5 2c78065b1bc837f24f8abc2968e125d7
BLAKE2b-256 cf348bedaa60b7a889995b0ab31fddd59b0a9619fbbbd9b261d2dee466e336b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for magent2-0.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1067806bccd65ea6ac14daa2fb153192f7371af77f90666e1cfef417fd5d3f27
MD5 e929cf936ce6191e9c0d6ff3cfd58173
BLAKE2b-256 e46f51f94fa0d4329ff6eecd92665b0b2d5f03ad5499c3dbfef34c291736d00b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magent2-0.3.2-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.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 375f56acca0c14b8a18d4c6f06507d8bd5177e7345fdd20a74e37447e451653d
MD5 a30871584c8b31b10eec4dc52a45d738
BLAKE2b-256 d37f08be346c8f7eba4305b79eda6c146f25fcc9a99e26d121a39d86be7cde91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for magent2-0.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 88fb270e1b19431f1f862f2900e9eca756544e1452dfbdcf5d9681705469f260
MD5 7e7dfae8da4279d58c82f4ff8a276bd8
BLAKE2b-256 648d7b9bccdd7f72adcbb765d22593ce93b3c601aed70ffa7654a45ce3b81dfb

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