Skip to main content
For the complete documentation index for agents and LLMs, see llms.txt.

AI Explanation of Missed GoalsBeta

Beta
This is coming — this page describes a feature that's still being rolled out and may not be available to you yet.

To find out why a goal missed without reading every failing session yourself, use the explanation the AI Assistant writes for each Missed goal. When the page shows a run's results, it asks the AI Assistant about each Missed goal. The explanation appears on the page itself, not in the Ask AI panel, and it doesn't add to the panel's conversation.

The assistant reads the goal's rule, the pass counts, and up to 50 failing Sessions from the run, each with its value and rationale. The rationale is cut to 400 characters. At most three goals are explained at the same time.

  • In the goal list: Each Missed goal shows a one-line headline. While the assistant works, the row shows a loading state. If the explanation fails, the row shows a Retry button.
  • On the Live tab: The full analysis appears under the verdict, marked Written by AI. It contains:
    • Clusters of failing Sessions that share a pattern, with the number of Sessions in each. There are up to three clusters.
    • A likely cause. Treat it as a hypothesis, not a confirmed diagnosis.
    • Up to three example Sessions. Each example links to the Session's trace on the pipeline's Traces tab, where you can inspect what happened. The link opens the trace for single-turn Sessions only.

The page keeps each explanation for the run, goal, and rule it was written for, so reopening the page in the same browser session doesn't ask the assistant again. If you change a goal's rule or evaluate again, the page requests a new explanation.

If an Explanation Fails​

If a row shows that the miss couldn't be explained, click Retry. The explanation fails when the assistant is unavailable or when its answer doesn't match the expected format, for example when it names a Session that didn't fail. If it keeps failing, the cause is on the assistant's side, not in your goal. The goal's status and pass rate aren't affected.