Find the deviation
Monitor governed metrics rather than asking a model to browse raw tables.
Agentic analytics · public reference build
A governed revenue-investigation system that validates data before explanation, uses controlled analytical tools, links every conclusion to evidence, and keeps consequential actions behind human approval.
Public mode: verified replay. No public LLM, database or paid API call is made.
01 · THE CASE
The demo business is Northstar Coffee Club, a synthetic subscription retailer. The system separates four questions that are often blurred together: is the data trustworthy, is the signal unusual, what caused it, and what action is safe to take?
Monitor governed metrics rather than asking a model to browse raw tables.
Freshness and completeness gates can stop the investigation before a false narrative forms.
Customer, pricing and campaign changes require explicit approval.
An action is not a success until the target outcome is checked.
02 · INTERACTIVE VERIFIED REPLAY
Each scenario replays a captured reference run. The payment-failure case comes from the verified PostgreSQL/dbt execution; the other fixtures exercise the same decision and guardrail patterns without exposing a public backend.
Ready. No conclusion is displayed before the evidence path runs.
Governed tool trace
Select a scenario and run the investigation.
Evidence store
Human approval gate
The action boundary remains closed until the investigation completes.
Outcome verification
03 · REFERENCE IMPLEMENTATION
The browser layer is deliberately zero-cost and abuse-resistant. The source repository contains the reproducible warehouse, dbt project, typed investigation tools, audit/evidence store, deterministic orchestration, tests and local API.
Public website
GitHub repository
Design boundary
BUILT BY SERGEY KAMINOV
MarginGuard connects my background in payments, fraud, customer behaviour and commercial analytics with a production-minded approach to agentic systems: governed tools, explicit failure modes, human judgement and outcome verification.