Skip to content

Smart Router: route a request to a capable model enabled for your account.Try

Agent Learning / Multi-Step Trajectory RL

Compound accuracy from every verified outcome.

Convert verified task outcomes, domain-expert reviews, and calibrated agent feedback into reward signals. Optimize eligible agent policies across multi-step tool trajectories, benchmark candidates on held-out evaluations, and promote only checkpoints that beat your baseline.

Agent Learning can use an admitted customer harness without an enterprise Agentic OS deployment. Environment, model, data rights and acceptance are qualified separately.

Continuous improvement / Controlled learning

Every accepted outcome can inform the next improvement.

Close the loop from production execution to measurable policy gains. Domain-expert approvals and deterministic verifiers score live trajectories; independent held-out evaluations gate every release.

  1. 01

    Business task

    A defined job and acceptance criteria.

  2. 02

    Governed execution

    Authorized context, tools and action limits.

  3. 03

    Verified feedback

    Outcomes, expert review and calibrated agent judgments.

  4. 04

    Reward-based training

    Authorized signals update an eligible policy.

  5. 05

    Independent evaluation

    Held-out quality, policy, latency and complete cost.

  6. 06

    Approved release

    An accountable owner or pre-authorized policy governs promotion and rollback against held-out benchmarks.

Illustrative learning lifecycle. Execution permission does not grant training permission. Training changes eligible model or policy weights; prompt and tool changes have their own evaluation path. Learning cannot expand agent permissions. Deployment, training and release gates are agreed for each engagement.

ILLUSTRATIVE BENCHMARK & RELEASE SIMULATION · NOT A PUBLISHED EXTERNAL AUDIT

Inspect how Forward governs Agent RL experiments, from locked dataset splits and judge calibration (κ) to held-out task deltas, unit economics, and canary release gates. Values below are illustrative reference simulations rather than a published external audit; actual pilot metrics are established on your locked held-out benchmark.

EXPERIMENT MANIFEST, CALIBRATED REWARD, HELD-OUT EVALUATION & RELEASE GATE

Inspect the environment, training rights, judge calibration, complete cost per accepted outcome, and the promotion or rollback decision.

No weight or harness update reaches production without beating the baseline on the locked held-out split and passing safety, latency, and per-slice non-regression gates.

ILLUSTRATIVE BENCHMARK & RELEASE SIMULATION · NOT A PUBLISHED EXTERNAL AUDITIllustrative experiment manifest for environment contract and training rights review.

EXPERIMENT MANIFEST & TRAINING RIGHTS

Multi-Step Repository Patch & Tool-Verified Repair Agent (Illustrative Reference Workload)

EXP-RL-2026-042 (ILLUSTRATIVE SIMULATION)
ENVIRONMENT VERSION & HERMETIC DIGEST
env://swe-enterprise-sandbox@v3.4.0 (container digest sha256:4d82a91f... · illustrative fixture)
TOOL MOCKS, FIXTURES & NETWORK ISOLATION
Deterministic Git worktree, Hermetic pytest/vitest runner, Mocked issue tracker API (zero production network access)
DATASET SPLIT (TRAIN / VALIDATION / LOCKED HELD-OUT)

Train: 600 trajectories (de-identified historical repairs · illustrative split)

Val: 160 trajectories (hyperparameter & KL penalty stopping · illustrative split)

Held-out: 400 locked benchmark tasks (zero overlap with train/dev prompts, repos or issue IDs)

LEAKAGE VERIFICATION & TRAINING RIGHTS

[SIMULATED · OK VERIFIED] AST + prompt MinHash deduplication passed (0.0% contamination across train/val/held-out)

Illustrative tenant authorization `CONSENT-TRN-2026-09 (simulated fixture)` · 90-day trajectory retention · Zero cross-tenant weight sharing

REWARD COMPOSITION & JUDGE CALIBRATION AGAINST HUMAN GOLD LABELS

R_unit_and_integration_testsw = 0.55

[Deterministic verifier]

All target + regression tests pass inside hermetic container

R_policy_and_diff_hygienew = 0.25

[Deterministic static gate]

Zero secret leaks, zero prohibited files touched, minimal AST diff radius

R_rubric_judge_calibrationw = 0.20

[Calibrated LLM-as-judge (audited)]

Root-cause explanation & patch maintainability; illustrative agreement κ = 0.86 vs 120 human senior-engineer labels; drift alert at κ < 0.78

FOUR ADAPTATION METHODS (WEIGHT RL, SFT, PROMPT/HARNESS, OR YOUR OWN TRAINER)

Choose the adaptation modality that fits your model boundary and operational stage

METHOD 01 · WEIGHT-BASED RL (GRPO / PPO)

Multi-turn RL weight post-training (VeRL)

When the agent must learn multi-step tool sequencing, recovery from test failures and compact trajectories on an open or dedicated checkpoint.

METHOD 02 · SFT / PREFERENCE TUNING

Supervised fine-tuning & trajectory distillation

When bootstrapping a smaller, lower-latency model from accepted frontier trajectories before online rollouts.

METHOD 03 · PROMPT & HARNESS OPTIMIZATION

Non-weight harness, rubric & retrieval tuning

When operating on closed frontier APIs or when rapid policy/prompt iteration resolves the failure mode without GPU weight training.

METHOD 04 · ROLLOUT INFRASTRUCTURE FOR CUSTOMER TRAINERS

High-throughput sandboxed rollouts for your own ML stack

When the customer ML team owns the optimizer loop and consumes Forward only for deterministic environments and verifier scoring.

ILLUSTRATIVE BENCHMARK & RELEASE SIMULATION · NOT A PUBLISHED EXTERNAL AUDITHeld-out evaluation protocol (n=400 unique tasks × 3 seeds = 1,200 simulated runs) — illustrative reference study, not an invoice or guaranteed SLA.

INDEPENDENT LOCKED HELD-OUT BENCHMARK COMPARISON & COMPLETE ECONOMICS

Prompted Baseline vs SFT Baseline vs RL Candidate (with explicit sample denominator)

Illustrative simulation: n = 400 held-out tasks × 3 evaluation seeds (1,200 simulated runs per policy · Window: 2026-10-01..2026-10-14 · Environment v3.4.0)

Each policy is evaluated across 400 locked held-out PR tasks × 3 evaluation seeds (1,200 simulated runs per policy). Task pass counts (246/400, 272/400, 310/400) report majority-seed task acceptance on the 400-task denominator; ± intervals show the 95% bootstrap confidence interval across the 3 seeds.

Economic scope & assumptions: Variable run cost covers model tokens, E2B sandbox execution, and deterministic verifier checks. Stage training investment covers GPU compute for SFT distillation ($420) and VeRL rollouts + optimization ($1,180; $1,600 cumulative if SFT warm-start is included). Sample-loaded cost divides variable + stage training cost by the accepted tasks in the 400-task evaluation set. Amortized production cost illustrates steady-state economics across 10,000 accepted runs (RL break-even vs prompted baseline at ~2,186 accepted runs). Customer engineering setup, human reviewer time, and ongoing platform operations are scoped separately.

