Skip to content

Tutorial - Building Custom Resource Servers #140

Closed

Description

@cwing-nvidia

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
  • Link to relevant reference implementations
  • Add to main documentation as a featured tutorial

Priority

High - critical all users

Activity

  1. added this to the v0.1.0 milestone on Oct 13, 2025
  2. added
    documentation
    on Oct 13, 2025
  3. removed this from the v0.1.0 milestone on Oct 23, 2025
  4. added
    env-infra
    on Oct 23, 2025
  5. linked a pull request that will close this issuedocs: Add Create Resource Server Tutorial #407on Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationenv-infra

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions