#5757th of 433 in ML frameworks and libraries

gymnasium

Python API and environments for reinforcement learning, successor to OpenAI Gym

Stars
12.9k
License
MIT
Last commit
Nov 2026
Last release
Oct 2026
Language
Python
Stars, last 35 weeks+1,393
26 Mar 2026: 11,476 stars2 Apr 2026: 11,525 stars9 Apr 2026: 11,569 stars16 Apr 2026: 11,621 stars23 Apr 2026: 11,673 stars30 Apr 2026: 11,706 stars7 May 2026: 11,751 stars14 May 2026: 11,802 stars21 May 2026: 11,838 stars28 May 2026: 11,885 stars4 Jun 2026: 11,922 stars11 Jun 2026: 11,959 stars18 Jun 2026: 11,989 stars25 Jun 2026: 12,021 stars2 Jul 2026: 12,046 stars9 Jul 2026: 12,078 stars16 Jul 2026: 12,115 stars23 Jul 2026: 12,153 stars30 Jul 2026: 12,199 stars6 Aug 2026: 12,241 stars13 Aug 2026: 12,269 stars20 Aug 2026: 12,315 stars27 Aug 2026: 12,377 stars3 Sept 2026: 12,421 stars10 Sept 2026: 12,483 stars17 Sept 2026: 12,509 stars24 Sept 2026: 12,546 stars1 Oct 2026: 12,581 stars8 Oct 2026: 12,616 stars15 Oct 2026: 12,660 stars22 Oct 2026: 12,696 stars29 Oct 2026: 12,747 stars5 Nov 2026: 12,785 stars12 Nov 2026: 12,811 stars19 Nov 2026: 12,849 stars26 Nov 2026: 12,869 stars

11,476 on 26 Mar 202612,869 on 26 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Gymnasium defines a standard Python Env interface (reset, step, action and observation spaces) so RL algorithms and environments can be swapped independently. It ships Classic Control, Box2D, Toy Text and MuJoCo environment families, plus Atari support through ALE. It is the maintained fork of OpenAI Gym, with shims for Gym v0.21 and v0.26 environments.

Who it is for: RL researchers and students needing a standard environment API

Strengths

  • Small, stable env API: make, reset, step with terminated/truncated flags
  • Bundled environment families: Classic Control, Box2D, Toy Text, MuJoCo, Atari
  • Strict -vN environment versioning keeps results reproducible
  • Shimmy adapters run legacy Gym v0.21 and v0.26 environments

Weaknesses

  • Base install excludes environment dependencies; each family needs its own extra
  • Provides no training algorithms; needs a separate library such as CleanRL
  • Some environment families can be hard to install on certain systems
  • Atari environments are maintained in a separate project (ALE), not this repo

What it needs

  • no GPU
  • Needs Python, pip extras per env family (atari, box2d, mujoco), shimmy (for legacy Gym environments)

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#55huggingface/datasetsPython library for loading, streaming and preprocessing ML datasets on Apache Arrow22.2k starsApache-2.079 out of 100
#56tritonPython-based language and compiler for writing custom GPU kernels for deep learning20.7k starsMIT79 out of 100
#58dartsPython library for time series forecasting and anomaly detection9.6k starsApache-2.079 out of 100
#59umapPython UMAP dimension reduction with a scikit-learn API8.3k starsBSD-3-Clause79 out of 100
#60sahiSliced inference library for detecting small objects in large images Live demo ↗ (opens in a new tab)5.6k starsMIT79 out of 100