Agentic AI10 min read·Human Consensus AI Team

AI Agent Training Data: How to Collect Human Feedback for Agentic AI Systems

Standard RLHF was designed for a single-turn world: generate a response, label it better or worse than an alternative, train the reward model. That pipeline was never built to evaluate an agent that decomposes goals, selects tools, handles failures across a multi-step trajectory, and optimizes for a final outcome — not just a next token. If you're building on OpenAI Assistants, Anthropic Claude tool-use, Gemini function calling, LangChain, AutoGen, or CrewAI, your annotation requirements have fundamentally changed. This post covers what changed and what to do about it.

What Makes Agentic AI Different from Standard LLMs

A standard LLM takes a prompt and returns a completion. The evaluation question is simple: is this completion better or worse than that one? The entire RLHF machinery — pairwise preference collection, reward model training, PPO-based policy optimization — was built around that single-turn structure.

An agent is fundamentally different. It receives a goal, not just a prompt. To reach that goal it must decompose the goal into sub-tasks, select tools from an available set, execute those tools, interpret the outputs, recover from failures, maintain context across potentially dozens of steps, and ultimately produce an outcome that accomplishes the original intent. The evaluation question is no longer "is this response better?" — it's "did this sequence of decisions represent sound reasoning toward the goal, and did it actually work?"

This is not a marginal difference in task complexity. It's a structural difference in what it means to evaluate quality. OpenAI Assistants executes multi-step code and retrieval pipelines. Claude tool-use runs function calls across extended reasoning chains. Gemini function calling coordinates API calls within agentic flows. Open-source frameworks — LangChain, AutoGen, CrewAI — make multi-agent orchestration accessible to any team with a model API. The systems your users are deploying are already agentic. The training data infrastructure for those systems is not.

Why Standard RLHF Fails for Agents

Pairwise preference on a 3-paragraph response doesn't capture four things that matter for agent quality:

(a) Whether the agent picked the right tool

An agent that retrieves a document via a search API when it should have executed a SQL query produced a worse outcome — but the final text it synthesized from the search results may read just as confidently as a correct answer would. Standard pairwise preference can't distinguish these.

(b) Whether the reasoning chain was coherent

A trajectory that arrives at a correct final answer via a flawed reasoning path will train a reward model that learns to tolerate flawed reasoning — as long as it terminates in something plausible. The policy then learns to produce confident-sounding outputs via whatever reasoning path minimizes RLHF loss, not whatever reasoning path is actually sound.

(c) Whether the error recovery was sound

When a tool call fails, the agent's response matters: did it retry appropriately, fall back to an alternative, or hallucinate a result it never actually obtained? Single-turn preference data has no mechanism to evaluate this failure mode.

(d) Whether the final outcome was actually correct

A research agent that confidently returns citations it never actually retrieved, or a code agent that returns code that compiles but produces wrong output, will score well on standard RLHF if the final text reads fluently. Deployment tells a different story.

The concrete failure mode is this: an agent that produces a confident-sounding final answer via an incorrect reasoning chain will score well on standard RLHF preference data and fail in deployment. The reward model trained on single-turn data is blind to trajectory-level quality. The policy optimizes for surface-level fluency rather than the goal-completion quality that actually matters.

For the foundational RLHF mechanics, see how to build an RLHF dataset from scratch and RLHF vs. RLAIF for model alignment. The agent case extends both.

The Three Annotation Dimensions Unique to Agents

Agent evaluation requires three distinct annotation dimensions, each with a different rubric and a different annotator profile:

Dimension (a) — Step-Level Quality

For each tool call or reasoning step in the trajectory: Was it correct? Was it necessary, or could the agent have reached the same outcome with fewer steps? Was it efficient, or did it invoke a heavyweight tool when a lightweight one would have served? Step-level annotation requires an annotator who understands the tool landscape well enough to evaluate these questions. A crowdworker who has never used a vector database cannot evaluate whether a retrieval call was the right choice. A generalist cannot assess whether a code execution step was necessary or whether the result was actually correct.

Dimension (b) — Trajectory-Level Coherence

Across the full sequence of steps: Did the goal decomposition make sense? Did the agent's plan reflect a logically ordered approach to the task, or did it pursue redundant paths, skip necessary steps, or lose context between turns? Trajectory coherence is a holistic judgment about the agent's reasoning architecture — it requires seeing the full step sequence and having enough domain knowledge to evaluate whether the decomposition was sound. This is a higher-order annotation task than single-turn preference.

Dimension (c) — Outcome Quality

Did the final output actually accomplish the stated goal? This is the most consequential dimension, but it's also the easiest to fake on standard RLHF. An agent that produces a fluent, confident-sounding final response can score well on human preference even when the output is factually wrong, fails to address the actual goal, or rests on tool calls that never succeeded. Outcome evaluation requires both domain knowledge (to verify accuracy) and access to the full trajectory log (to verify that the stated outputs were actually derived from the tool calls made).

Human Consensus AI connects you with domain experts who can evaluate agent trajectories — not just single-turn responses.

The same expert annotator profile you need for trajectory evaluation is available in the Starter Pack and Enterprise Bundle.

View Products →

What Annotators Need to Evaluate Agentic AI

Domain expertise is non-negotiable for agent annotation — more so than for any other RLHF task. The reason is structural: the annotation requires understanding not just whether the final output is good, but whether each intermediate decision in the trajectory was correct. That requires knowing what correct looks like at each step.

A crowdworker cannot evaluate whether a code-execution agent's tool selection was optimal — they may not know the available tools, the performance tradeoffs between them, or whether the selected tool was even appropriate for the subtask. They can't assess whether a research agent's citations are accurate — verifying citations requires domain knowledge to evaluate source credibility and factual alignment. They can't judge whether a multi-step medical diagnosis workflow followed safe clinical reasoning — that requires medical training.

The inter-annotator agreement data makes this concrete. On domain-specific agent tasks, generalist annotators consistently produce inter-annotator agreement below κ = 0.40 — which is below the threshold where the annotation is useful for reward model training. The disagreement isn't random noise; it reflects genuine uncertainty about what "correct" means at the step level, which generalist annotators can't resolve. Expert annotators with domain knowledge of the task space routinely achieve κ ≥ 0.70 on the same tasks. See why domain-specific expert annotators outperform general crowdsourcing for the full analysis. The IAA collapse problem isn't unique to agents, but it's more severe here than anywhere else in AI annotation.

This also has direct implications for your reward model. An RM trained on κ = 0.40 trajectory annotations has learned a noisy, unreliable signal at every step level. The policy optimizing against that RM will exhibit erratic behavior on the dimensions that matter most — tool selection, error recovery, goal decomposition — because those are precisely the dimensions where the training signal was most ambiguous. See how to evaluate RLHF reward models for how to detect this failure mode before it reaches production.

Practical Annotation Schema for Agent Trajectories

A functional trajectory annotation schema has three layers. Each has specific fields and specific annotator requirements:

Layer 1 — Trajectory Log

The full step sequence: each tool call with its arguments, each tool output, each reasoning step the agent took between tool calls, and the final output. The annotator must have access to the complete log — partial trajectory annotation produces incomplete signal and cannot evaluate coherence across steps.

Layer 2 — Per-Step Annotation Fields

For each tool call or reasoning step: Correct / Incorrect (did this step produce a correct result or sound reasoning?), Necessary / Unnecessary (was this step required to accomplish the goal, or was it redundant?), Efficient / Redundant (was this the most efficient approach available, or did the agent use a heavyweight tool where a lighter one would have served?). Each field requires a binary or ternary label plus a free-text rationale.

Layer 3 — Trajectory-Level Fields

Goal decomposition quality: Good / Partial / Poor — did the agent's plan represent a logically sound approach to the task? Error recovery: Yes / No / N/A — when tool calls failed, did the agent handle the failure appropriately? Final outcome: Success / Partial / Failure — did the final output actually accomplish the stated goal? These three fields aggregate the step-level signal into a trajectory-level judgment.

One operational note that often surprises teams doing this for the first time: trajectory annotation is approximately 3–5× more time-intensive than single-turn preference annotation. A pair of 200-word responses takes an expert annotator 3–5 minutes to label with rationale. A 15-step agent trajectory takes 15–25 minutes — the annotator must read the full log, evaluate each step independently, assess the trajectory as a whole, and provide rationale at both levels. Factor this into cost planning and timeline estimates before scoping the dataset.

