You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tutorial: How to Develop a Custom Environment in NeMo Gym
Background
Users frequently ask how to create custom environments tailored to their specific agentic training needs. While we have example resource servers in the repository, we don't have a comprehensive tutorial that walks through the end-to-end process of developing a custom environment.
Problem
Users need guidance on:
How to start building a custom resource server from scratch
What components are required (tools, verification logic, data)
Best practices for designing environment state and rewards
How to test and debug their environment
How to integrate it with NeMo Gym
Acceptance Criteria
Create a step-by-step tutorial covering:
Planning your environment (defining the task, tools needed, success criteria)
Using the resource server template
Implementing tool routes (HTTP endpoints)
Writing verification logic
Creating example data (JSONL format)
Testing your environment locally
Debugging common issues
Deploying
Include a worked example building a simple custom environment from scratch
Add decision points: when to build custom vs. adapt existing environments
Activity