From Manual Workflows to AI-Driven Self-Healing Distributed Systems
From Manual Workflows to AI-Driven Self-Healing Distributed Systems

AI-generated summary, reviewed by editors
An engineer who spent 14 years running production systems on why the hardest part of automating incident response was not the AI, and why most teams are stuck at the wrong stage
Every on-call engineer knows the first hour of an incident. An alert fires in the middle of the night. Before anyone can fix anything, they have to figure out what is actually happening: open the dashboards, find the service that is misbehaving, check what it depends on and what depends on it, switch over to the logs, hunt for the errors that line up in time, and slowly assemble a theory of the case in their head.
Thirty to sixty minutes can disappear into that ritual before a single corrective action is taken. It produces no fix, no customer value, and nothing anyone can reuse. It is pure overhead, and it happens every time.
Bharadwaj Kasinadhuni set out to delete that hour. Over 14 years operating production distributed systems, he moved from building services to designing the systems that watch and repair them, and his central piece of work is the transition of a Fortune 500 company's incident response from a fully manual workflow to an AI-driven diagnosis pipeline. He is careful about what that claim means. "This was not a proof of concept or a research project," he says. It is a production system that on-call engineers depend on daily.
The system, which he calls ARGUS, covers the first two stages of what a fully self-healing pipeline would eventually do: automated detection and automated diagnosis. Detection watches each service against an adaptive rolling baseline and uses statistical analysis to flag genuine anomalies. Diagnosis then does the part that used to eat the hour. It correlates the anomalous metrics with the log evidence from the incident window and produces a structured explanation of the likely root cause, complete with the specific numbers behind it.
What it deliberately does not do, yet, is fix things on its own. That restraint is the point. "You should not automate fixes until you have demonstrated trustworthy diagnosis," Kasinadhuni says, and he has a framework for why. In his telling, self-healing is not a switch a system either has or lacks. It is a spectrum.
Level one is automated detection, where the system knows something is wrong. Level two is automated diagnosis, where it knows why. Level three is automated remediation for known problems. Level four is adaptive remediation, where the system reasons about failures it has never seen. "Most organizations are stuck between level one and level two," he says, which is exactly the gap he chose to cross, because diagnosis is where engineers lose the most time and where AI has the most to offer.
Before building any of it, he did something unglamorous. He wrote down the existing manual workflow in full: the exact steps an engineer followed, the tools they opened, how long each phase took, and how it failed. That baseline became both the motivation for the project and the yardstick it was measured against. Against it, the diagnosis phase went from thirty to sixty minutes of manual correlation to a structured result delivered within minutes. Context assembly, the ritual of stitching together metrics, logs, and a hypothesis by hand, stopped being a manual activity at all.
The harder problem was not technical. It was trust, and it had been actively destroyed before he arrived. The old threshold-based alerts fired constantly for things that were not incidents. A CPU threshold tripped every day during batch processing. An error-rate threshold tripped during every deployment. Engineers learned to ignore the alerts, which meant they also ignored the real ones until customers noticed first.
"Better detection is more important than better AI," Kasinadhuni says, and he means it as a correction to where the industry spends its attention. "If your detection layer fires 200 false-positive alerts per day, no amount of LLM sophistication will save you." Fix the signal first, he argues, then put diagnosis on top of a clean signal. Teams that skip that order and layer a language model over noisy alerts will wonder why nobody trusts the output.
Rebuilding that trust took a specific tactic. He ran ARGUS in shadow mode for several weeks, quietly producing its diagnoses alongside the existing alerts without anyone being asked to rely on it. Engineers could watch it call real incidents correctly while staying silent on the daily false alarms. They came to it on their own terms, as the accuracy proved itself in production.
The format mattered as much as the accuracy. Kasinadhuni found that experienced engineers would not trust a paragraph of generated prose explaining an outage. They would trust a cited chain of evidence: a named metric, a specific value, the statistical measure of how far it had drifted, the exact log line. That structure let them verify the machine's reasoning in seconds rather than take it on faith, which is what finally moved their attention from the old alerts to the new channel.
Kasinadhuni has written a technical paper documenting the whole transformation, prepared for submission to IEEE Transactions on Network and Service Management, and he frames its value plainly: a production case study in a field he says is dominated by simulation. The remaining stage, automated remediation, is the planned next step, and he is in no hurry to reach it before the diagnosis underneath has earned the right. The order, in his work, is the whole argument. Detect cleanly. Diagnose credibly. Only then let the system act.


Click it and Unblock the Notifications
