gym  by openai

RL toolkit for reinforcement learning algorithm development

Created 9 years ago
36,735 stars

Top 0.9% on SourcePulse

GitHubView on GitHub
Project Summary

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

Highlighted Details

  • Standardized API for RL environments, widely adopted in the research community.
  • Strict environment versioning (_v0, _v1, etc.) ensures reproducibility.
  • Supports optional dependencies for various environment families like Atari and MuJoCo.
  • Future MuJoCo environments will use 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.

Health Check
Last Commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
159 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Pawel Garbacki Pawel Garbacki(Cofounder of Fireworks AI), and
6 more.

tianshou by thu-ml

0.1%
9k
PyTorch RL library for algorithm development and application
Created 7 years ago
Updated 5 days ago
Feedback? Help us improve.