Skip to content

test(nooa-agent): add stateful end-to-end smoke - #3432

Merged
init-nikhil merged 1 commit into
nooa/04-lifecycle-observabilityfrom
codex/nooa-capability-parity
Sep 27, 2026
Merged

init-nikhil merged 1 commit into
nooa/04-lifecycle-observabilityfrom
codex/nooa-capability-parity

Conversation

@init-nikhil

@init-nikhil init-nikhil commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Summary

  • add a minimal regular NOOA Agent with one solve_task entry point and a small Responses adapter
  • wire it to the existing stateful counter resources server and its existing example dataset
  • add one real-model smoke runner that starts the Gym head server, model server, resources server, and NOOA agent server, runs one rollout, and checks state, tool evidence, trajectory evidence, and verifier reward

The dataset remains owned by the resources server configuration; it is not part of the agent server configuration and no new dataset is introduced.

Why

This is a focused integration fixture for the full NOOA PR stack. It deliberately avoids a fake model, a new resources-server implementation, benchmark-specific agent inheritance, and duplicated example data.

Closes #3452

Validation

  • pre-commit run --all-files
  • NOOA agent suite: 113 passed
  • existing stateful resources server suite: 1 passed
  • resolved the combined environment config and confirmed the dataset is attached to the resource instance
  • real-model end-to-end smoke from a clean isolated clone: all three component servers started; the agent called increment_counter(1), increment_counter(2), and get_counter_value; state changed from 3 to 6; verifier reward was 1.0; trajectory and agent observations were present

Compatibility and benchmark impact

No existing dataset, resource implementation, or public API is changed. This adds an opt-in example configuration and smoke entry point only; benchmark results are unaffected.

@github-actions

Copy link
Copy Markdown
Contributor

@init-nikhil
init-nikhil added this pull request to stack #3433 September 16, 2026 12:58
@init-nikhil init-nikhil mentioned this pull request Sep 16, 2026
4 tasks done
@init-nikhil
init-nikhil requested a review from a team as a code owner September 16, 2026 14:27
@yaoyu-33 yaoyu-33 added area:agent Agent harnesses and Responses API agent behavior complexity:high Cross-component or shared-contract change with a large review surface feature New capabilities, enhancements, or enablement work needs-review PR is ready for code review and waiting on a reviewer labels Sep 16, 2026
@init-nikhil
init-nikhil force-pushed the codex/nooa-capability-parity branch from c3ac921 to 8f80969 Compare September 17, 2026 07:22
@init-nikhil
init-nikhil force-pushed the codex/nooa-capability-parity branch from f8f5729 to 594e415 Compare September 20, 2026 02:36
@nemo-automation-bot
nemo-automation-bot Bot requested review from a team September 20, 2026 02:36
@init-nikhil
init-nikhil force-pushed the codex/nooa-capability-parity branch from 50e3727 to d1a0149 Compare September 20, 2026 05:38
@init-nikhil
init-nikhil force-pushed the codex/nooa-capability-parity branch from d1a0149 to 061aa6b Compare September 20, 2026 07:43
@copy-pr-bot

copy-pr-bot Bot commented Sep 21, 2026

Copy link
Copy Markdown

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.

"""Solve a task using resource methods supplied by Gym at runtime."""

@strategy(CodeActStrategy())
async def solve_task(self, task: str) -> str:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

solve_task only receives a single task: str, and invoke_solve_task builds that string with _latest_user_text. That drops instructions, developer messages, and any earlier turns.

Other Gym harnesses keep the Responses request intact. SimpleAgent forwards body.responses_create_params and continues from the full input list. A normal Gym row is a developer message plus a user message, for example resources_servers/example_single_tool_call/data/example.jsonl. With this adapter the developer message never reaches CodeAct. The stateful smoke does not catch it, because that row is a single user string.

The runner already passes the whole NeMoGymResponseCreateParamsNonStreaming into the invocation adapter. Could the generation entrypoint take that object, so the method sees the same conversation the other harnesses see?

@github-actions

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/36333617764

This branch was previously deployed

1 inactive deployment
public — 517c4f3d Deployed Sep 21, 2026 by copy-pr-bot[bot] via release / finalize / notify #3386
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:agent Agent harnesses and Responses API agent behavior complexity:low Localized change in one scope with a small, straightforward review surface feature New capabilities, enhancements, or enablement work needs-review PR is ready for code review and waiting on a reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the NOOA capability fixture and documentation

3 participants