Gym Retro

OpenAI Blog Tools

Summary

OpenAI releases Gym Retro, a reinforcement learning research environment featuring games from classic gaming consoles (Sega Genesis, NES, SNES, Game Boy, etc.) to study agent generalization across different games and levels.

We’re releasing the full version of Gym Retro, a platform for reinforcement learning research on games. This brings our publicly-released game count from around 70 Atari games and 30 Sega games to over 1,000 games across a variety of backing emulators. We’re also releasing the tool we use to add new games to the platform.
Original Article
View Cached Full Text

Cached at: 04/20/26, 02:56 PM

# Gym Retro Source: [https://openai.com/index/gym-retro/](https://openai.com/index/gym-retro/) We use Gym Retro to conduct research on RL algorithms and study generalization\. Prior research in RL has mostly focused on optimizing agents to solve single tasks\. With Gym Retro, we can study the ability to generalize between games with similar concepts but different appearances\. This release includes games from the Sega Genesis and Sega Master System, and Nintendo’s NES, SNES, and Game Boy consoles\. It also includes preliminary support for the Sega Game Gear, Nintendo Game Boy Color, Nintendo Game Boy Advance, and NEC TurboGrafx\. Some of the released game integrations, including those games in the`data/experimental`folder of Gym Retro, are in a beta state — please try them out and let us know if you encounter any bugs\. Due to the large scale of the changes involved the code will only be available on a[branch⁠\(opens in a new window\)](https://github.com/openai/retro)for the time being\. To avoid breaking contestants’ code we won’t be merging the branch until after the contest concludes\. The ongoing[Retro Contest⁠\(opens in a new window\)](https://contest.openai.com/)\(ending in a couple weeks\!\) and our recent[technical report⁠\(opens in a new window\)](https://arxiv.org/abs/1804.03720)focus on the easier problem of generalizing between different levels of the same game \(Sonic The Hedgehog™\)\. The full Gym Retro dataset takes this idea further and makes it possible to study the harder problem of generalization between different games\. The scale of the dataset and difficulty of individual games makes it a formidable challenge, and we are looking forward to sharing our research progress over the next year\. We also hope that some of the solutions developed by participants in the Retro Contest can be scaled up and applied to the full Gym Retro dataset\.

Similar Articles

Retro Contest

OpenAI Blog

OpenAI launched the Retro Contest, a transfer learning competition that evaluates RL algorithms on unseen video game levels from classic SEGA Genesis games, running from April to June 2018. The contest uses Gym Retro platform and includes baseline implementations and a technical benchmark paper demonstrating that current RL algorithms significantly underperform humans on generalization tasks.

OpenAI Gym Beta

OpenAI Blog

OpenAI releases OpenAI Gym, a public beta toolkit for developing and comparing reinforcement learning algorithms with a growing suite of environments and a platform for reproducible research. The toolkit aims to standardize RL benchmarks and address the lack of diverse, easy-to-use environments for the research community.

Safety Gym

OpenAI Blog

OpenAI introduces Safety Gym, a new benchmark environment and toolkit for studying constrained reinforcement learning and safe exploration. The platform features multiple robots and tasks designed to quantify and measure safe exploration through cost functions alongside reward functions.

AutoGym: Blueprint-First Generation of Verifiable Agent Gyms

arXiv cs.AI

AutoGym presents a framework for automatically generating complete agent gyms—tasks, executable environments, and verifiers—from minimal seeds using blueprint-first generation to ensure solvability and active curriculum synthesis for adaptive difficulty steering.