Agent BI · open source · working today

The trust layer for agent-built analytics

Agents can now change models, metrics and dashboards faster than anyone can review them. Agent BI tells you which business definitions deserve trust, and whether the analytics runtime actually served them correctly the last time anyone checked.

Two questions that usually get blurred

Most AI analytics tools collapse trust into one label: a green check, a confidence score, a "verified" badge. But there are two separate propositions, and either can fail while the other holds.

DEFINITION

Do we trust what this metric means?

An independent computation agrees with the definition, and a person has accepted the business meaning. An agent can propose a definition. It cannot accept one on anyone's behalf.

SERVING

When we last checked, did the runtime serve that meaning correctly?

Agent BI asks the real analytics runtime the verified questions and records exactly what came back: when, through which route, as which user, compared how.

What it looks like

Nine verified questions over a warehouse-cost model, running on a real Rill runtime. This is the actual sequence from the acceptance run, not a mock-up.

#What happensDefinitionServing
1
The calculations are independently verifiedHuman-written SQL over the raw data agrees with every definition.
Definition9 verified · 0 governedNo person has accepted the meaning yet.
Servingno check recorded
2
A person accepts the business definitionsRecorded under their own name.
Definition9 governed
Servingno check recordedAccepting a meaning proves nothing about what the dashboard shows.
3
Agent BI asks Rill the nine questionsThrough Rill's Metrics SQL route.
Definition9 governed
Serving9 of 9 matchedEach returned its known answer.
4
Someone edits Rill's metric behind Agent BI's backA person or an agent changes the analytics implementation directly.
Definition9 governedThe business meaning didn't change.
Servinglast check: 9 of 9, 1 min agoAgent BI claims nothing it hasn't observed since.
5
Agent BI asks Rill againThe same nine questions, the same route.
Definition9 governed
Serving3 of 9 differFINANCE_REPORTING_WH 2739 → 3012.9
$ agent-bi status --model idle_warehouse_waste
Definition: 9 verified queries: 9 governed, 0 verified, 0 stale
Serving:    During 2026-10-17 19:08:59–19:09:00 UTC, through Rill Metrics SQL (CLI), as the local default user,
            3 of 9 verified queries returned results that differ from their known answers under agent-bi-known-answer/1.
            credits_by_warehouse: row 1: expected ['FINANCE_REPORTING_WH', 2739.0], got ['FINANCE_REPORTING_WH', 3012.9]
            Not covered: other read paths and caches, other users, rendering, any time outside the check.
A single AI trust score has to lie in that last row.
untrusted

Wrong. Nobody stopped trusting the definition of total credits.

governed

Wrong. Rill is serving the wrong numbers.

stale

Wrong. Neither the definition nor the evidence for it changed.

Two separate statements tell the truth. And the governed definition is exactly what gives Agent BI an independent basis for saying the runtime is wrong. It doesn't need to know who made the change, intercept the write, or catalogue every input to the runtime. At the next check it asks whether Rill still returns what the governed definition says it should.

Built on Rill, not instead of it

Agent BI deliberately doesn't rebuild the analytics stack. When an operator's Rill model joins several tables, Agent BI binds its evidence to that model and notices when the model changes.

Rill owns

  • Models and joins, written by the operator
  • Metrics views and Metrics SQL
  • Dashboards and the analytics runtime

Agent BI owns

  • Human acceptance of business definitions
  • Independent verification against known answers
  • Staleness when a definition or an upstream model changes
  • Deterministic resolution of questions; the CLI calls no language model
  • Serving checks: dated receipts of what the runtime returned

Where it stands