DEV Community

Cover image for ๐ŸŒ‹ Hypocenter: The On-Call Agent That Wonโ€™t Blame Your Deploy Without Proof
Raghav Gupta
Raghav Gupta

Posted on

๐ŸŒ‹ Hypocenter: The On-Call Agent That Wonโ€™t Blame Your Deploy Without Proof

**
๐ŸŒ‹ Hypocenter: The On-Call Agent That Wonโ€™t Blame Your Deploy Without Proof
**No path, no blame. How a graph made my AI agent honest ๐Ÿ”
๐Ÿšจ 13:40. Production is on fire.

30% of mobile logins are failing. Seven services are screaming red. ๐Ÿ”ด Three deploys, a config change and a feature flag all landed in the last hour.

Which one broke production? ๐Ÿค”

Most incident tools just show you that things are burning. Some take a guess at why, and the guess is almost always โ€œthe latest deploy.โ€ On the faults I planted for testing, that guess is right only 50% of the time. ๐Ÿ˜ฌ The other half? You roll back the wrong thing while the real cause keeps burning. ๐Ÿ”ฅ

๐Ÿ’ก The Big Idea

I built Hypocenter for Graph Hacks (WeMakeDevs ร— FalkorDB) around one unbreakable rule:

โšก No path, no blame. A change can be a suspect only if the graph connects it to the failing service, and it leads only if the alerts climb that path in order.

๐ŸŒ Fun fact: an earthquakeโ€™s epicenter is where you feel it on the surface. The hypocenter is where it actually started, deep underneath. Thatโ€™s exactly what this agent hunts for. ๐ŸŽฏ

๐Ÿง  How It Works

Hypocenter keeps a FalkorDB graph for every company ๐Ÿ•ธ๏ธ: services and who calls whom, owners and the on-call rota, every deploy, config change and flag, every alert, and every incident already solved.

When an incident opens, four agents take it in turn: ๐Ÿ•ต๏ธ Triage โ†’ ๐Ÿ”ฌ Investigator โ†’ ๐Ÿคจ Skeptic โ†’ ๐Ÿ› ๏ธ Responder.

The twist? They never talk to each other directly. Each writes its handoff into the graph, and the next one reads it back. ๐Ÿ“

Hereโ€™s the login meltdown, solved:

๐Ÿš€ A deploy hit auth at 13:34
๐Ÿ”ด auth started alerting at 13:38
๐Ÿ“ฑ The mobile backend above it at 13:40: the alerts climbed the path in order โœ…
๐Ÿšฉ A feature flag on users sits on the same path, but users never alerted. Rejected. โŒ
๐Ÿงฉ A graph algorithm splits the rest of the alerts into three separate problems and links the other two to the incidents they belong to
๐Ÿ›ก๏ธ The Evidence Gate: Proven, or It Tells You Why Not

Before any verdict reaches you, it passes 8 named checks, each shown with the exact query that decided it:

๐Ÿ“ Is the suspect actually in the graph?
๐Ÿ›ค๏ธ Is it on a call path?
โฑ๏ธ Did it fail first?
๐Ÿ“ˆ Do the alerts climb in order?
๐Ÿงพ Does it explain every alert?
๐ŸฅŠ Does every rival fail a check?
โœ… Is every claim backed by the graph?
๐Ÿ‘€ Did anything fail off the graph?

All eight pass โ†’ CONFIRMED ๐Ÿ†. If the graph canโ€™t connect the failure, it says so instead of guessing. Because no path is not proof of safety. ๐Ÿ™…

๐Ÿงช It Proves the Fix Before You Click Approve

The agent can only propose. A human always approves. ๐Ÿ‘ค But first, Hypocenter applies the fix to a copy of the graph and tells you exactly which alerts it will clear and which it will leave. ๐Ÿ”ฎ

After approval, it checks that the alerts really cleared. If they didnโ€™t? The incident reopens on its own. ๐Ÿ”

๐Ÿ“Š But Does It Actually Work?

I tested it on all 360 real failures in the public RCAEval benchmark, against the benchmarkโ€™s own baseline code:

๐ŸŽฏ 81%: right service first
๐Ÿ”’ 71% on 90 failures I kept locked away while building it. A published method, NSigma, scores 76% there, and I report that loss instead of hiding it. ๐Ÿ’ฏ
๐Ÿชค 94.5โ€“96.8% on planted faults packed with decoys, vs 50% for โ€œblame the latest deployโ€

And to prove the graph does the real work: a test for each of the 8 FalkorDB algorithms changes what that algorithm reads and checks that the decision flips. ๐Ÿ’ช Pull FalkorDB out entirely? Thereโ€™s no answer at all.

๐Ÿข It Knows Your Company Too
๐Ÿ’ฌ Ask โ€œwhy was this change made?โ€ and the answer comes straight from the teamโ€™s chat
๐Ÿง  Ask โ€œwho owns it?โ€ and it remembers what โ€œitโ€ meant
๐Ÿšฆ Before a deploy, it says ship, review or hold, with every reason
๐Ÿš€ Try It Now

๐ŸŒ Live demo: 16-4-94-72.sslip.io (no sign-in, no key)

๐Ÿ’ป Code: github.com/rago12bit/grapho1, running with one Docker command

โญ If your incident tool has ever confidently blamed the wrong deploy, give it a path to walk.

GraphHacks #FalkorDB #WeMakeDevs #AI #DevOps ๐Ÿ”ฅ

Top comments (0)