<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: kalp patel</title>
    <description>The latest articles on DEV Community by kalp patel (@0xkalp).</description>
    <link>https://dev.to/0xkalp</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4189929%2F4dd50ec5-02e7-4d20-acf1-39a700d4f298.jpg</url>
      <title>DEV Community: kalp patel</title>
      <link>https://dev.to/0xkalp</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/0xkalp"/>
    <language>en</language>
    <item>
      <title>How I Built an AI Incident Commander That Thinks in Graphs (and Solves 3 AM Outages in 90s)</title>
      <dc:creator>kalp patel</dc:creator>
      <pubDate>Sat, 17 Oct 2026 06:13:04 +0000</pubDate>
      <link>https://dev.to/0xkalp/how-i-built-an-ai-incident-commander-that-thinks-in-graphs-and-solves-3-am-outages-in-90s-2lc9</link>
      <guid>https://dev.to/0xkalp/how-i-built-an-ai-incident-commander-that-thinks-in-graphs-and-solves-3-am-outages-in-90s-2lc9</guid>
      <description>&lt;p&gt;&lt;em&gt;Built for the **Graph Hacks: Context for AI Agents&lt;/em&gt;* Hackathon (WeMakeDevs × FalkorDB) · Track 01 &amp;amp; Track 02*&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/Ntb5FxvD-8E" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;




&lt;p&gt;At 3 AM, three services break at once: &lt;code&gt;checkout-api&lt;/code&gt;, &lt;code&gt;cart-service&lt;/code&gt;, and &lt;code&gt;orders-service&lt;/code&gt; all start timing out. The on-call engineer gets paged. They open five dashboards, grep through logs, and 45 minutes later—after digging through pull requests—they find it: someone reduced a connection pool size in a shared library that everything depends on.&lt;/p&gt;

&lt;p&gt;This is the problem &lt;strong&gt;SentinelGraph&lt;/strong&gt; solves. And it solves it in &lt;strong&gt;under 90 seconds&lt;/strong&gt;, using a graph.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why a Graph Database and Not a Vector Search?
&lt;/h2&gt;

&lt;p&gt;The first instinct when building an AI agent for incident response is to throw logs at a vector database and use semantic search to find "similar past incidents." It feels right. But it misses the most important question an engineer actually asks:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"What do all three broken services have in common?"&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This isn't a similarity question. It's a &lt;strong&gt;path question&lt;/strong&gt;. You need to find the shared downstream dependency—the node that lies on the path from every alerting service to something broken. That's a multi-hop graph traversal, not a cosine similarity.&lt;/p&gt;

&lt;p&gt;FalkorDB makes this a single Cypher query:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
cypher
MATCH (s:Service)-[:DEPENDS_ON*0..5]-&amp;gt;(candidate:Service)
WHERE s.name IN $services AND candidate.status IN ['down', 'degraded']
WITH candidate, count(DISTINCT s) AS covering
WHERE covering = size($services)
RETURN candidate.name ORDER BY covering DESC
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>database</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
