Δ

KPI Drift RCA Agent

Deterministic Multi-Agent Root Cause System
Zero Hallucinations Verified (100% Pandas Math)
System Architecture & Interactive Demo

Automated Root Cause Analysis with Zero Math Hallucinations

Slicing high-dimensional data cubes by hand takes hours, while LLMs alone hallucinate arithmetic. Our multi-agent system pairs exact deterministic calculations with diagnostic reasoning and automated incident dispatch.

🧩 How the Multi-Agent System Synchronizes End-to-End

Three specialized agents collaborate in an automated, linear pipeline to progress from raw data to assigned incident response tickets:

Step 1 • Calculation Core
Deterministic Math Harness
Job: Ingests dimensional CSV cubes. Groups by dimensions and calculates exact volume delta, percentage contributions, and dual-metric conversion rate drift.
📦 Outputs: Immutable Math Facts Payload
➔ Sync Facts
Step 2 • Qualitative Reasoning
Gemini Diagnostic Engine
Job: Never touches arithmetic. Interprets verified math facts to isolate the culprit anomaly cohort, forms 3 realistic technical hypotheses, and drafts SQL triage queries.
🧠 Outputs: Culprit Anomaly + Hypotheses
➔ Dispatch Plan
Step 3 • Incident Ops
Stakeholder Action Dispatcher
Job: Maps diagnosis into actionable, role-assigned remediation tickets with P0/P1/P2 priorities and strict SLAs for DevOps, Paid Media, and Regional Leads.
🚨 Outputs: Assigned Incident Tickets & SLAs

📊 Interactive RCA Demo & Visual Waterfall

Select any simulated enterprise anomaly below to see how the multi-agent system decomposes drift and routes tickets:

Baseline Metric
2,350
Current Metric
1,633
Absolute Delta
-717
Percentage Drift
-30.5%

Metric Variance Waterfall Breakdown (Baseline ➔ Cohort Drags ➔ Current)

Period Totals
Negative Drag
Positive Offset
German Mobile Paid conversion rate collapsed from 5.00% to 0.37% (-4.63 pp drop), isolating conversion friction while traffic volumes remained stable.
🧠 Agent 2: Gemini Diagnostic Reasoning

Conversion volume suffered a localized -30.5% collapse week-over-week. Mathematical decomposition demonstrates that 97.6% of this total drag originated specifically within Germany across Mobile and Desktop Paid traffic.

Targeted Technical Hypotheses:
Ready-to-Run Triage SQL Query:
-- Ready to execute SQL query
🚨 Agent 3: Stakeholder Incident Action Dispatch

Automated operational tickets with assigned roles, SLAs, and clear resolution actions:

Run this exact scenario via CLI: python main.py --generate-sample payment_gateway_failure --dispatch
Exit Code 0 • Verified Math • Zero Regressions