How VAIL Findings work: tracking recurring probe failures
How VAIL accumulates live probe verdicts into Findings, tracks failure patterns, trends, and regressions across runs, and sends findings to LangSmith for review.
What a Finding is
A scan reads an agent's source and produces hypotheses about how it could break its rules. A single live probe run shows how one exchange went. A Finding accumulates deterministic probe verdicts across every live run for an agent so you can see what keeps going wrong, how often, in what ways, since when, and whether it is getting better or worse.
Everything in a finding is counted directly from the verdicts VAIL already produced on live probe runs; there is no extra LLM judge layer. VAIL keeps two kinds of findings per agent:
- Requirement findings: Keyed to one requirement in the behavior catalog (
behavior_idandrequirement_id) rather than a single probe's metric keys, so the finding survives probe regenerations and tracks the underlying rule continuously. - Reliability finding: One per agent, counting probe repetitions where the agent failed to finish answering (timeouts, dropped streams, or runtime errors). Because unanswered repetitions are not judged by metrics, this keeps them from disappearing from pass/fail rates.
How probe runs fold into Findings
Each time a live probe run finishes, VAIL extracts observations from its executions and folds them in execution order into the agent's findings:
- One verdict per repetition per requirement. If several metrics check the same requirement, that requirement passes in a repetition only if every metric testing it passes. That prevents a rule checked three ways from being triple-counted.
- Contradictory (
inconsistent) requirements. Requirements whose source docs contradict each other are measured across a run's repetitions by consistency metrics and record one run-level observation per run. - Grouped failure patterns and what happened instead. VAIL splits each failure into the miss (such as never calling a required tool) and what the agent did instead, normalizing per-run counts so repeated instances of the same mistake group together. Up to 12 top patterns are kept per finding, with the top alternatives counted beneath each miss.
- Dynamic headlines. When one failure pattern accounts for at least 80% of a finding's failures, that miss becomes the card's headline. Otherwise the headline names the unmet requirement (or Doesn't always reply for the reliability finding).
- Recent examples. Each finding retains up to 15 of the most recent failing repetitions, linking to the run, the probe, and the LangSmith trace ID when available.
Status lifecycle, ranking, and trends
Every finding moves through four statuses based on its chronological verdicts:
| Status | When it applies | Shown on Findings page |
|---|---|---|
passing | Never failed in any judged repetition. | No (tracked in the background until it fails) |
open | Failed at least once and has not yet cleared the passing streak. | Yes, under Open |
resolved | Passed 6 consecutive repetitions after failing earlier. | Yes, under collapsed Resolved |
regressed | Failed again after reaching resolved. | Yes, ranked first under Open |
- Why 6 clean repetitions? Two clean runs of three repetitions show the fix holds across retries, so a single lucky reply does not prematurely close a finding. Resolved findings stay visible in a collapsed section so a later failure is immediately flagged as
regressed. - Ranking. On the Findings page, findings are ordered
regressedfirst, thenopen, thenresolved. Within each status they are sorted by overall failure rate descending, then total failure count descending. - Week-on-week trend. VAIL keeps daily counts for the last 30 days and compares the last 7 days' failure rate against the prior 7 days. A drop of 15 percentage points or more is labeled Improving; a rise of 15 percentage points or more is labeled Worsening; smaller shifts stay steady.
Reading Findings in the web app and from your coding agent
In the web app
Open Findings for your agent in the web app (/agents/<agent_id>/findings). Start with regressed and top open cards: read the failure rate, start date, trend, and what the agent did instead. Follow See the latest example to inspect the exact failing run, or expand Details for the probe checks, secondary failure patterns, requirement and behavior IDs, and links to earlier failing runs.
From a coding agent (MCP) or HTTP API
Call get_findings over MCP with the agent's agent_id — or request GET /v1/agents/{agent_id}/findings with a VAIL personal access token or OAuth 2.1 bearer token (Authorization: Bearer <token>) or signed-in session (and GET /v1/findings on the single-tenant operator API) — to retrieve accumulated live probe findings in the same structured JSON format. Optional parameters narrow the response (include_resolved defaults to true, include_passing defaults to false, and behavior_id filters to one behavior's requirements). The response includes:
summary: totaltracked,regressed,open,resolved, andpassingcounts across the agent.findings[*]: orderedregressedfirst, thenopen, thenresolved(sorted by failure rate descending), each withkey,kind(requirementorreliability),status,headline,behavior_id,requirement_id,expectation,judged,failed,failure_rate,streak,run_count, week-on-weektrend,instead_tools/instead_phrase, groupedpatterns,probe_ids, recent failingexamples(withrun_idand LangSmithtrace_run_id), andlangsmithqueue metadata when synced.findings_url: direct link to the agent's Findings page in the web app.
Acting on Findings and recounting from history
-
Prioritize regressions and high failure rates. Start with
regressedfindings and the highest-rateopenfindings, then cross-referencebehavior_idwithget_behaviorsandget_probes(or the Coverage page) to inspect the rule, Impact and Trigger scores, and source evidence. -
Fix and verify. Use the failing example and patterns to decide whether to tighten a tool, schema, permission, prompt, or model choice (see How VAIL ranks an agent's behavior risks: Impact, Trigger, and Fidelity risks and Test an agent across different models). Verify the fix locally with
vail-gradingand theagent-improvementskill or in a steering experiment, deploy the update to your probed copy, and let scheduled live probes run. The finding resolves automatically after 6 consecutive passing repetitions. -
Recount from run history when needed. Because findings are derived purely from stored probe runs, you can click Recount from run history on the Findings page (or run
vet rebuild-findingsfrom the CLI) to recompute every finding chronologically from scratch — useful for older runs recorded before Findings existed or after a change to verdict scoring.
Triaging Findings in LangSmith
For connected agents whose traces go to LangSmith (such as LangGraph deployments), click Send findings to LangSmith on the Findings page to sync each shown finding to a LangSmith annotation queue:
- One deterministic queue per finding. Each queue ID is derived from the agent and finding key, so sending again updates the existing queue instead of creating duplicates. Resolved findings keep their queue with
(resolved)appended to the name. - Failing traces queued automatically. Up to 15 failing traces from the finding's recent examples are added, skipping any traces already in the queue.
- Reviewer context beside every trace. The queue's rubric instructions include the failure rate, start date, tools used instead, what the probe checks, and review guidance. Each queued trace also receives a deduplicated
vail.findingcomment note describing what happened in that specific repetition, and each finding card links directly to its queue via Open in LangSmith.
This guide is also available as Markdown, for coding agents.