Build Verifiers
A verifier scores an agent’s behavior on a task. In NeMo Gym you implement it in a resources server — the component that owns the verifier, per-task state, and any environment-specific tools.
New to the concepts? Start with Environments and Architecture to see how the resources server, agent server, and model server fit together.
Resources Server Interfaces
You build a resources server by subclassing one of two base classes. At runtime it runs as a web server that the agent drives over HTTP:
SimpleResourcesServer— the agent calls/seed_sessionat the start to initialize per-task state (optional) and/verifyat the end to score the rollout. Tools are exposed as additional endpoints or over MCP.GymnasiumServer— scores incrementally via/step(with/resetat the start) instead of a single/verify, for environments that need per-turn observations and rewards.