5,357,309 AI resources indexedWorking toward the world’s largest AI resource index.

Gymnasium

A local Python interface for training and testing reinforcement learning agents in simulated environments.

Published by Farama Foundation

PDF
No ratings yet

Setup and evaluation

Gymnasium gives environments a shared Python interface so an agent can reset a simulation, take actions, and receive observations and rewards. Start with a built-in task such as CartPole and establish a random-action baseline before comparing trained policies.

Install with pip install gymnasium. Use gymnasium.make() with a documented environment ID. reset(seed=...) starts a reproducible episode, and step(action) distinguishes task termination from a time limit. Some environment families need optional packages.

Framework
Gymnasium
Access
Local Python package. No account required.
Official setup and documentation