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.
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.
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.
$ 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.
untrustedWrong. Nobody stopped trusting the definition of total credits.
governedWrong. Rill is serving the wrong numbers.
staleWrong. 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
- LicenseOpen source, Apache-2.0. github.com/leebase/agent-bi
- Runs onRill v0.90.5, locally, over SQLite data. The demo above reproduces from a fresh clone, and the walk-through takes about three minutes.
- Verified byReal runtime checks, plus independent adversarial review of every trust claim before it shipped.
- SnowflakeDefinitions are stored in Snowflake semantic-view YAML. Carrying governance into the warehouse itself is the natural next step, built when a client needs it.