External Environments

First-Party Environments

The Farama Foundation maintains a number of other projects, which use the Gymnasium API, environments include: gridworlds (Minigrid), robotics (Gymnasium-Robotics), 3D navigation (Miniworld), web interaction (MiniWoB++), arcade games (Arcade Learning Environment), Doom (ViZDoom), Meta-objective robotics (Metaworld), autonomous driving (HighwayEnv), Retro Games (stable-retro), and many more.

The Farama Foundation also maintains alternate APIs for RL, including: multi-agent RL (PettingZoo), offline-RL (Minari), multi-objective RL (MO-Gymnasium), goal-RL (Gymnasium-Robotics).

Third-party environments with Gymnasium

This page contains environments which are not maintained by Farama Foundation and, as such, cannot be guaranteed to function as intended.

If you’d like to contribute an environment, please reach out on Discord, then submit a PR by editing this file, additional instructions can be found inside that file

Autonomous Driving environments

Autonomous vehicles and traffic management, on the road and in the air.

Biological / Medical environments

Interacting with Biological Systems.

Cybersecurity environments

Interacting with systems and cybersecurity tools.

Economic / Financial environments

Everything Economics related.

Electrical / Energy environments

Manage the flow of Electrons.

Environmental / Climate environments

Simulation of natural phenomena, disaster management, and ecological systems.

  • FirecastRL: Wildfire Suppression Environment

    Gymnasium version dependency GitHub stars

    A Gymnasium-compatible wildfire simulation environment that models fire spread using physics-based dynamics and incorporates helicopter firefighting strategies. It’s built on real terrain data, including land cover and elevation, and supports customizable observation and reward wrappers.

  • Ignis: 3D Structural & Wildfire Fire Suppression

    Gymnasium version dependency GitHub stars

    A Gymnasium environment for fire suppression that extends cellular-automaton wildfire RL to 3D indoor / structural fire. A single JSON scene config (geometry, obstacles, materials, ignition, budgets) defines the world; Ignis-Indoor-v0 operates zoned ceiling sprinklers to contain a fire spreading through a 3D voxel building, while Ignis-Wildfire-v0 is a 2D wildfire air-tanker variant. It is pure-NumPy and CPU-only, ships CEM and PPO baselines, and includes evacuation and safe-building-design tooling.

Game environments

Board Games, Video Games and all other interactive entertainment mediums.

  • Advanced Minesweeper Environment

    Gymnasium version dependency GitHub stars

    This is a custom minesweeper gymnasium environment that allows for an optional custom mask for added complexity. Fully customizable with board size, mine density and custom masks.

  • BoltCrypt: Procedural Dungeon RL Environment

    Gymnasium version dependency GitHub stars

    BoltCrypt is a lightweight environment featuring procedurally generated dungeons. It challenges Reinforcement Learning agents to navigate complex layouts, solve sokoban-style boulder puzzles, and manage inventory items like keys to reach the exit. BoltCrypt also contains a Natural Language wrapper to enable testing LLM’s long term planning.

  • Connect-4-gym : An environment for practicing self playing

    Connect-4-Gym is an environment designed for creating AIs that learn by playing against themselves and assigning them an Elo rating. This environment can be used to train and evaluate reinforcement learning agents on the classic board game Connect Four.

  • Craftium: an extensible framework for creating RL environments

    Gymnasium version dependency GitHub stars

    Craftium wraps the Minetest game engine into the Gymnasium API, providing a modern and easy-to-use platform for designing Minecraft-like RL environments.

  • flappy-bird-env

    Gymnasium version dependency GitHub stars

    Flappy Bird as a Farama Gymnasium environment.

  • flappy-bird-gymnasium: A Flappy Bird environment for Gymnasium

    Gymnasium version dependency GitHub stars

    A simple environment for single-agent reinforcement learning algorithms on a clone of Flappy Bird, the hugely popular arcade-style mobile game. Both state and pixel observation environments are available.

  • Generals.io bots: Develop your agent for generals.io!

    Gymnasium version dependency GitHub stars

    Generals.io is a fast-paced strategy game on a 2D grid. We make bot development accessible via the Gymnasium/PettingZoo API.

  • Hill Climb Racing Env: A Hill Climb Racing RL environment

    Gymnasium version dependency GitHub stars

    An environment inspired by the mobile game Hill Climb Racing, featuring Box2D physics, Pygame rendering, procedurally generated Perlin noise terrain, discrete and continuous action spaces, five reward functions, and 13 pre-trained PPO baseline models.

  • Kraken Crossing: A dark, stochastic nautical environment

    Gymnasium version dependency GitHub stars

    Kraken Crossing is a dark, stochastic 8x8 nautical navigation game designed for tabular reinforcement learning. An agent steers a pirate ship in eight directions and fires port or starboard cannons while learning to avoid hidden whirlpools, defeat a Kraken, and reach treasure. The package includes animated agent and omniscient rendering, a reproducible Q-learning baseline, examples, tests, and a companion Jupyter notebook.

  • Pickomino (Heckmeck): Dice and Tile game

    Gymnasium version dependency GitHub stars

    Push your luck dice game with a twist. Your agent plays against 1 to 6 bots.

  • pystk2-gymnasium: SuperTuxKart races gymnasium wrapper

    Gymnasium version dependency GitHub stars

    Uses a python wrapper around SuperTuxKart that allows to access the world state and to control a race.

  • QWOP: An environment for Bennet Foddy’s game QWOP

    Gymnasium version dependency GitHub stars

    QWOP is a game about running extremely fast down a 100 meter track. With this Gymnasium environment you can train your own agents and try to beat the current world record (5.0 in-game seconds for humans and 4.7 for AI).

  • Reinforce Tactics: 2D Turn-Based Strategy Game

    Gymnasium version dependency GitHub stars

    Reinforce Tactics is a turn-based strategy game designed for reinforcement learning research, combining tactical grid-based combat with an economy system while supporting multiple AI opponent types including rule-based bots, LLM-powered agents, and trainable RL models.

  • Spatial-Gym: Step-by-step spatial reasoning on SPaRC grid puzzles

    Gymnasium version dependency GitHub stars

    Spatial-Gym turns the 1,000 SPaRC grid puzzles into a Gymnasium environment for step-by-step spatial reasoning. The agent draws a line from the start node to the end node one cell at a time (Discrete(4)), and the line must obey every rule on the board. An episode ends with a reward of +1 if the path matches a stored solution and -1 otherwise, with +0.01 or -0.01 per step for staying on or leaving a solution path. Observations are either grid arrays or the SPaRC text grid, so the same puzzles work for RL and LLM agents, and an optional mode lets the agent backtrack. Install with pip install Spatial-Gym.

  • Tetris Gymnasium: A fully configurable Gymnasium compatible Tetris environment

    Gymnasium version dependency GitHub stars

    Tetris Gymnasium is a clean implementation of Tetris as a Gymnasium environment. It can be extensively customized (e.g. board dimensions, gravity, …), is well documented and includes many examples on how to use it e.g. by providing training scripts.

  • tmrl: TrackMania 2020 through RL

    Gymnasium version dependency GitHub stars

    tmrl is a distributed framework for training Deep Reinforcement Learning AIs in real-time applications. It is demonstrated on the TrackMania 2020 video game.

