Kkarthik.dev
All posts

11 November 2026

My software crashed at 2:03 AM.
By 2:03 AM it had fixed itself. 🛡️

No pager. No engineer woken up. No manual debugging.

Most monitoring tools stop at “Something broke.” 🔔
Someone still has to read the logs, find the cause and fix it by hand.

So I built AegisHeal, an agentic AI framework that closes the loop:
1️⃣ Monitor: health, latency, CPU and memory, live every 2 seconds
2️⃣ Detect: crashes, memory leaks, CPU spikes, bad deployments, lost databases
3️⃣ Collect: logs, metrics and deployment history
4️⃣ Analyse: the AI agent finds the root cause, with evidence and a confidence score
5️⃣ Decide: picks the safest fix from a predefined playbook
6️⃣ Recover: restarts, rolls back, clears cache, reconnects or retries
7️⃣ Verify: it only counts as fixed after repeated healthy checks

In the demo 👇 I break three services at the same time:
💥 a crash
💧 a memory leak
🚫 a faulty release

Three different root causes, three different fixes, each verified healthy within seconds.

But autonomy without control is dangerous. So the agent has guardrails:
✅ Only whitelisted actions, never arbitrary commands
✅ Human approval when confidence is low
✅ Cooldowns, circuit breakers and blast-radius limits
✅ A full audit trail of every decision

And it learns. Every outcome re-ranks its playbooks, so the best fix rises to the top.

🔧 React · Node.js · Express · Server-Sent Events · optional Claude AI analysis
🧪 143 automated tests, including real end-to-end “break it and heal it” tests
📦 fully open source

The future of reliability isn’t more alerts.

It’s software that heals itself.
💬 Would you trust an AI agent to fix production on its own, or only with a human approving every action? Tell me in the comments 👇

🔗 Source code in the first comment.

#AgenticAI #DevOps #SRE #AIOps #OpenSource OpenAI Anthropic GitHub Apple

Discuss this on LinkedIn