Mava
PettingZoo
Our great sponsors
Mava | PettingZoo | |
---|---|---|
5 | 19 | |
645 | 2,354 | |
5.7% | 3.5% | |
9.9 | 8.8 | |
3 days ago | 17 days ago | |
Python | Python | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Mava
-
Starting wth Multi Agent Reinforcement Learning
If you want to play with models and algorithms around MARL, take a look at Mava.
-
Recomendations of framework/library for MARL
These are the main reasons we built Mava , a library built specifically for MARL. We are also in the process of rewriting it to be simpler to compose MARL components (communication, central training etc), and we are rewriting our codebase in JAX, so really looking forward to improved performance! (Disclaimer, I am one of the people working on Mava).
-
Training with multiple agents.
The OpenSpiel games (as well as several others) are also available from MAVA (https://github.com/instadeepai/Mava).
-
[R] Mava: a research framework for distributed multi-agent reinforcement learning
https://arxiv.org/abs/2107.01460 Mava, a scalable framework for research in multi-agent reinforcement learning, contains implementation for several multi-agent systems like multi-agent DQN (MADQN), MADDPG, MAPPO, MAD4PG, DIAL, QMIX, and VDN, and integrates well with multi-agent RL environments like PettingZoo, Flatland, OpenSpiel, RoboCup, and SMAC. On GitHub: https://github.com/instadeepai/Mava
PettingZoo
- CartPole equivalent enviroments in MARL?
-
[P] PettingZoo 1.24.0 has been released (including Stable-Baselines3 tutorials)
Release notes: https://github.com/Farama-Foundation/PettingZoo/releases/tag/1.24.0
-
Shimmy 1.0: Gymnasium & PettingZoo bindings for popular external RL environments
To address this issue, we are excited to announce the release of Shimmy as a mature Farama Foundation project. Shimmy is an API compatibility tool for converting external RL environments to the Gymnasium and PettingZoo APIs. This allows users to access a wide range of single and multi-agent environments, all under a single standard API.
-
Petting Zoo Classic Environment
I am currently trying to implement my own version of a Connect Four Environment based on the version available on the PettingZoo Library github (https://github.com/Farama-Foundation/PettingZoo/blob/master/pettingzoo/classic/connect_four/connect_four.py).
-
Ideas for MARL project?
The Farama Foundation is always looking for contributors to PettingZoo, the largest open source MARL library out there (https://github.com/Farama-Foundation/PettingZoo, farama.org). If you might be interested in that you can message them in their discord server
-
Is Stable Baselines 3 no longer compatible with PettingZoo?
I am trying to implement a custom PettingZoo environment, and a shared policy with Stable Baselines 3. I am running into trouble with the action spaces not being compatible, since PettingZoo has started using gymnasium instead of gym. Does anyone know if these libraries no longer work together, and perhaps if there is a work-around?
-
New to reinforcement learning.
I'd say this is a great path but I'd also look at the basic on-policy gradient actor critic methods like A2C and eventually PPO. Someone recommended SAC which also really good. There are tons of environments in the https://github.com/Farama-Foundation/PettingZoo as well if you want to mess with those. You can also check out stable baselines https://github.com/DLR-RM/stable-baselines3 which is pretty popular. If you want to get into the theory more I recommend reading the Sutton and Barto book on reinforcement learning.
-
[Stable Baselines3] How do I train 3 model simultaneously?
Might want to check out petting zoo: https://github.com/Farama-Foundation/PettingZoo
-
Are there any other high-quality pre-built Python training environments other than Open AI's GYM?
Not that I know of, most I've seen are based on gym. I did see PettingZoo which is for multi-agent RL. https://github.com/Farama-Foundation/PettingZoo
-
Training with multiple agents.
Thank you for your comment. This is certainly helpful. I have since read more about this domain and turns out mathematically it is modeled using Markov/Stochastic game representations. I also found PettingZoo which can be used with RayLib for MARL problems.
What are some alternatives?
acme - A library of reinforcement learning components and agents
open_spiel - OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games.
tf2multiagentrl - Clean implementation of Multi-Agent Reinforcement Learning methods (MADDPG, MATD3, MASAC, MAD4PG) in TensorFlow 2.x
gym-macm - 2D, physics based gym environment for multi-agent combat & movement tasks
lingvo - Lingvo
SuperSuit - A collection of wrappers for Gymnasium and PettingZoo environments (being merged into gymnasium.wrappers and pettingzoo.wrappers
pymarl2 - Fine-tuned MARL algorithms on SMAC (100% win rates on most scenarios)
stable-baselines3 - PyTorch version of Stable Baselines, reliable implementations of reinforcement learning algorithms.
ai-economist - Foundation is a flexible, modular, and composable framework to model socio-economic behaviors and dynamics with both agents and governments. This framework can be used in conjunction with reinforcement learning to learn optimal economic policies, as done by the AI Economist (https://www.einstein.ai/the-ai-economist).
gym - A toolkit for developing and comparing reinforcement learning algorithms.
multi_agent_path_planning - Python implementation of a bunch of multi-robot path-planning algorithms.
tmrl - Reinforcement Learning for real-time applications - host of the TrackMania Roborace League