Skip to content

feat: add environments/ and example_environments/#1324

Merged
cmunley1 merged 7 commits into
mainfrom
cmunley1/envs-dir-v2
May 20, 2026
Merged

feat: add environments/ and example_environments/#1324
cmunley1 merged 7 commits into
mainfrom
cmunley1/envs-dir-v2

Conversation

@cmunley1
Copy link
Copy Markdown
Contributor

@cmunley1 cmunley1 commented May 14, 2026

Summary

Introduces top-level environments/ and example_environments/ directories to give training and example environments a consistent home alongside their data and preparation scripts. Similar to benchmarks/ for evaluation environments.

Previously, training environment configs were scattered inside resources_servers/ or responses_api_agents/ making it hard to discover what environments exist and how to run them.

Structure

Environments are now located at:

benchmarks/
environments/
example_environments/

One example of each

  • environments/workplace_assistant_simple_agent
  • example_environments/example_single_tool_call

Each environment has a self-contained config.yaml, README.md, prepare.py, and example input data and rollouts. README copied directly from resources server.

Example usage

Start environment

config_paths="responses_api_models/openai_model/configs/openai_model.yaml,\
environments/workplace_assistant_simple_agent/config.yaml"
ng_run "+config_paths=[$config_paths]"

Collect rollouts

ng_collect_rollouts +agent_name=workplace_assistant_simple_agent \
    +input_jsonl_fpath=environments/workplace_assistant_simple_agent/data/example.jsonl \
    +output_jsonl_fpath=results/workplace_assistant_trajectory_collection.jsonl \
   +limit=1

Next steps

  • Migration of existing environments
  • CLI extension (ng_prepare_environment etc.)
  • Environments hub site and public registry

Signed-off-by: cmunley1 <cmunley@nvidia.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 14, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@cmunley1 cmunley1 changed the title feat: environments folder feat: training_environments folder May 14, 2026
Signed-off-by: cmunley1 <cmunley@nvidia.com>
@cmunley1 cmunley1 requested a review from a team as a code owner May 14, 2026 04:31
@cmunley1 cmunley1 changed the title feat: training_environments folder feat: add training_environments/ and example_environments/ May 14, 2026
@cmunley1 cmunley1 changed the title feat: add training_environments/ and example_environments/ feat: add environments/ and example_environments/ May 20, 2026
@cmunley1 cmunley1 merged commit 6a53a23 into main May 20, 2026
5 checks passed
@cmunley1 cmunley1 deleted the cmunley1/envs-dir-v2 branch May 20, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants