Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Simple and easily configurable grid world environments for reinforcement learning
| Date | Stars |
|---|---|
| 2026-07-31 | 2490 |
| 2026-08-02 | 2491 |
| 2026-08-03 | 2492 |
| 2026-08-04 | 2493 |
| 2026-08-05 | 2495 |
| 2026-08-06 | 2495 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
15.0
growth rate 0.00%/day
[](https://badge.fury.io/py/minigrid)
[](https://badge.fury.io/py/minigrid)
[](https://github.com/Farama-Foundation/Minigrid/actions/workflows/tests.yml)
[](https://pre-commit.com/)
[](https://github.com/psf/black)
<p align="center">
<a href = "https://minigrid.farama.org/" target = "_blank" > <img src="https://raw.githubusercontent.com/Farama-Foundation/Minigrid/main/minigrid-text.png" width="500px"/> </a>
</p>
<p align="center">
<img src="figures/door-key-curriculum.gif" width=200 alt="Figure Door Key Curriculum">
</p>
The Minigrid library contains a collection of discrete grid-world environments to conduct research on Reinforcement Learning. The environments follow the [Gymnasium](https://github.com/Farama-Foundation/Gymnasium) standard API and they are designed to be lightweight, fast, and easily customizable.
The documentation website is at [minigrid.farama.org](https://minigrid.farama.org/), and we have a public discord server (which we also use to coordinate development work) that you can join here: [https://discord.gg/bnJ6kubTg6](https://discord.gg/bnJ6kubTg6)
Note that the library was previously known as gym-minigrid and it has been referenced in several publications. If your publication uses the Minigrid library and you wish for it to be included in the [list of publications](https://minigrid.farama.org/content/publications/), please create an issue in the [GitHub repository](https://github.com/Farama-Foundation/Minigrid/issues/new/choose).
See the [Project Roadmap](https://github.com/Farama-Foundation/Minigrid/issues/363) for details regarding the long-term plans.
# Installation
To install the Minigrid library use `pip install minigrid`.
We support Python 3.10+ on Linux and macOS. We will accept PRs related to Windows, but do not officially support it.
# Environments
The included environments can be divided in two groups. The original `Minigrid` environments and the `BabyAI` environments.
## Minigrid
The list of the environments that were included in the original `Minigrid` library can be found in the [documentation](https://minigrid.farama.org/environments/minigrid/). These environments have in common a triangle-like agent with a discrete action space that has to navigate a 2D map with different obstacles (Walls, Lava, Dynamic obstacles) depending on the environment. The task to be accomplished is described by a `mission` string returned by the observation of the agent. These mission tasks include different goal-oriented and hierarchical missions such as picking up boxes, opening doors with keys or navigating a maze to reach a goal location. Each environment provides one or more configurations registered with Gymansium. Each environment is also programmatically tunable in terms of size/complexity, which is useful for curriculum learning or to fine-tune difficulty.
## BabyAI
These environments have been imported from the [BabyAI](https://github.com/mila-iqia/babyai) project library and the list of environments can also be found in the [documentation](https://minigrid.farama.org/environments/babyai/). The purpose of this collection of environments is to perform research on grounded language learning. The environments are derived from the `Minigrid` grid-world environments and include an additional functionality that generates synthetic
natural-looking instructions (e.g. “put the red ball next to the box on your left”) that command the the agent to navigate the world (including unlocking doors) and move objects to specified locations in order to accomplish the task.
# Training an Agent
The [rl-starter-files](htExcerpt of 5,579 characters
Read on GitHubMaxime Chevalier-Boisvert · Canada
279
69
Rodrigo de Lazcano
61
Mark Towers · Anyscale · United Kingdom
53
Bolun Dai · New York University · United States
21
Manuel Goulão · NeuralShift · Portugal
17
Lucas Willems · France
14
Marek Wydmuch · Snowflake / Poznan University of Technology / ML in PL / Farama Foundation · Poland
13
7
Jordan Terry
7
7
Joseph Bloom
6
Jet · @eluve-inc
5
4
3
2
2
2
2
2
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:336d4c238a6235a0, topic:gymnasium, desc:reinforcement learning