Farama-Foundation/Minigrid

Simple and easily configurable grid world environments for reinforcement learning

What it solves

Minigrid provides a standardized, lightweight, and fast collection of 2D grid-world environments designed for Reinforcement Learning (RL) research. It simplifies the process of testing agents on goal-oriented tasks, such as navigating mazes, opening doors with keys, or picking up objects.

How it works

The library follows the Gymnasium standard API, making it compatible with common RL workflows. It features two main types of environments: original Minigrid environments, where an agent navigates maps with obstacles based on mission strings, and BabyAI environments, which include synthetic natural language instructions to guide agent behavior. These environments are highly customizable, allowing researchers to programmatically adjust size and complexity to support curriculum learning.

Who it’s for

It is designed for researchers and developers working on Reinforcement Learning, particularly those focused on goal-oriented tasks, hierarchical planning, or grounded language learning.

Highlights

  • Lightweight and fast performance for efficient training.
  • Fully compliant with the Gymnasium standard API.
  • Includes both standard grid-world navigation and language-instructed environments.
  • Highly tunable environment parameters for curriculum learning and difficulty scaling.

Related

  • Project
  • Project
  • Project
  • Project
  • Project