# dlr-rm/rl-baselines3-zoo

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/dlr-rm-rl-baselines3-zoo).**

2,725 stars · 588 forks · Python · mit

## Links

- GitHub: https://github.com/DLR-RM/rl-baselines3-zoo
- Homepage: https://rl-baselines3-zoo.readthedocs.io
- awesome-repositories: https://awesome-repositories.com/repository/dlr-rm-rl-baselines3-zoo.md

## Topics

`deep-reinforcement-learning` `gym` `hyperparameter-optimization` `hyperparameter-search` `hyperparameter-tuning` `lab` `openai` `optimization` `pybullet` `pybullet-environments` `pytorch` `reinforcement-learning` `rl` `robotics` `sde` `stable-baselines` `tuning-hyperparameters`

## Description

This project is a collection of pretrained reinforcement learning agents and training scripts built on Stable Baselines3 and Gymnasium. It provides a framework for training agents to solve specific tasks, managing experiment reproducibility, and deploying pretrained models.

The system includes a specialized benchmarking suite and optimization tools for tuning agent settings. It utilizes automated search spaces and distributed trials to maximize performance, while employing bootstrap sampling to generate statistically robust performance metrics and confidence intervals.

Broad capabilities cover the full reinforcement learning lifecycle, including experiment tracking with external dashboards, model hub synchronization for sharing trained agents, and environment decoration for data normalization. It also provides visualization utilities for generating reward plots and recording agent behavior videos.

Configuration is managed through external files that decouple hyperparameters from core logic.

## Tags

### Artificial Intelligence & ML

- [Reinforcement Learning Training](https://awesome-repositories.com/f/artificial-intelligence-ml/reinforcement-learning-training.md) — Provides a framework for training reinforcement learning agents to solve specific tasks using Stable Baselines3.
- [RL Algorithm Benchmarking Toolkits](https://awesome-repositories.com/f/artificial-intelligence-ml/algorithm-benchmarking-libraries/rl-algorithm-benchmarking-toolkits.md) — Ships a specialized benchmarking suite for evaluating RL agent success using statistically robust metrics.
- [Hyperparameter Configurations](https://awesome-repositories.com/f/artificial-intelligence-ml/hyperparameter-configurations.md) — Enables defining learning rates and custom policies via external configuration files to tune agent behavior. ([source](https://rl-baselines3-zoo.readthedocs.io/en/master/guide/config.html))
- [Hyperparameter Optimization Tools](https://awesome-repositories.com/f/artificial-intelligence-ml/hyperparameter-optimization-tools.md) — Tunes agent settings through automated search spaces and distributed trials to maximize performance.
- [Hyperparameter Search Strategies](https://awesome-repositories.com/f/artificial-intelligence-ml/model-fine-tuning-resources/hyperparameter-tuning/hyperparameter-search-strategies.md) — Implements search strategies including automated trials and pruning to optimize reinforcement learning agent settings. ([source](https://rl-baselines3-zoo.readthedocs.io/en/master/guide/tuning.html))
- [Hyperparameter Optimizers](https://awesome-repositories.com/f/artificial-intelligence-ml/optimization-algorithms/hyperparameter-optimizers.md) — Provides automated search, tuning, and pruning of agent configurations using distributed trials.
- [Distributed Tuning Orchestrators](https://awesome-repositories.com/f/artificial-intelligence-ml/optimization-algorithms/hyperparameter-optimizers/distributed-tuning-orchestrators.md) — Runs hyperparameter optimization trials across multiple distributed jobs using a shared database to accelerate search. ([source](https://rl-baselines3-zoo.readthedocs.io/en/master/guide/tuning.html))
- [RL Agent Implementation Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/rl-agent-implementation-frameworks.md) — Provides a comprehensive collection of pretrained reinforcement learning agents and training scripts built on Stable Baselines3.
- [Weight Serialization](https://awesome-repositories.com/f/artificial-intelligence-ml/weight-reconstruction/weight-serialization.md) — Implements serialization and loading of neural network weights and hyperparameters to reconstruct agents.
- [Pretrained Agent Execution](https://awesome-repositories.com/f/artificial-intelligence-ml/custom-model-training/pretrained-model-integrations/pretrained-model-snapshots/pretrained-agent-execution.md) — Allows loading a previously trained model and executing it within a target environment to observe behavior. ([source](https://cdn.jsdelivr.net/gh/dlr-rm/rl-baselines3-zoo@master/README.md))
- [Experiment Tracking](https://awesome-repositories.com/f/artificial-intelligence-ml/experiment-tracking.md) — Logs training curves and hyperparameters to external dashboards to monitor reinforcement learning progress.
- [Reinforcement Learning Performance Visualizers](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/frameworks/reinforcement-learning-environments/reinforcement-learning-performance-visualizers.md) — Generates graphical plots of training rewards and success rates to analyze learning progress. ([source](https://rl-baselines3-zoo.readthedocs.io/en/master/guide/plot.html))
- [Agent Performance Evaluators](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/frameworks/reinforcement-learning-environments/reinforcement-learning-performance-visualizers/agent-performance-evaluators.md) — Implements tools for assessing agent behavior and policy stability through automated callbacks and video recording. ([source](https://cdn.jsdelivr.net/gh/dlr-rm/rl-baselines3-zoo@master/README.md))
- [RL Experiment Management Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-training-and-tuning/training-frameworks/large-language-model-training-frameworks/rl-experiment-management-frameworks.md) — Provides a framework for logging training curves and syncing trained models with remote repositories.
- [Experiment Tracking](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/training-monitoring-and-profiling/training-observability-systems/experiment-tracking.md) — Integrates systems for monitoring training progress and recording learning curves to track model quality. ([source](https://rl-baselines3-zoo.readthedocs.io/en/master/guide/integrations.html))
- [Experiment Tracking Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/training-monitoring-and-profiling/training-observability-systems/experiment-tracking-integrations.md) — Provides interfaces that connect reinforcement learning workflows to external platforms for automated experiment tracking. ([source](https://cdn.jsdelivr.net/gh/dlr-rm/rl-baselines3-zoo@master/README.md))
- [ML Metric Logging](https://awesome-repositories.com/f/artificial-intelligence-ml/ml-metric-logging.md) — Provides mechanisms to log numerical training metrics and learning curves to external monitoring dashboards.
- [Performance Benchmarking](https://awesome-repositories.com/f/artificial-intelligence-ml/reinforcement-learning-algorithms/reinforcement-learning-simulators/performance-benchmarking.md) — Provides tools for evaluating and comparing reinforcement learning agent performance across various simulation environments. ([source](https://cdn.jsdelivr.net/gh/dlr-rm/rl-baselines3-zoo@master/README.md))
- [Environment Wrappers](https://awesome-repositories.com/f/artificial-intelligence-ml/reinforcement-learning-environments/environment-wrappers.md) — Uses environment wrappers to preprocess simulation data through observation normalization and state decoration.
- [Observation and Reward Normalization](https://awesome-repositories.com/f/artificial-intelligence-ml/reinforcement-learning-environments/environment-wrappers/observation-and-reward-normalization.md) — Standardizes observation and reward scales by wrapping environments to ensure more stable agent convergence. ([source](https://rl-baselines3-zoo.readthedocs.io/en/master/guide/config.html))
- [Training Callbacks](https://awesome-repositories.com/f/artificial-intelligence-ml/training-callbacks.md) — Supports injecting custom logic into training loops at specific intervals via a callback system.

### Software Engineering & Architecture

- [YAML Configuration Files](https://awesome-repositories.com/f/software-engineering-architecture/application-lifecycle-management/configuration-management/configuration-formats-and-schemas/yaml-configuration-files.md) — Uses YAML configuration files to decouple agent hyperparameters from the core training logic.

### System Administration & Monitoring

- [Agent Performance Visualizers](https://awesome-repositories.com/f/system-administration-monitoring/agent-observability/agent-performance-visualizers.md) — Renders agent trajectories and records behavior videos to analyze final model performance. ([source](https://rl-baselines3-zoo.readthedocs.io/en/master/))

### Testing & Quality Assurance

- [Bootstrapped Performance Statistics](https://awesome-repositories.com/f/testing-quality-assurance/performance-testing-analysis/performance-analysis/bootstrapped-performance-statistics.md) — Implements bootstrap sampling to generate statistically robust confidence intervals and means for agent performance.
- [Bootstrapped Performance Benchmarks](https://awesome-repositories.com/f/testing-quality-assurance/statistical-performance-reporting/bootstrapped-performance-benchmarks.md) — Computes confidence intervals and interquartile means using bootstrap sampling for statistically robust performance benchmarks. ([source](https://rl-baselines3-zoo.readthedocs.io/en/master/guide/plot.html))
