Skip to content

Annotate an agent run

Review an agent interaction in context, then save a verdict, comment, and tags that explain what it got right or wrong.

An agent run is one end-to-end invocation of your agent, including its messages, model calls, and tool calls. Annotate a run when you need a human judgment that automated checks cannot provide, such as whether an answer was helpful, safe, or on-topic. The result is an editable run annotation that remains separate from automated evaluator results.

Use this direct workflow when you are investigating one run or a small sample in context. Design Partner customers participating in early access can use an annotation queue for a systematic batch of interactions.

Agree on the criterion first

Annotations become comparable only when reviewers use the same rule. Before you start, write one sentence that defines what a pass means. For example, you might define a pass as: “The answer resolves the customer’s question without inventing details.” Use the Comment field to record the evidence that supports your verdict.

Open the run you want to review

  1. In the Logfire web UI, open Annotations under AI Evaluations.
  2. Under Agents, select the agent whose runs you want to review.
  3. Select Proceed to annotate. Logfire takes you to that agent’s Runs tab, where you can inspect the interaction before recording your judgment.

The Annotations page explains that agent annotations are completed from an agent's Runs tab.

  1. Find the run you want to review. Select the row to inspect its input, final output, model calls, tool calls, and trace. Select Annotate to open the annotation panel. To open the panel directly, select Add annotation in the run’s row.

Record your judgment

Choose a verdict using the criterion your team agreed on, then add enough context for someone else to understand the decision:

  • Pass: the run met the criterion you are reviewing.
  • Neutral: the run is neither clearly good nor clearly bad, or does not have enough information for a pass or fail.
  • Fail: the run did not meet the criterion you are reviewing.

Use Comment to state the evidence you found in the run. Add Tags to group related reviews, such as hallucination, tone, or tool-error. Select Save to store the annotation, or Save & next to continue through the remaining runs.

The run annotation panel lets you choose a verdict, write a comment, and add tags.

Verify the annotation

After you save, the Runs tab’s annotated count increases and the run shows its annotation. Return to Annotations to see the saved review in Recent annotations, where you can filter by verdict.

Troubleshooting

I cannot find an agent or run

The agent needs recorded runs in the selected time range. Send or wait for an agent interaction, then adjust the time range on the agent’s Runs tab if needed.

I do not see the annotation controls

Open the interaction from Agents > Runs. Run annotations are attached to complete agent runs and are not available from the generic Live view.

Next steps

  • Human review: understand how direct review and annotation queues support evaluation work.
  • Run an evaluation: compare a fixed dataset against your scoring criteria.
  • Live Evaluations: score production traffic automatically, then use annotations for the cases that need human review.