rsl-rl-lib
Fast and simple RL algorithms implemented in PyTorch
What it is and what it does
RSL-RL is a lightweight reinforcement learning library designed specifically for robotics research, built on PyTorch with native GPU acceleration and multi-GPU training support. It provides implementations of common RL algorithms—notably PPO and Student-Teacher Distillation—in a minimal, readable codebase that prioritizes rapid prototyping over the complexity of larger frameworks. The library is used as the training backend for Isaac Lab, Legged Gym, mjlab, and MuJoCo Playground.
The package depends on torch, torchvision, tensordict, numpy, tensorboard, GitPython, onnx, and onnxscript. It requires Python 3.9 or later and is distributed as a pure Python wheel, making installation straightforward. The library is actively maintained (latest release 30 days old, 2885 GitHub stars) and has no known security vulnerabilities.
Use it for:
- Training locomotion policies for legged robots using PPO in Isaac Sim or Isaac Gym environments
- Prototyping new RL algorithms without modifying a large framework codebase
- Scaling training across multiple GPUs for faster policy convergence in robotics tasks
- Integrating RL training into existing robot learning pipelines via Isaac Lab or Legged Gym
- Exporting trained policies to ONNX format for deployment on robot hardware
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
RSL-RL is a GPU-accelerated reinforcement learning library for robotics research, providing implementations of algorithms like PPO with multi-GPU training support and a minimal, extensible codebase.
Yes, if you are doing robotics research with PyTorch and need a lightweight, actively maintained RL training library. The low install friction, permissive license, active maintenance, and zero known vulnerabilities make it a solid choice. Install it if you are working with Isaac Lab, Legged Gym, or similar robot learning environments; otherwise, verify that its algorithm implementations and API match your specific needs.
Install
rsl-rl-lib on PyPI
pip
pip install rsl-rl-libuv
uv add rsl-rl-libpoetry
poetry add rsl-rl-libInstalling rsl-rl-lib
Before you install
Low install friction with a pure Python wheel distribution. Active maintenance with a recent release (30 days ago) and steady repository activity. Eight runtime dependencies, primarily PyTorch ecosystem packages, are standard for GPU-accelerated ML work.
License in practice
BSD-3-Clause is a permissive license allowing commercial and private use with minimal restrictions, making the package suitable for both research and production robotics projects.
Quickstart
pip install rsl-rl-lib
from rsl_rl import ... # import desired algorithm or environment interface
# Usage depends on integration with Isaac Lab, Legged Gym, or similar robot learning environment
Requires Python 3.9 or later; GPU drivers and CUDA toolkit recommended for GPU acceleration, though specific requirements depend on torch installation.
Verify before relying
- Whether CPU-only PyTorch is supported or if GPU/CUDA is mandatory
- Specific algorithm implementations available beyond PPO and Student-Teacher Distillation
- API stability and backward compatibility guarantees across releases
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 8 — torch, torchvision, tensordict, numpy, tensorboard, GitPython, onnx, onnxscript |
| Maintenance | actively maintained — 30 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 369,645/month — #7,186 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: rsl_rl_lib-5.4.2-py3-none-any.whl
Keywords: reinforcement-learning, robotics
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
skrlskrl is a modular reinforcement learning…
permissive · top 15,000 on PyPI
tianshouTianshou is a PyTorch-based reinforcement…
permissive · top 15,000 on PyPI
verlverl is a reinforcement learning training…
permissive · top 15,000 on PyPI
dopamine-rlDopamine is a research framework for…
permissive · top 15,000 on PyPI
mjlabmjlab provides a GPU-accelerated reinforcement…
permissive · top 15,000 on PyPI
lerobotLeRobot provides a unified PyTorch framework…
permissive · top 15,000 on PyPI
torchrlTorchRL is a PyTorch-native toolkit for…
unclear · top 5,000 on PyPI
stable-baselines3Stable Baselines3 provides PyTorch…
permissive · top 5,000 on PyPI
sb3-contribProvides experimental reinforcement learning…
permissive · top 15,000 on PyPI
mabwiserMABWiser implements multi-armed bandit…
permissive · top 15,000 on PyPI