Skip to content

HumanCompatibleAI/multiagent-competition

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Status: Archive (code is provided as-is, no updates expected)

Competitive Multi-Agent Environments

This repository contains the environments for the paper Emergent Complexity via Multi-agent Competition

Dependencies

Use pip install -r requirements.txt to install dependencies. If you haven't used MuJoCo before, please refer to the installation guide. The code has been tested with the following dependencies:

Installing Package

After installing all dependencies, make sure gym works with support for MuJoCo environments. Next install gym-compete package as:

cd gym-compete
pip install -e .

Check install is successful by coming out of the directory and trying import gym_compete in python console. Some users might require a sudo pip install.

Trying the environments

Agent policies are provided for the various environments in folder agent-zoo. To see a demo of all the environments do:

bash demo_tasks.sh all

To instead try a single environment use:

bash demo_tasks.sh <task>

where <task> is one of: run-to-goal-humans, run-to-goal-ants, you-shall-not-pass, sumo-ants, sumo-humans and kick-and-defend

About

Code for the paper "Emergent Complexity via Multi-agent Competition"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%