[OK ZERO TRAIN/EVAL LEAKAGE]
Task success rate (all tests + policy pass)
1. PROMPTED BASELINE
61.5% (±1.8%) — 246 / 400 tasks
2. SFT / HARNESS BASELINE
68.0% (±1.6%) — 272 / 400 tasks
3. RL CANDIDATE (CKPT_STEP_480)
77.5% (±1.4%) — 310 / 400 tasks (+16.0 pts vs prompted)
Hard policy / safety gate violations
1. PROMPTED BASELINE
3.5% (14 / 400 tasks)
2. SFT / HARNESS BASELINE
2.0% (8 / 400 tasks)
3. RL CANDIDATE (CKPT_STEP_480)
0.5% (2 / 400 tasks — both blocked by runtime gate)
Human approval / intervention rate
1. PROMPTED BASELINE
42.0% of runs required manual patch edit
2. SFT / HARNESS BASELINE
31.5% of runs required manual patch edit
3. RL CANDIDATE (CKPT_STEP_480)
19.0% of runs required manual patch edit
Latency (p50 / p95 end-to-end trajectory)
1. PROMPTED BASELINE
p50: 38s · p95: 112s (avg 9.4 tool turns)
2. SFT / HARNESS BASELINE
p50: 31s · p95: 89s (avg 7.8 tool turns)
3. RL CANDIDATE (CKPT_STEP_480)
p50: 24s · p95: 68s (avg 5.6 tool turns)
Variable run cost / accepted task (inference + sandbox + verifier, excl. training)
1. PROMPTED BASELINE
$1.48 / accepted task ($364.08 variable spend across 246 accepted)
2. SFT / HARNESS BASELINE
$1.21 / accepted task ($329.12 variable spend across 272 accepted)
3. RL CANDIDATE (CKPT_STEP_480)
$0.94 / accepted task ($291.40 variable spend across 310 accepted; −36.5% variable vs prompted)
One-time adaptation & rollout compute investment
1. PROMPTED BASELINE
$0.00 (0 GPU hrs · untuned checkpoint)
2. SFT / HARNESS BASELINE
$420.00 (one-time SFT distillation compute)
3. RL CANDIDATE (CKPT_STEP_480)
$1,180.00 VeRL rollout + RL compute ($1,600.00 cumulative incl. SFT warm-start)
Sample-loaded cost / accepted task on the 400-task evaluation set (variable + training)
1. PROMPTED BASELINE
$1.48 / accepted task ($364.08 total / 246 accepted)
2. SFT / HARNESS BASELINE
$2.75 / accepted task (($329.12 + $420.00) / 272 accepted)
3. RL CANDIDATE (CKPT_STEP_480)
$4.75 / accepted task (($291.40 + $1,180.00) / 310 accepted; $6.10 incl. SFT warm-start)
Illustrative amortized cost / accepted task at 10,000 accepted runs (excl. human ops)
1. PROMPTED BASELINE
$1.48 / accepted task (no training investment to amortize)
2. SFT / HARNESS BASELINE
$1.25 / accepted task ($1.21 variable + $0.04 SFT compute / run)
3. RL CANDIDATE (CKPT_STEP_480)
$1.06 / accepted task ($0.94 variable + $0.12 RL compute / run · break-even at ~2,186 accepted runs)

[! UNIT ECONOMICS GUARD · ZERO ACCEPTED OUTCOMES]

When an evaluation window has 0 accepted outcomes, cost per accepted outcome is strictly reported as non-calculable—never as $0.00:

N/A — 0 accepted outcomes in window (non-calculable; never shown as $0.00)
ILLUSTRATIVE BENCHMARK & RELEASE SIMULATION · NOT A PUBLISHED EXTERNAL AUDITPromotion, canary, and rollback states below demonstrate the release governance state machine.

PROMOTION, CANARY, SLICE-REGRESSION REJECTION & ROLLBACK STATES

Inspect every release lifecycle state and the guards against slice regression or reward hacking

[▤ EVALUATED] · RL-ST-02 · EVALUATEDGOVERNED RELEASE PROGRESSION
STATE SUMMARY & EVIDENCE
3-seed held-out evaluation complete: 77.5% success (+16.0 pts vs baseline), p95 latency 68s, $0.94 / accepted outcome.
GATE CRITERION / AUTOMATED GUARD
All 4 slice regressions >= 0; judge calibration κ = 0.86 >= 0.80 threshold.
NEXT ACTION OR ROLLBACK LINEAGE
Next: Submit evaluation dossier for Process Owner & ML Lead acceptance.

Match the post-training method to your signal.

01 / Learning methods

Curated demonstrations power SFT. Pairwise preferences power DPO and ORPO. Executable environments and verifiable outcomes power multi-step Agent RL. Establish a measured baseline first, then combine methods for your workload. Prior SFT or DPO is not required for an eligible RL engagement.

BaselineBaseline prerequisite

Prompt, Context, Vaults & Tool Policy

Establish a measured baseline with context, retrieval, tools and approval policies. Evaluate configuration changes alongside any eligible training method.

Required inputs

20–50 representative test cases + explicit acceptance rubric.

Output artifact

System instructions, retrieval chunking, tool schemas, approval gates, and citation rules (weights unchanged).

