huggingface/OpenEnv
An interface library for RL post training with environments. observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 99
- Release rhythm 91
- Longevity 24
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 25.5
- age_days: 336
- days_rel: 61
- days_push: 7
- n_releases_24m: 7
Adoption not part of the score
2521 stars · 428 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
OpenEnv is a Hugging Face framework for creating, deploying, and consuming isolated execution environments used in agentic reinforcement learning post-training of LLMs. It provides Gymnasium-style step/reset/state APIs, container-based HTTP environment servers, auto-discovery clients, a CLI for scaffolding and deployment, and composable rubrics for reward design.
Use cases
- create custom environments for RL post-training of LLMs
- train agents with GRPO in gym-style environments
- deploy sandboxed execution environments for agentic RL
- integrate TRL or torchforge trainers with external environments
- package an RL environment as a Docker container and serve it over HTTP
- find prebuilt environments for coding, games, or web-browsing tasks
- design reward functions and rubrics for RL training
When to choose
- You are doing RL post-training (e.g., GRPO) of LLMs and need a standardized environment interface
- You want Gymnasium-style step/reset APIs that plug into TRL, torchforge, or SkyRL
- You need secure, containerized, HTTP-served environments for distributed or remote training
- You want to publish environments to Hugging Face Spaces and auto-discover them via AutoEnv/AutoAction
When to avoid
- You run classic single-machine RL research (Atari, MuJoCo) where plain Gymnasium already suffices
- You need an inference-time agent framework rather than training environments
- Your stack is not Python-centric
- You require a mature 1.0 release; the project is still at v0.4.x with some docs in progress
Facets
framework · maturity active
reinforcement-learning agent-framework http-server mcp cli reinforcement-learning large-language-models machine-learning developer-tools python cloud self-hosted gymnasium rl-environments post-training grpo reward-design rubrics sandboxed-execution environment-server auto-discovery fastapi hugging-face trl-integration containerized-environments ai-agents docker
10 sources
- readme: https://github.com/huggingface/OpenEnv · fetched 2026-08-28 · 55ffcd768196
- homepage: https://huggingface.co/docs/openenv/index · fetched 2026-08-29 · ba4204fa67d4
- site_page: https://huggingface.co/docs · fetched 2026-08-29 · bdec26667b98
- site_page: https://huggingface.co/docs/openenv/getting-started · fetched 2026-08-29 · 72c83d584df5
- site_page: https://huggingface.co/docs/openenv/guides/first-environment · fetched 2026-08-29 · af62c15a1f8e
- site_page: https://huggingface.co/docs/openenv/getting_started/environment-builder · fetched 2026-08-29 · ed93cea32a61
- site_page: https://huggingface.co/docs/openenv/guides/auto-discovery · fetched 2026-08-29 · 64dc76d7c90c
- site_page: https://huggingface.co/docs/openenv/guides/rl-integration · fetched 2026-08-29 · d1d1720a5b95
- site_page: https://huggingface.co/docs/openenv/guides/rewards · fetched 2026-08-29 · 2dc8d99302ba
- site_page: https://huggingface.co/pricing · fetched 2026-08-29 · de6b7a178be5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| huggingface/OpenEnv | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="huggingface/OpenEnv")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem