Small codebase, big experiments: a Google RL sandbox
To give RL researchers a compact, readable codebase for testing speculative ideas without framework bloat.

What it does Dopamine is a research framework built for rapid prototyping of reinforcement learning algorithms. It bundles reference implementations of several battle-tested agents—DQN, Rainbow, SAC, PPO, and others—primarily in JAX, with a legacy TensorFlow backend still hanging around. The codebase stays deliberately small so researchers can modify it directly rather than fighting through layers of abstraction.
The interesting bit Most RL frameworks scale up; Dopamine scales down. It explicitly targets “speculative research” and prioritizes being grokked over being comprehensive, following Machado et al. (2018) for reproducible Atari benchmarking. That focus on readability and wild experimentation is rarer than you’d think in a field obsessed with scale.
Key highlights
- JAX-first implementations of DQN, C51, Rainbow, IQN, SAC, and PPO.
- Legacy TensorFlow agents included, though new additions are likely JAX-only.
- Built around reproducibility standards for Atari and supports MuJoCo environments.
- Explicitly compact and designed to be modified directly by researchers.
- Baseline results and reference notebooks are provided for comparison.
Caveats
- Not an official Google product, so support expectations should be modest.
- The agent stack is split between actively maintained JAX and legacy TensorFlow, which may create maintenance friction.
- External environment dependencies such as MuJoCo licensing and Atari baseline setup remain the user’s responsibility.
Verdict Academics and tinkerers who want a small, reliable RL codebase they can freely mutate will feel at home. Production teams seeking an officially supported, turnkey framework should probably pass.
Frequently asked
- What is google/dopamine?
- To give RL researchers a compact, readable codebase for testing speculative ideas without framework bloat.
- Is dopamine open source?
- Yes — google/dopamine is open source, released under the Apache-2.0 license.
- What language is dopamine written in?
- google/dopamine is primarily written in Jupyter Notebook.
- How popular is dopamine?
- google/dopamine has 10.9k stars on GitHub.
- Where can I find dopamine?
- google/dopamine is on GitHub at https://github.com/google/dopamine.