The Cold Start Problem for Agent Training Data

Agent annotation has a chicken-and-egg problem: you need human feedback to improve the agent, but the agent needs to be good enough to generate trajectories worth annotating. If the base model produces incoherent trajectories — wrong tool selections, broken reasoning chains, random failures — human annotation of those trajectories has poor signal-to-cost ratio. You're paying expert rates to annotate garbage.

Two approaches address this, with different cost and signal tradeoffs:

Approach (a) — Human Demonstration Traces

Have domain experts solve the tasks step-by-step, using the same tool environment the agent will use. Record the full demonstration trace as the ground-truth trajectory. This is expensive — you're paying expert rates for task completion, not just annotation — but the signal quality is as high as it gets. Every step is correct by construction. The annotation task becomes verifying whether the model-generated trajectory matches the expert trace, rather than evaluating an unconstrained trajectory from scratch. OpenAI's early work on code-execution agents used human expert demonstrations to bootstrap the initial training data before the model was capable of generating plausible trajectories on its own.

Approach (b) — Model-Generated Trajectories with Human Correction

Generate trajectories from the base model, then have experts annotate and correct them. Cheaper per trajectory than full demonstration, but requires the base model to be competent enough to produce plausible attempts — trajectories so broken that every step is wrong are annotation-inefficient. Anthropic's Claude tool-use development followed a version of this pattern: initial tool-use capability was bootstrapped from supervised demonstrations, then iteratively refined via human feedback on model-generated trajectories as the model became capable of generating coherent attempts. The correction annotation task is more tractable than cold annotation of arbitrary trajectories, because the annotator is evaluating against a mostly-correct attempt rather than constructing quality judgments from scratch.

In practice, most teams use a hybrid: demonstration traces for task types where the base model is weakest (the agent can't yet generate plausible attempts), and correction annotation for task types where the base model is competent enough to generate a trajectory worth correcting. The decision boundary is roughly: if fewer than 40% of model-generated trajectories have any steps worth preserving, use demonstrations. If the model generates mostly-correct trajectories with specific failure patterns, use correction.

Getting Started with Agent Training Data Today

Most teams building agentic systems today are 6–18 months from needing large-scale agent trajectory annotation. The systems are still maturing, the tool environments are still being defined, and the task distributions are still being scoped. But the teams that start building their annotation infrastructure now — recruiting expert annotators, establishing rubrics, running calibration pilots — will have the data moat when scale becomes necessary. The teams that wait will spend their first 6 months on infrastructure setup that the early movers already have.

Minimum viable dataset for agent training data: 500–1,000 expert-annotated trajectories per task domain, with κ ≥ 0.70 inter-annotator agreement at both step level and trajectory level, and complete step-level + outcome-level annotation for each trajectory. Below 500 trajectories, the reward model doesn't have enough trajectory-level signal to learn reliable quality judgments. Below κ = 0.70, the signal is too noisy to train against.

The annotator profile required for agent trajectory evaluation is the same profile required for high-quality RLHF preference annotation: domain experts who understand the task space well enough to make reliable quality judgments with high inter-annotator agreement. If you're building your annotator sourcing infrastructure now for preference data collection, you're building the same infrastructure you'll need for trajectory annotation.

The Human Consensus AI Starter Pack gives you a foundation of expert-annotated preference pairs from domain experts in your vertical — the same annotator profile you'll need for agent trajectory evaluation. It's the right starting point while your agent system matures toward the scale where trajectory annotation becomes the primary data need. The Enterprise Bundle is for teams building agentic pipelines at scale — it includes dedicated rubric design, expert sourcing for trajectory annotation tasks, and the calibration infrastructure to maintain κ ≥ 0.70 as the annotation volume grows.

Build your agent training data foundation with expert annotators

The Starter Pack provides expert-annotated preference pairs from domain experts — the same annotator profile you need for agent trajectory evaluation at scale.

Get the Expert Opinion Starter Pack — $49 →

Building agentic pipelines at scale? Enterprise programs include dedicated trajectory annotation rubric design, domain expert sourcing, calibration management, and ongoing IAA monitoring for production agent training data programs.

View Enterprise Bundle →