Skip to main content

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

Project description

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

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

magent-0.2.4.tar.gz (4.1 MB view details)

Uploaded Source

Built Distributions

magent-0.2.4-cp310-cp310-win_amd64.whl (143.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

magent-0.2.4-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

magent-0.2.4-cp39-cp39-win_amd64.whl (143.1 kB view details)

Uploaded CPython 3.9 Windows x86-64

magent-0.2.4-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

magent-0.2.4-cp38-cp38-win_amd64.whl (143.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

magent-0.2.4-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

magent-0.2.4-cp37-cp37m-win_amd64.whl (143.1 kB view details)

Uploaded CPython 3.7m Windows x86-64

magent-0.2.4-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 magent-0.2.4.tar.gz.

File metadata

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

File hashes

Hashes for magent-0.2.4.tar.gz
Algorithm Hash digest
SHA256 42d9ba6e6c8179c87a1a36e37d9bbf93ee8da48c7d90ea16fc6432f2ffa9a06c
MD5 60945ad674fd6e03b648cbd465b57a94
BLAKE2b-256 261cc979c10f915ff4f88057ddcbfc088b43e723c1dd2e047137c1be79ef5ceb

See more details on using hashes here.

File details

Details for the file magent-0.2.4-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: magent-0.2.4-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 143.1 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for magent-0.2.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d1074968c8ee18d01e6395cfae0cecc1eba27f373928b445d58993b8431b69e9
MD5 f4aee982cd83f5d64e70f703954eb87e
BLAKE2b-256 f8434fa0deaa8e11485471dde4a1c1b20636d9737959234c0766892898a88516

See more details on using hashes here.

File details

Details for the file magent-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for magent-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb1557b6ac743da8c0fa02b626707cb7874e497bd4cdf8c1c5eea436ce847405
MD5 90fdfc65325ca7b59b7fdc531cfa34bd
BLAKE2b-256 0af3a26183ae33236a4ceff21bd4bd71b57258863ebeb5f2a4e3cb48547f0ea9

See more details on using hashes here.

File details

Details for the file magent-0.2.4-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: magent-0.2.4-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 143.1 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for magent-0.2.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b215f542fe6307c7e9611bb34a6842d29e73b55240f981e3c443d29aea10f0c8
MD5 3f3fb22a10a5ed8e4a2a5c2e5d3a33d4
BLAKE2b-256 5c984209bb2b38fdc6b4212537a4634a087b67f2bcde996e47753dfa89817fea

See more details on using hashes here.

File details

Details for the file magent-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for magent-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ce3484505ca1ccfe1ce28451458dd3d8efbd2020613cf74ec509c3311de1666
MD5 e00579c680b29c2f8c0d11758a0d5fe0
BLAKE2b-256 dff8f3dc8e884739c54d1dc4e13ab19c35e8d07125bb614e1beba06e195955ab

See more details on using hashes here.

File details

Details for the file magent-0.2.4-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: magent-0.2.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 143.1 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for magent-0.2.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7619bd2858d674f5ae9b54c4654da9638c49d8782ac40215ff82670d4788c06b
MD5 86cd803a1e4a2966c65bdcef50d11803
BLAKE2b-256 efc48788f6a661e174d9bb53c37107e81d0b63ad4042ab1ffdcd4a75dcab17bd

See more details on using hashes here.

File details

Details for the file magent-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for magent-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 017c07d7b4734ccdbb5e786fd7b5b6a480dfe977be3ee51f26c2b3a9e5f8b191
MD5 9f60b24cafcdb0426e0f562c1648e92d
BLAKE2b-256 e65fbb8bcfcaf0e06ec369dc7bb9f9604ce6521277a853e6fa3d8c3f7dbb2629

See more details on using hashes here.

File details

Details for the file magent-0.2.4-cp37-cp37m-win_amd64.whl.

File metadata

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

File hashes

Hashes for magent-0.2.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 fc41f9b36a9b6b4ccccd326ebef78ab189300e8bfa6bfeffbd75effbd6af9719
MD5 a8d7b8931d281869eda02c16e695ca66
BLAKE2b-256 a783e1e4c70126dff3123c8237c440d59d0d945815165482338dfa43ee64f72b

See more details on using hashes here.

File details

Details for the file magent-0.2.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for magent-0.2.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1ae5825d08e13ed3f14ebb19fb0c0594ab0febfe6e03b5d9ed1efb94e685610e
MD5 0d1a05b7bc3ee282bedb6e2709098d52
BLAKE2b-256 ac42a7bda5c7c52d2a6b0ff1085d335578ca61af4d761dc9146ef9fb315ab0ae

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