← all repositories
MushroomRL/mushroom-rl

An RL workbench treating tensor libraries as interchangeable batteries

MushroomRL modularizes reinforcement learning so you can swap tensor libraries and simulation benchmarks without rewriting your agent.

938 stars Python ML Frameworks
mushroom-rl
Not currently ranked — collecting fresh signals.
star history

What it does

MushroomRL is a Python reinforcement learning library that provides classical algorithms like Q-Learning and SARSA alongside deep RL methods such as DQN, SAC, and PPO. It abstracts experiment setup so you can use PyTorch or TensorFlow backends and environments ranging from Gymnasium to PyBullet, MuJoCo, or realistic simulators like Habitat and iGibson. You write an experiment script to wire components together; there is no single entry point that hides the plumbing.

The interesting bit

The library treats tensor computation and environment interfaces as modular dependencies rather than core assumptions, so you can point the same agent at PyTorch or TensorFlow, then swap Gymnasium for Habitat without touching the algorithm code.

Key highlights

  • Supports both classical RL (Q-Learning, SARSA, FQI) and deep RL (DQN, DDPG, SAC, TD3, TRPO, PPO)
  • Backend-agnostic design accepts PyTorch, TensorFlow, or other tensor libraries
  • Environment wrappers span Gymnasium, PyBullet, MuJoCo, DeepMind Control Suite, Habitat, and iGibson
  • Published in JMLR (2021), suggesting academic credibility
  • Minimal base install; heavy dependencies like Atari or physics simulators are opt-in

Caveats

  • The README is heavy on installation steps and light on architectural detail or performance claims
  • Running experiments requires writing custom scripts; there is no high-level training API
  • Habitat and iGibson integration involves significant manual YAML and dataset wrangling that the library does not abstract away

Verdict

Researchers who juggle multiple backends or need to benchmark agents across both simple Gymnasium tasks and realistic simulators will find MushroomRL a pragmatic foundation. If you want a fully packaged, one-command training framework, this is not it.

Frequently asked

What is MushroomRL/mushroom-rl?
MushroomRL modularizes reinforcement learning so you can swap tensor libraries and simulation benchmarks without rewriting your agent.
Is mushroom-rl open source?
Yes — MushroomRL/mushroom-rl is open source, released under the MIT license.
What language is mushroom-rl written in?
MushroomRL/mushroom-rl is primarily written in Python.
How popular is mushroom-rl?
MushroomRL/mushroom-rl has 938 stars on GitHub.
Where can I find mushroom-rl?
MushroomRL/mushroom-rl is on GitHub at https://github.com/MushroomRL/mushroom-rl.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.