Complete syntax and field specifications for NeMo Gym configuration files.
Configuration for understanding how configs are structured and how servers connect.
All servers share this structure:
Keep the server ID as policy_model — agent configs reference this name by default. The ${policy_base_url}, ${policy_api_key}, and ${policy_model_name} placeholders should be defined in env.yaml at the repository root, allowing you to change model settings in one place.
Domain values: math, coding, agent, knowledge, instruction_following, long_context, safety, games, e2e, other (see Domain)
Agent servers must include both a resources_server and model_server block to specify which servers to use.
Define datasets associated with agent servers for training and evaluation.
Dataset types:
example — For testing and developmenttrain — Training data (requires license)validation — Evaluation data (requires license)License values: Apache 2.0, MIT, Creative Commons Attribution 4.0 International, Creative Commons Attribution-ShareAlike 4.0 International, TBD (see license)
Store secrets and local settings at the repository root. This file is gitignored.
To run servers, use ng_run. NeMo Gym uses Hydra for configuration management.
Configuration for common configuration errors and solutions.