Scroll AI Now

Open source repo

Gymnasium

A standard API for single‑agent reinforcement learning environments, with popular reference environments and related utilities (formerly Gym)

By Farama‑Foundation · MIT · Python · ★ 12,876

View on GitHubProject siteMore repos in the app

What it is

Gymnasium is an open source project for training and fine‑tuning models, published on GitHub by Farama‑Foundation and written mainly in Python. Its maintainers file it under api, gym, reinforcement‑learning.

In its own words on GitHub: “A standard API for single‑agent reinforcement learning environments, with popular reference environments and related utilities (formerly Gym).”

Who it is for

Engineers who want to train or adapt a model on their own data, or who want to understand how models are trained.

How to start

  1. Open the repo and read the README from the top, then the license file.
  2. It is written in Python, so you will usually install it with pip or uv inside a virtual environment.
  3. Its project site, gymnasium.farama.org, has documentation and sometimes a hosted version you can try before you install anything.
  4. Pin a release or a commit, so an update does not change how it behaves without you noticing.

Why it is on our list

The facts

LicenseMIT
What the license allowsYou can use, change and ship it, including in paid products. Keep the copyright notice.
Main languagePython
Stars12,876
Topicsapi, gym, reinforcement‑learning
CreatedSeptember 8, 2022
Last checkedDecember 2, 2026

Before you use it

Are you the author?

This repo has its own page on Scroll AI Now.
Show it in your README with the badge below.
It links readers back to this page. How the badge works

Featured on Scroll AI Now

Markdown
[![Featured on Scroll AI Now](https://scrollainow.com/badge/featured.svg)](https://scrollainow.com/repos/farama-foundation-gymnasium/)
HTML
<a href="https://scrollainow.com/repos/farama-foundation-gymnasium/"><img src="https://scrollainow.com/badge/featured.svg" alt="Featured on Scroll AI Now" height="28"></a>

Related repos

All curated AI repos · Agent skills

Try it in your browser

Today's AI news, one card per swipe.
Free to start.

Open the web app