CleanRL
Simple, readable one-file versions of key reinforcement learning methods, made for study and research.
- Your data
- Stays on your device
- Coding needed
- Developers only
- Cost
- Free
- Runs on
- Mac, Linux, Cloud
Simple, readable one-file versions of key reinforcement learning methods, made for study and research.
Reinforcement learning is a way of training AI by trial and error, for example learning to play a video game by earning points. CleanRL offers clear versions of well-known methods for doing this.
Each method lives in a single file, so readers can see every detail in one place. Its makers say this makes it a good reference for learning how the methods really work.
It includes tools for logging experiments and recording gameplay videos, and can be scaled up to run many experiments in the cloud.
Students and researchers studying reinforcement learning.
Developers only. You run and read Python scripts; it is not meant to be used as a ready-made app. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?