# Agent trajectory evaluation with reviewable evidence

The final answer is not enough. AgentClash evaluates the trajectory — tool choices, observations, retries, artifacts, and stop conditions — then preserves replay evidence for auditors and release owners.

Source: https://www.agentclash.dev/agent-trajectory-evaluation
Markdown export: https://www.agentclash.dev/md/agent-trajectory-evaluation

## Why trajectories matter

Two agents can return the same answer while taking wildly different paths. Trajectory evaluation catches unsafe shortcuts, runaway loops, and brittle tool strategies.

- Inspect tool calls and observations in a run trajectory.
- Check the final output contract alongside the solution.

## What can the sequence reveal?

Compare the reported solution outcome with the final output contract; inspect tool calls in your own run trajectory.

Traces provide evidence, not automatic proof that each action was appropriate

## Trajectory eval workflow

### 1. Read the sequence

Inspect tool calls and observations in a run trajectory.

### 2. Compare the outcome

Check the final output contract alongside the solution.

## Inspect runs with docs

Use replay and scorecards to debug trajectory regressions, then encode the workload as a challenge pack for CI.

- [Agent replay](https://www.agentclash.dev/features/agent-replay): Explore run trajectory review.
- [GPT generations expression evaluator](https://www.agentclash.dev/benchmarks/gpt-generations-expression-evaluator): Read the reported expression evaluator comparison and caveats.
- [Datasets overview](https://www.agentclash.dev/docs/guides/datasets-overview): Import examples, record baselines, sync regression suites, and gate CI.
- [Dataset CI gates](https://www.agentclash.dev/docs/guides/dataset-ci-gates): Fail builds when a candidate regresses against a pinned baseline.
- [CI/CD agent gates](https://www.agentclash.dev/docs/guides/ci-cd-agent-gates): Block pull requests when agent behavior gets worse.
- [Agent evals](https://www.agentclash.dev/agent-evals): Real-task agent evals with replay evidence and CI gates.
- [LLM agent evaluation](https://www.agentclash.dev/llm-agent-evaluation): Evaluate LLM agents on full trajectories, not one-shot answers.
- [Compare tools](https://www.agentclash.dev/compare): See how AgentClash differs from prompt-eval platforms.

## Trajectory evaluation FAQ

### What is agent trajectory evaluation?

Trajectory evaluation scores the sequence of actions and observations an agent took to complete a task, not just the final output string.

### How does AgentClash store trajectory evidence?

Each run keeps replay events, tool calls, logs, artifacts, and scorecards so reviewers can reconstruct the path that produced the result.

### Can trajectory evals gate releases?

Yes. Compare candidate and baseline trajectories via scorecards, then fail CI when correctness, cost, latency, or evidence quality regresses.