qmetrics.net

Gymnasium

Standard Python API for reinforcement learning environments

Gymnasium screenshot

Gymnasium defines a common env interface between RL algorithms and simulators, with bundled reference worlds and utilities. It continues maintenance of the former OpenAI Gym codebase under the Farama Foundation.

Overview

Gymnasium is a Python library that standardizes how reinforcement learning code talks to environments. Learning algorithms create env instances, reset for observations, step with actions, and read rewards, termination, and truncation flags through one shared pattern.

Shipped environment families include classic control, Box2D physics toys, toy text grids, MuJoCo control tasks, Atari ROM emulators, and hooks for third-party envs. Optional dependency groups install only the physics or Atari stacks you need; a meta package pulls every family when you want the full set.

The project keeps versioned environment IDs with suffixes like -v0 so benchmark results stay comparable when dynamics change. Shimmy extras help load older OpenAI Gym v0.21 or v0.26 environments through Gymnasium’s make API.

Documentation and community support live on the Farama site and Discord. Related Farama projects provide additional environments that follow the same API, so teams can swap simulators without rewriting training loops.

Key features

  • Unified reset and step API
  • Classic control environments
  • Box2D and MuJoCo worlds
  • Atari emulator tasks
  • Strict environment versioning
  • Gym compatibility via Shimmy
  • Optional dependency bundles

Use cases

  • Comparing RL algorithms fairly
  • Teaching RL with small envs
  • Benchmarking policy training
  • Prototyping agents on Atari or control tasks

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0