Rainbow is all you need! A step-by-step tutorial from DQN to Rainbow
Python
2,035
50 commits
updated Jun 20, 2026
This is a step-by-step tutorial from DQN to Rainbow. Every chapter contains both of theoretical backgrounds and object-oriented implementation. Just pick any topic in which you are interested, and learn! You can run them directly in the cloud with molab — no local setup needed.
Built with marimo — a reactive Python notebook that runs as a pure .py file with better reproducibility, git diffs, and interactive UI.
Please feel free to open an issue or a pull-request if you have any idea to make it better. :)
If you want a tutorial for policy gradient methods, please see PG is All You Need.
Click "Run in molab" on the preview page to open an interactive session where you can edit and run the notebook.
# Install mise
curl https://mise.run | sh
# Clone the project
git clone https://github.com/Curt-Park/rainbow-is-all-you-need.git
cd rainbow-is-all-you-need
# Install Python + Create venv + Install Python packages
make init
make setup
Run and experiment with any notebook:
make run notebook=01_dqn.py
make format # run the formatter
make lint # run the linter
Thanks goes to these wonderful people (emoji key):
Jinwoo Park (Curt) 💻 📖 | Kyunghwan Kim 💻 | Wei Chen 🚧 | WANG Lei 🚧 | leeyaf 💻 | ahmadF 📖 | Roberto Schiavone 💻 |
David Yuan 💻 | dhanushka2001 💻 | Pierre Couy 💻 | Claude 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
4,789 followers · starred Mar 2026
74 followers · starred Jan 2022
901 followers · starred Mar 2020
353 followers · starred May 2020
Rainbow is all you need! A step-by-step tutorial from DQN to Rainbow
Python
2,035
50 commits
updated Jun 20, 2026
This is a step-by-step tutorial from DQN to Rainbow. Every chapter contains both of theoretical backgrounds and object-oriented implementation. Just pick any topic in which you are interested, and learn! You can run them directly in the cloud with molab — no local setup needed.
Built with marimo — a reactive Python notebook that runs as a pure .py file with better reproducibility, git diffs, and interactive UI.
Please feel free to open an issue or a pull-request if you have any idea to make it better. :)
If you want a tutorial for policy gradient methods, please see PG is All You Need.
Click "Run in molab" on the preview page to open an interactive session where you can edit and run the notebook.
# Install mise
curl https://mise.run | sh
# Clone the project
git clone https://github.com/Curt-Park/rainbow-is-all-you-need.git
cd rainbow-is-all-you-need
# Install Python + Create venv + Install Python packages
make init
make setup
Run and experiment with any notebook:
make run notebook=01_dqn.py
make format # run the formatter
make lint # run the linter
Thanks goes to these wonderful people (emoji key):
Jinwoo Park (Curt) 💻 📖 | Kyunghwan Kim 💻 | Wei Chen 🚧 | WANG Lei 🚧 | leeyaf 💻 | ahmadF 📖 | Roberto Schiavone 💻 |
David Yuan 💻 | dhanushka2001 💻 | Pierre Couy 💻 | Claude 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
4,789 followers · starred Mar 2026
74 followers · starred Jan 2022
901 followers · starred Mar 2020
353 followers · starred May 2020