Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Python library for Reinforcement Learning.
| Date | Stars |
|---|---|
| 2026-07-31 | 941 |
| 2026-08-02 | 941 |
| 2026-08-03 | 941 |
| 2026-08-04 | 941 |
| 2026-08-06 | 941 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
**********
MushroomRL
**********
.. image:: https://github.com/MushroomRL/mushroom-rl/actions/workflows/continuous_integration.yml/badge.svg?branch=dev
:target: https://github.com/MushroomRL/mushroom-rl/actions/workflows/continuous_integration.yml
:alt: Continuous Integration
.. image:: https://readthedocs.org/projects/mushroomrl/badge/?version=dev
:target: https://mushroomrl.readthedocs.io/en/dev/?badge=dev
:alt: Documentation Status
.. image:: https://qlty.sh/gh/MushroomRL/projects/mushroom-rl/maintainability.svg
:target: https://qlty.sh/gh/MushroomRL/projects/mushroom-rl
:alt: Maintainability
.. image:: https://qlty.sh/gh/MushroomRL/projects/mushroom-rl/coverage.svg
:target: https://qlty.sh/gh/MushroomRL/projects/mushroom-rl
:alt: Test Coverage
**MushroomRL: Reinforcement Learning Python library.**
.. contents:: **Contents of this document:**
:depth: 2
What is MushroomRL
==================
MushroomRL is a Python Reinforcement Learning (RL) library whose modularity allows
to easily use well-known Python libraries for tensor computation (e.g. PyTorch,
Tensorflow) and RL benchmarks (e.g. Gymnasium, PyBullet, Deepmind Control Suite).
It allows to perform RL experiments in a simple way providing classical RL algorithms
(e.g. Q-Learning, SARSA, FQI), and deep RL algorithms (e.g. DQN, DDPG, SAC, TD3,
TRPO, PPO).
`Full documentation and tutorials available here <http://mushroomrl.readthedocs.io/en/latest/>`_.
Installation
============
You can do a minimal installation of ``MushroomRL`` with:
.. code:: shell
pip install mushroom-rl
Installing everything
---------------------
``MushroomRL`` contains also some optional components e.g., support for ``Gymnasium``
environments, Atari 2600 games from the ``Arcade Learning Environment``, and the support
for physics simulators such as ``Pybullet`` and ``MuJoCo``.
Support for these classes is not enabled by default.
To install the whole set of features, you will need additional packages installed.
You can install everything by running:
.. code:: shell
pip install mushroom-rl[all]
This will install every dependency of MushroomRL, except Box2D and PyBullet.
For ubuntu>20.04, you may need to install pygame and gym dependencies:
.. code:: shell
sudo apt -y install libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev \
libsdl1.2-dev libsmpeg-dev libportmidi-dev ffmpeg libswscale-dev \
libavformat-dev libavcodec-dev swig
Notice that you still need to install some of these dependencies for different operating systems, e.g. swig for macOS
Below is the code that you need to run to install the live monitors dependencies:
.. code:: shell
pip install mushroom-rl[monitors]
The `dm_control <https://github.com/deepmind/dm_control>`_ interface does not need a separate installation:
``dm_control`` is installed together with ``MuJoCo`` by the ``mujoco`` extra.
Editable Installation
---------------------
You can also perform a local editable installation by using:
.. code:: shell
pip install -e .
To install also optional dependencies:
.. code:: shell
pip install -e .[all]
How to set and run and experiment
=================================
To run experiments, MushroomRL requires a script file that provides the necessary information
for the experiment. Follow the scripts in the "examples" folder to have an idea
of how an experiment can be run.
For instance, to run a quick experiment with one of the provided example scripts, run:
.. code:: shell
python3 examples/papers/car_on_hill_fqi.py
Cite MushroomRL
===============
If you are using MushroomRL for your scientific publications, please cite:
.. code:: bibtex
@article{JMLR:v22:18-056,
author = {Carlo D'Eramo and Davide Tateo and Andrea Bonarini and Marcello Restelli and Jan Peters},
title = {MushroomRL: Simplifying Reinforcement Learning Research},
journal = {Journal of Machine Learning ReseExcerpt of 4,341 characters
Read on GitHub863
488
49
25
25
20
10
7
5
5
4
3
3
2
2
2
2
2
2
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:454b99ba937a2e58, topic:reinforcement-learning, topic:deep-reinforcement-learning, topic:rl