Skip to content

epic: agent harness training compatibility #1824

Description

@cwing-nvidia

Goal

The built-in agent harnesses shipped for evaluation (tracked in #1042) should also be usable for RL training through Gym with minimum friction — i.e. their rollouts carry everything the training pipeline needs (token IDs, logprobs, correct masking, reconstructable multi-turn trajectories), are verified against a tokenizer/model, and are documented per harness.

This is the training counterpart to the evaluation epic #1042. #1042 ensures a harness can produce scored rollouts; this epic ensures those rollouts are training-grade.

Why this matters

Evaluation only requires a harness to return a response that the verifier can score. Training additionally requires:

Acceptance Criteria

  • Each listed harness produces rollouts with token IDs + logprobs and correct loss masking for model-generated tokens
  • Multi-turn / tool-calling trajectories are losslessly reconstructable and round-trip against the training model's tokenizer
  • A training-compatibility conformance check exists and passes per harness
  • At least one end-to-end training run per harness shows the expected reward/benchmark improvement (e.g. SWE-Bench Verified score increase), per the experiment pattern in Run a model-training compatibility experiment with an agent harness #1569
  • Each harness's README documents its training-compatibility status and any caveats

Harnesses

Mirrors the eval matrix in #1042. Status here reflects training readiness, not eval.

P0

  • Claude Code
  • Codex
  • Hermes
  • OpenClaw
  • OpenCode
  • OpenHands
  • Mini-SWE-Agent
  • KiloCode
  • Terminus

P1

  • Cline
  • Goose
  • Pi
  • Copilot-CLI

Related

#1042
#1564

Activity

  1. added
    training
    on Jun 29, 2026
  2. added
    r0.5.0
    and removed
    training
    r0.5.0
    on Jul 2, 2026
  3. moved this from Dev Todo to Dev WIP in NeMo Gym 0.5.0 - Aug 5on Jul 15, 2026
  4. moved this from Dev WIP to Review Todo in NeMo Gym 0.5.0 - Aug 5on Jul 23, 2026
  5. moved this from Review Todo to Dev WIP in NeMo Gym 0.5.0 - Aug 5on Jul 27, 2026
  6. moved this from Dev WIP to Review Todo in NeMo Gym 0.5.0 - Aug 5on Jul 28, 2026
  7. moved this from Review Todo to Review WIP in NeMo Gym 0.5.0 - Aug 5on Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Platformr0.5.0

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions