Commonly-used Multi-agent Environments Installation, Convenient Wrappers, and VectorEnv Implementation with PettingZoo (and Gymnasium) Compatibility.
The scripts install_grf.sh
, install_mamujoco.sh
and install_smac.sh
include detailed installation guides.
pip install git+https://github.com/xihuai18/Common-Cooperative-Multi-Agent-Environments.git
git clone https://github.com/xihuai18/Common-Cooperative-Multi-Agent-Environments.git
cd Common-Cooperative-Multi-Agent-Environments
pip install -r requirements.txt
pip install .
- AgentStateParallelEnvWrapper
- OrderForcingParallelEnvWrapper
- AutoResetParallelEnvWrapper
- AECToParallelWrapper
- ParallelToAECWrapper
- ParallelEnv: ParallelEnv with randomness control as in Gymnasium.
- SyncVectorParallelEnv: VectorEnv with serial step and reset.
- AsyncVectorParallelEnv: VectorEnv with parallel step and reset.
- AgentStateVectorParallelEnvWrapper
- SyncAgentStateVectorParallelEnvWrapper
- AsyncAgentStateVectorParallelEnvWrapper
For examples using these environments, wrappers and vector environments, please refer to the tests/async_vector_env_test.py and tests/sync_vector_env_test.py.