RL toolkit for reinforcement learning algorithm development
Top 0.9% on sourcepulse
Gym provides a standard API for developing and comparing reinforcement learning algorithms, serving as a foundational toolkit for researchers and practitioners in the RL field. Its core contribution is a consistent interface for interacting with diverse environments, simplifying algorithm development and benchmarking.
How It Works
Gym models environments as Python classes, offering a straightforward API for interaction. Algorithms send actions to the environment and receive observations, rewards, and termination signals. This abstraction decouples algorithms from environment specifics, promoting code reusability and enabling standardized comparisons across different RL algorithms and environments.
Quick Start & Requirements
pip install gym
pip install gym[atari]
or pip install gym[all]
Highlighted Details
_v0
, _v1
, etc.) ensures reproducibility.mujoco
instead of mujoco-py
.Maintenance & Community
Gym is no longer actively maintained; all future development has moved to Gymnasium, a drop-in replacement. Users are strongly advised to migrate.
Licensing & Compatibility
MIT License. Compatible with commercial and closed-source applications.
Limitations & Caveats
Gym is in maintenance mode and will not receive future updates. The project strongly recommends migrating to Gymnasium for ongoing support and development. Windows is not officially supported.
9 months ago
Inactive