#146 · Primary category: Education & Research

cleanrl

a2c actor-critic advantage-actor-critic ale atari deep-learning deep-reinforcement-learning gym machine-learning phasic-policy-gradient ppo proximal-policy-optimization python pytorch reinforcement-learning wandb

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

Project last updated:04/20/26

GitHub Stars

10.3K

Forks

1.2K

Contributors

45

License

Other

Why we included this project

CleanRL is the rare RL library that prioritizes readability over abstraction. Every algorithm variant, including PPO, DQN, SAC, TD3, C51, and PPG, lives in a single standalone Python file, so you can trace the whole implementation without digging through subclass hierarchies. That makes it a strong reference for anyone learning deep reinforcement learning and a convenient base for prototyping custom research ideas. It also includes the practical scaffolding researchers expect, such as seeding for reproducible runs, TensorBoard and Weights & Biases logging, gameplay video capture, and published benchmark results across dozens of environments. Just know it is not built to be imported as a dependency; treat it as a study guide and experimentation kit.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category