# Run the evaluation
experiment = evaluate(
    dataset=dataset,
    task=evaluation_task,
    scoring_metrics=[StrictToolAdherenceMetric()]
)
```

### Analyzing the results

The Opik experiment dashboard provides a rich set of tools to help you analyze the results of the
trajectory evaluation.

You can see the results of the evaluation in the Opik UI:

<Frame caption="Experiment results showing tool selection scores">
  <video src="https://files.buildwithfern.com/https://opik.docs.buildwithfern.com/docs/opik/2026-01-30T17:33:07.444Z/img/evaluation/agent_trajectory_4k.mp4" autoPlay muted loop preload="auto" controls playsInline />
</Frame>

<Tip>
  If you click on a specific test case row, you can view the full trajectory of the agent's execution
  using the `Trace` button.
</Tip>

## Next Steps

Now that you can evaluate agent trajectories:

* Learn about [Task Span Metrics](/evaluation/metrics/task_span_metrics) for advanced trajectory
  analysis patterns
* Optimize your agent with [Agent Optimization](/agent_optimization/overview)
* Monitor agents in production with [Production Monitoring](/production/production_monitoring)