Problem
In a company with mixed billing structures, almost a dozen paid products and thousands of features, a few analysts answer all data questions and requests wait in a queue. Pointing agents straight at the warehouse removes the queue but creates "rogue agents": they answer confidently, and two people asking the same question get two different numbers. Even small differences can derail a decision meeting. Early agents also knew the schema but almost nothing about the business.
Example from the article: a person in Operations asks how adoption of a new feature has trended this year. A year ago that question waited for an analyst.
Solution in brief
Klaviyo routes every agent through one governed layer, KBI. It holds curated guides and a caveat registry, checks agent SQL before it reaches the warehouse, and answers in levels of certainty: governed metrics first, then trusted tables, then an opt-in ungoverned zone. A hosted gateway serves it inside the clients people already use.
Questions this case answers
- How to scale self-service data access through agents while every user still gets one agreed definition of each metric
- How to encode scattered institutional data knowledge so an agent applies it by default
- How to let hundreds of non-analysts query the warehouse through agents without getting different numbers for the same question?
- How to give an analytics agent business context that its schema access does not provide?
Tools and methods
- Knowledge layer — markdown guides plus a caveat registry of data "gotchas" injected by code rules
- dbt Semantic Layer — over a hundred governed metrics, the top level of the answer hierarchy
- Walled Garden — about 90 curated tables the agent may query by default
- SQL guardrails — checks on agent SQL before it reaches the warehouse
- Hosted MCP gateway ("KBI Concierge") — one agent for Claude desktop, Slack, web, Claude Code, Cursor and Codex
Google or a one-time email code. No password.