cleanrlEasy Examples

Single-file RL implementations for education and research

Getting started with cleanrl

Installation and basic usage of cleanrl.

python
# Install: pip install cleanrl
import cleanrl

# Basic cleanrl usage
print(f"Using cleanrl")
# See documentation for detailed examples
Expected Output
# Expected output shown below
# (Run locally with: cleanrl)

cleanrl is a third-party package. Single-file RL implementations for education and research. Install with: pip install cleanrl

Common cleanrl operations

Frequently used features of cleanrl.

python
# Install: pip install cleanrl
import cleanrl

# Common cleanrl patterns
print(f"cleanrl version: {cleanrl.__version__}")

These are the most commonly used features of cleanrl in everyday development.

Want to try these examples interactively?

Open Easy Playground