Long-Horizon Agent Evaluation › The Evaluation Object: Tasks, Trajectories, Final States
Language AI HandbookAll chapters The task defines the environment and goal. The trajectory records the path. The final state records the result of that path.
A task is a specification: a natural-language goal, an initial environment state, a success predicate over final state, optionally a partial-credit formula over milestones, a step/cost/time budget, and metadata (task family, seed, contamination status). A trajectory is the ordered sequence of (observation, action, result) tuples produced by a particular agent policy on a particular task with a particular random seed. The final state is the environment's state after the last action. Success is defined as a predicate on the final state (and sometimes also on safety invariants over the trajectory). Trajectories are evidence; final states and safety are the verdict.
Judge the final state for final-state predicates and use the trusted event log for path conditions. Keep the evaluator’s observations separate from the policy’s account.
An agent policy is anything that maps the current trajectory prefix plus an observation to an action. It may be a large language model calling tools, a fixed scripted policy, a human in a loop, or a mixture. In this fixture both policies use the same scripted runner, configured by two Policy records.
A task suite can be a fixed set or a sample from a generator. Name the tasks, the seed policy and the weighting rule. If the aim is to generalize to new tasks, the evaluation should reflect sampling uncertainty at the relevant task level.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!