Explore Prompt, Context, Vaults & Tool Policy
DemonstrationsInvitation · Scoped pilot

Supervised Fine-Tuning (SFT / LoRA)

Use when curated demonstrations, including multi-turn conversations and tool traces, can teach the required behavior on an eligible checkpoint.

Required inputs

Curated demonstrations with data rights, representative task coverage and an independent evaluation set.

Output artifact

An eligible adapter or checkpoint is optimized against approved demonstrations; these can cover multi-step tasks.

Explore Supervised Fine-Tuning (SFT / LoRA)
PreferencesInvitation · Scoped method

Preference Optimization (DPO / ORPO)

Use when authorized preferred and rejected responses or trajectories express the desired behavior.

Required inputs

Curated preferred and rejected responses or trajectories with data rights and a held-out evaluation set.

Output artifact

An eligible adapter or checkpoint is optimized from the approved preference pairs.

Explore Preference Optimization (DPO / ORPO)
RewardsCo-engineered · Pilot scope

Agent RL on Multi-Step Trajectories

Use when an executable environment and scorable task outcomes support reward-based optimization of multi-step decisions. Prior SFT or DPO is not required.

Required inputs

Executable environments, eligible checkpoints, authorized trajectories, outcome checks and calibrated expert or agent feedback, plus a measured baseline.

Output artifact

End-to-end policy optimization across multi-turn tool calls, environment state transitions, and final task verification.

Explore Agent RL on Multi-Step Trajectories

Environment, trajectory, and reward contracts.

02 / Contracts

An Agent RL pilot scopes four concrete interfaces before training compute starts: the trajectory log format, the deterministic verifier suite, the rollout loop, and the promotion gate.

01Runs · Tool calls · Terminal state

Trajectory schema from Agentic OS

Collect multi-turn execution traces from Forward HIVE or your own harness. Each trajectory captures prompt context, intermediate tool invocations, sandbox outputs, approval checkpoints, and terminal deliverables.

02Unit tests · Citation checks · Schema validators

Outcome checks and calibrated agent feedback

Combine deterministic outcome verifiers and expert reviews to calibrate agent critiques and rubric scores. Measure inter-rater agreement, audit edge cases, and prevent reward hacking. An agent judging its own result is not an independent acceptance test.

03Scoped Agent RL or Own-Trainer Rollouts

Rollout sampling vs. weight updates

Run the full trajectory sampling and policy optimization loop with Forward, or keep your own trainer (GRPO, PPO, REINFORCE) and use Grid purely as the high-concurrency rollout fleet.

04Grid Dedicated · Private · Agentic OS

Checkpoint acceptance and serving promotion

Every candidate checkpoint is benchmarked against held-out tasks for task completion, tool-call precision, latency, and cost per accepted run before promotion to production serving.

Agent RL vs. Own-Trainer RL Rollouts.

03 / Ownership

Choose whether Forward operates the trajectory optimization loop with your team, or whether your ML engineers keep the trainer and use Grid strictly for high-concurrency rollout sampling.

Responsibility matrix comparing Scoped Agent RL and Own-Trainer RL Rollouts across loop stages
Loop stageAgent RL (Scoped with Forward)Own-Trainer RL Rollouts
1. Environment & Tool SandboxCustomer: Defines domain tasks, target tool schemas, and safety boundaries.
Forward: Qualifies the agreed environment and access boundary before live sampling.
Customer: Executes tool calls, code sandboxes, or environment state transitions inside customer infrastructure.
Forward: Serves high-throughput rollout completions (`n` samples per prompt, logprobs, stop tokens) on Forward Grid.
2. Trajectory Generation & SamplingCustomer: Provides approved tasks or traces with explicit training rights.
Forward: Orchestrates parallel multi-turn trajectories across tool calls, retries, and branch explorations.
Customer: Dispatches rollout batches from VeRL / OpenRLHF / custom trainer and manages episode loops.
Forward: Qualifies sampling throughput, checkpoint freshness and latency for the quoted window.
3. Verifier, Rubric & Reward ScoringCustomer: Approves business acceptance criteria and domain edge-case rules.
Forward: Builds and runs deterministic verifiers, citation gates, and step-level process reward harnesses.
Customer: Computes scalar rewards, unit-test pass rates, or judge scores inside the customer training loop.
Forward: Optionally serves fast judge/reward models or OpenDetector checks via Grid endpoints.
4. Gradient Update & Optimizer StepCustomer: Reviews learning curves, held-out benchmark gains, and regression reports.
Forward: Executes the post-training optimization loop and checkpoint selection on Forward infrastructure.
Customer: Runs backward pass, KL penalty, and optimizer step (GRPO / PPO / GSPO) on customer trainer GPUs.
Forward: Runs the qualified sampling service; customer trainer code and optimizer state remain customer-owned.
5. Weight Sync & Production ServingCustomer: Signs off on staging evaluation and promotes the versioned agent policy.
Forward: Qualifies export and serving reload, then deploys only the accepted checkpoint under the agreed release scope.
Customer: Pushes updated LoRA adapters or checkpoint deltas at each rollout step.
Forward: Refreshes rollout workers under the qualified contract. Production serving is a separate accepted deployment.

