The problem
A wrong figure reads exactly like a right one
The query ran, rows came back, and the agent wrote a confident sentence. If the revenue total in that sentence isn't the sum of the returned rows, or a rate doesn't match its own inputs, nothing in your logs says so. The first sign is a number someone repeats in a meeting.
The question and the query drift apart
A user asks about last quarter and the query covers the last 90 days. A user asks for the top 5 accounts and the list doesn't match the rows the query returned. Currencies or units get mixed in one total. Each answer looks reasonable on its own.
"No data" is an answer too, and it can be wrong
An agent that says there's no data when the query returned rows sends people to the wrong conclusion just as surely as a wrong number. So does calling stale data up to date. Neither raises an error, so neither shows up on an error-rate dashboard.
How Zespan helps
Every answer is traced with the query and the rows behind it
The user's question, the generated query, the tool result and the final answer sit in one trace. When an answer is wrong you can see the exact step where the figure stopped matching the data, not just the final reply.
The data analysis pack checks the answer against the query
Zespan's data analysis checks compare the period in the user's request with the query's date window, a "top N" claim with the rows returned, an "up to date" claim with the result's as-of date, and a stated rate with the value recomputed from the returned figures. These checks read stored spans and call no model. They are in preview today: they record findings, and stay out of Issues until each is released.
Confirm your query tool so a finding can be proven
Tell Zespan which tool runs your data queries, and where the as-of date or ratio inputs live in its result. With the role and fields confirmed, a check can say a finding was recomputed from the stored spans, not just that it's likely. A check that lacks the number it needs says it can't tell, never a pass.
Repeats group into one issue with a cause and a fix
Findings that say the same thing fold into one row, and a proven finding from a pack that is on becomes one issue: forty answers that summed the wrong rows are one issue, not forty alerts. Each issue has an occurrence count, a sample trace, the cause in plain words and what to do next, so the team fixing the prompt or the query tool starts from the pattern instead of a single complaint.
Gate changes on the numbers, not just on tone
Before a prompt or model change ships, run it against a dataset of real questions. Where the gate is switched on for your deployment, a gate rule can require that an output field equals a value or that an output number is within a tolerance, so a change that moves a reported figure is caught before users see it.
Start free — 50K traces/month, no card needed
See every agent decision, tool call, and handoff in production. Setup takes a few minutes.
Start free →


