/multi-agent

Development code for team-based multi-agent reinforcement learning.

Primary LanguageJupyter Notebook

Multi-agent RL environment, in the style of DeepMind's Gathering game.


click on picture to play video

Watch the video

The video above shows 8 trained AI agents playing with 1 random agent.

The map is customizable. All of the maps from DeepMind's paper are available in the maps directory. To use e.g. the "Basic single-entrance region map" from the paper, pass map_name='region_single_entrance' to the GatheringEnv constructor. To specify your own map, create a text file in the same format as the existing maps, and pass map_name='path/to/my/custom/map' to the GatheringEnv constructor.

Installation

pip install -r requirements.txt