Questions

What does reward-based Agent Learning change?

A qualified training run updates eligible model or agent policy weights from rewards across tool and environment interactions. Execution logs, memory and prompt edits alone are not reinforcement learning. Checkpoint rights, model license and training interfaces must permit the update; calling a closed model API does not provide access to its weights.

Can agents improve automatically without changing their permissions?

Authorized feedback can feed a recurring improvement pipeline. Independent evaluation and the agreed release policy govern promotion and rollback. Governance and access policies stay outside reward optimization. Execution access does not authorize training, and learned behavior cannot expand permissions.

When should we use Agent RL instead of SFT or DPO?

Choose based on the feedback and task. Use SFT for demonstrations, DPO or ORPO for preferences, and RL for an executable environment with scorable outcomes. SFT can also teach multi-step tool use. There is no required SFT-to-DPO-to-RL sequence; compare methods against a strong baseline and held-out acceptance criteria.

Is Agent RL a self-serve preset today?

No. Multi-step reinforcement learning requires a verified environment and reward contract. Every Agent RL engagement is scoped by invitation and quoted around your checkpoint, environment harness, and serving target.

Can we keep our own trainer and only use Grid for rollout sampling?

Yes. If your ML team already runs GRPO, PPO, or custom RL loops, use Own-Trainer RL Rollouts (/training/rl-rollouts) for reserved high-concurrency trajectory sampling and weight synchronization.

Bring a multi-step workflow and a verifiable outcome.

Scope the trajectory dataset, reward environment, candidate checkpoint, and production serving target with our applied-RL team.

Explore own-trainer RL rollouts

Request access

Agent API and Grid access are by invitation. Enabled services and terms are confirmed during onboarding.

Drafts stay in this browser visit. Refreshing the page clears them.

Processed under our Privacy & Data Protection Notice (GDPR, LGPD & CCPA). No personal data is sold or shared.

Talk to us

Tell us who you are and what you need to review.

Drafts stay in this browser visit. Refreshing the page clears them.

Each topic keeps its own requirements during this visit. Changing topic keeps your contact details.

Processed under our Privacy & Data Protection Notice (GDPR, LGPD & CCPA). No personal data is sold or shared.

[PRIVACY & TELEMETRY CONTROLS]

Data Protection & Telemetry Preferences

Forward Intelligence (operated internationally by Forlex, LLC and in Brazil by Forlex Ltda) respects your rights under the EU/UK GDPR, Brazil LGPD (Lei nº 13.709/2018), and California CCPA/CPRA.

Strictly necessary storageAlways active

Stores colour theme (grid-theme), documentation navigation state, and your privacy preference (fwdi_privacy_consent_v1) locally in your browser. No third-party cookies or cross-site trackers are set.

The language selector stores only your preference in a first-party cookie (fwdi-language), for up to one year. This does not enable optional analytics.

Redacted route & funnel analyticsDisabled

Collects aggregate pageviews on allowlisted marketing routes and coarse commercial funnel events via @vercel/analytics. Query strings, dynamic paths, and personal data are redacted client-side before sending.

Read full GDPR / LGPD / CCPA notice