HTTP API for OpenAI Gym environments
Top 90.9% on sourcepulse
This project provides a REST API to the OpenAI Gym library, enabling reinforcement learning agents to be developed in languages other than Python. It exposes Gym environments and their functionalities (step, reset, space information) via HTTP endpoints, allowing for cross-language development and integration.
How It Works
The project runs a local Python server that interfaces directly with the gym
library. It exposes a RESTful API with endpoints for environment creation, stepping, resetting, and querying space information. A Python client is included to demonstrate interaction, and the architecture is designed to be language-agnostic, welcoming contributions for clients in other languages.
Quick Start & Requirements
pip install -r requirements.txt
python gym_http_server.py
python example_agent.py
cd binding-lua && lua example_agent.lua
gym
library.Highlighted Details
Maintenance & Community
The project is marked as "Archive" and no updates are expected. Contributions for clients in other languages were welcomed.
Licensing & Compatibility
The repository does not explicitly state a license in the README.
Limitations & Caveats
The project is archived and no longer maintained or updated. The env.monitor.start
function's video_callable
parameter is not implemented.
2 years ago
1+ week