Repository navigation
Description
Summary
NeMo Gym currently provides a framework for defining, running, and evaluating environments within the Gym ecosystem. However, there is no clearly defined integration path for external environment providers.
As the ecosystem grows, projects such as Harbor, Prime Intellect, OpenEnv, OpenReward, and other community-developed environments should have a standard mechanism for integration into Gym without requiring custom adapters or significant Gym-specific implementation work.
Motivation
Today, integrating an external environment into Gym requires understanding Gym internals and manually mapping concepts onto Gym-specific abstractions.
This creates friction for:
- Environment authors who want Gym compatibility
- Benchmark creators who want to reuse external environments
- Researchers comparing environments across ecosystems
- Platform developers building tooling around Gym
A standard integration path would make Gym a more interoperable ecosystem rather than a standalone environment framework.
Potential Goals
Potential areas to explore:
- Standard environment interface contracts
- Environment registration and discovery mechanisms
- Packaging and distribution conventions
- Dataset integration standards
- Metadata schemas for environments
- Versioning and compatibility guarantees
- Adapter patterns for existing ecosystems
- Validation and certification tooling
- Documentation and onboarding workflows for external contributors
Example Ecosystems
Examples that may be considered:
- Harbor
- Prime Intellect
- OpenEnv
- OpenReward
This list is illustrative rather than exhaustive.
Open Questions
- What is the minimum interface required for Gym compatibility?
- Should Gym define a formal environment specification?
- Should external environments run unchanged, or through adapters?
- How should datasets and evaluation metadata be represented?
- How should third-party environments be discovered and installed?
- What level of compatibility testing should Gym provide?
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDev Todo
Activity
feat(resources_servers): add interactive browser RL environment (loca…
Blacksujit commentedon Oct 21, 2026
OpenReward is the one ecosystem in this list without a path into Gym yet (Harbor, Prime and OpenEnv all have one), so I'd like to propose it as a first concrete slice while the generic contract is still being designed. Happy to adjust it to whatever shape you settle on.
Proposal:
resources_servers/openreward, following the layout ofresources_servers/openenv.Eigent/SETA) or abase_urlfor a self-hosted Open Reward Standard server, plus a split. Secrets come from the environment, never from the config file.get_prompt(), the tools fromlist_tools()as function tools, and thesplit/task_indexin the row./seed_session: opens an ORS session for that task through the officialopenrewardSDK, using its async client.session.call_tool()and returning the text blocks, the same way the OpenEnv adapter registers MCP tools./verify: returns the last non-null reward, which is ORS's outcome convention. If the session was lost, or the episode ended without any reward, it setsmask_sample=Truewith afailure_kindinstead of reporting0.0. TRL's adapter had to fix exactly this, scoring unscored rollouts as failures (OpenReward's default GRPO reward function cannot distinguish "never scored" from "scored 0.0" huggingface/trl#7364).openreward.environments.Server, so CI never touches the network. I've checked that this setup works locally withopenreward0.1.167.openrewardgoes in the server's ownrequirements.txt, likeopenenv-core.Out of scope: the generic third-party contract this epic is about,
score_group, and hosted-platform billing or quotas.Three questions before I start:
responses_api_agentsintegration (like Harbor)? ORS sessions are tool-call driven, so a resources server seems the closer fit.If this looks right, I'll open a draft PR with the server, configs, example data, tests and a README.