vwxyzjn/cleanrl

High-quality single file implementation of Deep Reinforcement Learning algorithms with research-friendly features (PPO, DQN, C51, DDPG, TD3, SAC, PPG)

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 41 minutes ago
Added to GitGenius on September 5th, 2026
Created on June 7th, 2019
Open Issues & Pull Requests: 110 (+0)
GitHub issues: Enabled
Number of forks: 1,163
Total Stargazers: 10,375 (+0)
Total Subscribers: 50 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 46.1 hours
Mean response time: 136.3 days
90th percentile: 560.1 days
Tracked items: 44

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 89% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 3% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 38
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 577 days
Stale 30+ days: 35
Stale 90+ days: 32

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • help wanted (2)
  • require expertise (1)

Most active issues this week

Detailed Description

CleanRL is a collection of single-file implementations of deep reinforcement learning algorithms designed for research and experimentation.

The project addresses the challenge of understanding and modifying reinforcement learning algorithms by implementing each one as a standalone, self-contained file rather than as part of a larger framework. This approach makes it straightforward to read through an entire algorithm implementation, understand how all components fit together, and make targeted modifications for research purposes. The implementations cover a range of algorithms including PPO, DQN, C51, DDPG, TD3, SAC, and PPG, each optimized for clarity and reproducibility.

Researchers and practitioners who need to understand algorithm internals or experiment with modifications will find this structure more accessible than navigating a complex framework. The single-file design is particularly suited to projects where you need to fork or adapt an algorithm rather than use it as a black box. This approach trades the convenience of a unified API and shared utilities for transparency and ease of customization. The project integrates with Weights and Biases for experiment tracking, supporting the research workflow of logging and comparing runs.

Development activity shows consistent engagement with the codebase through regular updates and refinements to implementations. The project maintains responsiveness to issues and pull requests, indicating active maintenance. Documentation is provided through a dedicated site, suggesting investment in making the implementations accessible to new users. The maintainers demonstrate attention to keeping implementations aligned with research standards and best practices in the reinforcement learning community.