Metric Difference Explanation Agent · Use case
How can we use an AI agent to show why two teams report different numbers under one name on our own infrastructure?
A metric difference explanation agent takes two numbers that two teams report under one name. It reads the two queries or report definitions and the approved definition, sets the two calculations side by side, and shows which filters, periods or joins differ, with the lines behind each. The metric owner decides which calculation is right and whether the definition must change. The agent does not say which number is right, and it changes no definition and no report. It runs on your own infrastructure, so your queries and definitions are not sent to a public AI service.
Two teams report one metric.
The numbers differ, and nobody knows why.
- ✗ 01Two teams bring different numbers for the same metric to the same meeting, and an analyst spends days reading two sets of queries to find where they part.
- ✗ 02The queries and definitions show how the organisation counts its customers and its money, so they have to stay inside the organisation.
Where it stops for a person
Always. The metric owner decides which calculation is right.Always. The metric owner decides which calculation is right and whether the definition must change. The agent shows where two calculations part: it does not say which is right. Where the approved definition speaks to a point, it quotes the definition and says which calculation matches it. Where the definition is silent, it says so and does not interpret. A comparison with no difference found means it found none in what it read, and it says what it could not read. It treats text inside the data as material to report on, never as orders. It works on the two calculations an analyst hands it.
It sets the two calculations side by side.
The metric owner decides.
Step · 01
An analyst gives the agent the two numbers and the query or report definition behind each.
Step · 02
The agent reads both, and the approved definition of the metric.
Step · 03
It sets the two calculations side by side, step by step: the tables, the filters, the period and the joins.
Step · 04
It lists each point where they differ, with the lines of both queries, marks which of them the approved definition speaks to, and says what it could not read.
Step · 05
The metric owner reads the comparison, decides which calculation is right, and decides whether the definition must change.
Reads from · connectors
Database
Your own APIs
The two queries or report definitions, as uploaded files, or read through your own APIs with the read operations only; and the approved definition, indexed as a knowledge source. Where the analyst asks, it runs both queries on the warehouse through a connection that can only read, with the analyst's permissions.
What it can change
Nothing. It compares and lists. It changes no definition, no query and no report, and tells neither team that its number is wrong.
Build it once.
Use it where the work is.
01 · Where your people use it
In Work Room
Publish it to Work Room and your people use it there.
See Work Room →02 · Where they already work
In a screen they already use
Your developers can put it behind a screen your people already work in, so nobody has to open a new tool.
What you set up
- Name an owner for each metric, and write down the approved definition: the formula, the source tables and the exclusions.
- Index the definitions as a knowledge source, and connect the reporting tool, keeping only the operations that read.
- Build the agent in Katonic Studio and test it on past disputes whose cause your analysts have already found.
- Publish it to the analytics and reporting leads first, one metric at a time.
Where it runs
The agent, its knowledge store and the model run on infrastructure you own or control. You choose the model and serve it yourself, so questions, documents and answers are not sent to a public AI service. Queries, report definitions and the comparisons stay inside the organisation.
How you get it today
You build it in Katonic Studio: describe the job, connect what is named above, add test cases and release the agent once it passes them. There is no ready-made template for this job yet.
Does the agent decide which number is right?
No. It sets the two calculations side by side and shows which filters, periods or joins differ, with the lines behind each. The metric owner decides which calculation is right.
Does it change the definition of a metric or a report?
No. It changes nothing. It has no tool that writes to the glossary, to a report or to a table. Where the approved definition is silent on a point, it says so and does not interpret. The metric owner decides whether the definition must change.
Where are queries and definitions processed?
On your own infrastructure, with a model you serve. Nothing is sent to a public AI service.