nemo_gym.agent_utils
nemo_gym.agent_utils
Run harness processes inside task sandboxes under a shared supervisor.
The harness adapter installs its runtime, stages activation input, and parses harness output. SandboxSession uploads the supervisor, runs and stops the harness process, collects artifacts, and releases the sandbox. The supervisor client implements the shell protocol over session control files. All three run on the agent server.
Only process_supervisor.py is copied from this package into the task sandbox. It
uses the standard library to enforce deadlines, stop and reap the harness process
group, and write its termination receipt. Explicitly detached task services remain
for the sandbox owner to stop. Core sandbox APIs and providers live in
nemo_gym.sandbox.