Quickstart
See Installation if you need to install NeMo Gym.
Working with an AI coding assistant? NeMo Gym ships Agent Skills — vetted workflows for tasks like adding benchmarks, debugging rollouts, and editing docs.
Configure Your Model
Create an env.yaml file in the project root with your model endpoint credentials:
This quickstart uses OpenAI. NeMo Gym supports local and hosted inference — see Configure Model for vLLM, Fireworks, OpenRouter, and others.
Run Evaluation
Run your agent on a set of tasks and score the results. This example uses a simple tool calling agent simple_agent with the mcqa (multiple-choice Q&A) environment and its included example data.
1. Start servers
NeMo Gym uses local servers to coordinate your model, agent, and task verification. Start them first:
You should see three server instances starting:
2. Evaluate your agent
In a new terminal, run your agent on a single task to verify everything works:
You should see a progress bar followed by aggregate metrics:
If gym eval run fails with a 500 Internal Server Error on the /run endpoint, the most common cause is an invalid or missing API key. Verify that policy_api_key and policy_base_url in your env.yaml are correct.
If gym env start instead stops with model endpoint(s) never answered, nothing is listening at the endpoint it names. See Model Endpoint Unreachable.
For per-task pass rates, see gym eval profile in the CLI Reference.
Explore
Now that you have a working setup, explore what’s available.
NeMo Gym ships with environments across many domains. You can use these existing environments in addition to building your own.
This lists benchmarks with pre-configured agents. For the full set of environments (including training environments), see the Available Environments table.
Every CLI command supports -h or --help for detailed usage information: