Back to browse
GitHub Repository

REST interface for the Gymnasium reinforcement learning library (fka OpenAI Gym)

1 starsHTML

REST API for Gymnasium (fka OpenAI Gym) reinforcement learning library

by cloudkj·Apr 6, 2026·1 point·1 comment

AI Analysis

●●SolidNiche GemShip It

Revives deprecated OpenAI gym-http-api with Docker images and built-in browser monitoring views.

Strengths
  • Docker image allows instant setup without local Python environment configuration headaches.
  • Built-in monitoring endpoint visualizes active environments directly in the browser.
  • Enables non-Python languages to interact with standard Gymnasium environments easily.
Weaknesses
  • Network latency makes step-based RL training significantly slower than local processes.
  • Niche use case limits audience to specific distributed or polyglot reinforcement learning scenarios.
Category
Target Audience

Reinforcement learning researchers, developers needing polyglot RL setups

Similar To

Ray RLlib · Stable Baselines3 · openai/gym-http-api

Post Description

I was looking through some of my past personal projects tinkering with reinforcement learning, and noticed that the REST/HTTP API for the OpenAI gym available at the time is no longer supported. The API was pretty useful back then since most of ML and deep learning hadn't quite stabilized on the various Python libraries today.

gymnasium-http-api is an attempt at bringing back the same type of language-agnostic support. It mostly wraps the forked and supported Gymnasium library, with some endpoints specifically for making it easier to render and visualize the training and learning process.

Check out the README for some examples. Hope others find it useful!

Similar Projects

AI/MLMid

Gymnasium RL Environments in Julia

Julia port of Gymnasium environments, but Python's RL ecosystem already dominates this space.

Niche Gem
scascino4
201mo ago