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

Uploaded Source

Built Distributions

magent2-0.3.3-cp311-cp311-win_amd64.whl (163.0 kB view details)

Uploaded CPython 3.11 Windows x86-64

magent2-0.3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

magent2-0.3.3-cp310-cp310-win_amd64.whl (163.0 kB view details)

Uploaded CPython 3.10 Windows x86-64

magent2-0.3.3-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.3-cp39-cp39-win_amd64.whl (163.0 kB view details)

Uploaded CPython 3.9 Windows x86-64

magent2-0.3.3-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.3-cp38-cp38-win_amd64.whl (163.0 kB view details)

Uploaded CPython 3.8 Windows x86-64

magent2-0.3.3-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

File details

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

File metadata

  • Download URL: magent2-0.3.3.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for magent2-0.3.3.tar.gz
Algorithm Hash digest
SHA256 8b97b60e7032bf9b167508244b62c485c30b7f39e0a5275597f2f3207c541a79
MD5 041cfce5b7f8d7c41c8a9856ae308a46
BLAKE2b-256 cf889e0555da0e1a9b886c3a1490d20e7c43d056596988c6a3e54c0c2c0df2f5

See more details on using hashes here.

File details

Details for the file magent2-0.3.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: magent2-0.3.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 163.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for magent2-0.3.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6c8781626e0a9f1582bff75aa3ed812e22a5c5d6500bafbdf901274ee78e658c
MD5 480ac83cf649c7c3f2770514a3ef9a63
BLAKE2b-256 9dbc7f2d4383c9c20e005f8ba895fc5b134fe87a9811a46af95b1868afaadba5

See more details on using hashes here.

File details

Details for the file magent2-0.3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for magent2-0.3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1aa056b3eab6b8baba0b7e45525ff51163a1597c63ba310905c1b064f798c951
MD5 c60d241496cb4ce7cd8258e174e5677f
BLAKE2b-256 451e5d795f742d11b80393069c2687dde50b9aa1dd99c1c7373f0c6e7697c052

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magent2-0.3.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 163.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for magent2-0.3.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f28262cf1bff129a3e28f23d8a4d2749c9362ba6f58d15c7aae6dc863c850d07
MD5 eb6c97f1e4c5acb56b23e78a229ff796
BLAKE2b-256 57a0718f5e8520691ddf964d12e9433adcd8cd79c697101aabad1694c4c7a34b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for magent2-0.3.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e6fe235a2a3f5b2a99c995abe30c28bb03ad1751572d39182b6c9ce2f3a3b266
MD5 4db3e83ff1dd0ae8594ebc4cc2c870b6
BLAKE2b-256 dd27b8ed11da998676798bd64d362332d194e490ea974695bb31378a9b085fef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magent2-0.3.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 163.0 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for magent2-0.3.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ae0f635cee5a4dc1eb5c7dad7c89fda5c9b5b16dc2892deae256a30223691545
MD5 8beb1897a626057f82b65a6e30393e05
BLAKE2b-256 4881c638bc589e8421fb89c20a1c4ee32865ab4dd9b48c7cbb25f0feecae66b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for magent2-0.3.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eb791c9895098b522a10f570daa1807e2fd2e63ae60d85ccce7e4dc1769084f8
MD5 53b6c5fc8c53c7fcdce6fbc56e2db7db
BLAKE2b-256 4fe2563d46e07793f3a4d75b311b0875031559f93d01351390cb5feaa2491832

See more details on using hashes here.

File details

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

File metadata

  • Download URL: magent2-0.3.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 163.0 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for magent2-0.3.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c2fae7536184c2fe86f9596c30aed3ee62ec45b0096d380cadd053099411a617
MD5 31647516433f26b15c5e3955c766a6cf
BLAKE2b-256 6febe24b6701fa551ac8263b62f1bb70825928d72e3047a806120ff02abb0fb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for magent2-0.3.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 850592c6c18c699821725dbe99c12312ebda0e474fb921b3144aca246f74faac
MD5 f3e9c4dafa50c709076f6bf6958ac4c4
BLAKE2b-256 ce336e07021fefea0e4f9f0a625a1471aca252ebf54c87fab9e5946321c38545

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