Agents and automation

Agent trajectory

stable definition
Machine-readable Download Markdown

Definition

An agent trajectory is the ordered sequence of states, model outputs, actions, tool results, and transitions produced during a run. It captures the path to an outcome, including failed attempts and intermediate decisions that a final answer hides.

Trajectory evaluation can detect unsafe, wasteful, or lucky behavior. An agent may reach the right result after reading prohibited data, repeating expensive calls, or ignoring a failed verification step. Outcome-only scoring would count the run as a success.

Useful trajectory records include timestamps, model and harness versions, tool inputs and outputs, state changes, costs, errors, and approval events. Sensitive reasoning data and user information still need access controls and retention limits.

Distinguish it from nearby terms

A trajectory is the behavior sequence. A trace is the observability record captured about that sequence. A rollout or episode often refers to a sampled trajectory used for training or evaluation.

Check your understanding

An agent passes a task because its fifth unbounded retry happens to work, after four actions that would have modified production. The outcome is correct; the trajectory shows why the system is not ready.