Mathematics / Computational

Reduce computational compute, prove math theorems, and more.

Robotics environments

Autonomous Robots.

Telecommunication Systems environments

Interact and/or manage wireless and/or wired telecommunication systems.

  • linkgym: 5G NR link adaptation on NVIDIA Sionna

    Gymnasium version dependency GitHub stars

    A Gymnasium environment for 5G NR link adaptation (MCS selection) built on NVIDIA Sionna SYS. The channel is 3GPP TDL fading or ray-traced with Sionna RT, including a published dataset of Munich streets and a generator for your own scenes. It comes with classical baselines (ILLA, OLLA, oracle) and an evaluation protocol with common random numbers and confidence intervals.

  • mobile-env: Environments for coordination of wireless mobile networks

    Gymnasium version dependency GitHub stars

    An open, minimalist Gymnasium environment for autonomous coordination in wireless mobile networks.

Other

  • Buffalo-Gym: Multi-Armed Bandit Gymnasium

    Gymnasium version dependency GitHub stars

    Buffalo-Gym is a Multi-Armed Bandit (MAB) gymnasium built primarily to assist in debugging RL implementations. MABs are often easy to reason about what the agent is learning and whether it is correct. Buffalo-gym encompasses Bandits, Contextual bandits, and contextual bandits with aliasing.

  • CARL: context adaptive RL

    Gymnasium version dependency GitHub stars

    Contextual extensions of popular reinforcement learning environments that enable training and test distributions for generalization, e.g. CartPole with variable pole lengths or Brax robots with different ground frictions.

  • DACBench: a benchmark for Dynamic Algorithm Configuration

    Gymnasium version dependency GitHub stars

    A benchmark library for Dynamic Algorithm Configuration. Its focus is on reproducibility and comparability of different DAC methods as well as easy analysis of the optimization process.

  • EnvPool: C++-based high-performance parallel environment execution

    Gymnasium version dependency GitHub stars

    A highly parallel, C++-based vectorized execution engine for Atari, MuJoCo, classic control and other environments, with a Gymnasium-compatible API (envpool.make(..., env_type="gymnasium")).

  • gym-cellular-automata: Cellular Automata environments

    Gymnasium version dependency GitHub stars

    Environments where the agent interacts with Cellular Automata by changing its cell states.

  • Gym-Gridworlds: Collection of Customizable Minimalistic Gridworlds

    Gymnasium version dependency GitHub stars

    The default class implements a “go-to goal”, but it can be easily customized for different tasks, with a variety of grids, rewards, dynamics, and tasks. It supports different observation types (discrete, coordinates, binary, pixels, partial). Useful for quickly testing and prototyping RL algorithms, both tabular and with function approximation.

  • Gym4ReaL

    Gymnasium version dependency GitHub stars

    Gym4ReaL is a comprehensive suite of realistic environments designed to support the development and evaluation of RL algorithms that can operate in real-world scenarios. The suite includes a diverse set of tasks exposing RL algorithms to a variety of practical challenges, such as water management, energy management in microgrids, financial trading, and more.

  • gymnax: Hardware Accelerated RL Environments

    RL Environments in JAX which allows for highly vectorised environments with support for a number of environments, Gym, MinAtari, bsuite and more.

  • LineFlow: Active control of production lines

    GitHub stars

    An environment to learn active control of production lines with reinforcement learning.

  • matrix-mdp: Easily create discrete MDPs

    Gymnasium version dependency GitHub stars

    An environment to easily implement discrete MDPs as gym environments. Turn a set of matrices (P_0(s), P(s'| s, a) and R(s', s, a)) into a gym environment that represents the discrete MDP ruled by these dynamics.

  • SimpleGrid: a simple grid environment for Gymnasium

    Gymnasium version dependency GitHub stars

    SimpleGrid is a super simple and minimal grid environment for Gymnasium. It is easy to use and customise and it is intended to offer an environment for rapidly testing and prototyping different RL algorithms.

Third-Party Environments using Gym

There are a large number of third-party environments using various versions of Gym. Many of these can be adapted to work with gymnasium (see Compatibility with Gym), but are not guaranteed to be fully functional.

Video Game environments

Robotics environments

Autonomous Driving environments

Other environments