<?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: bilal-feroz</title>
    <description>The latest articles on DEV Community by bilal-feroz (@bilalferoz).</description>
    <link>https://dev.to/bilalferoz</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%2F4035809%2F757f6a51-dc3b-4e0a-bae3-f91634070b24.jpg</url>
      <title>DEV Community: bilal-feroz</title>
      <link>https://dev.to/bilalferoz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bilalferoz"/>
    <language>en</language>
    <item>
      <title>One Vendor Clause Changed. FalkorDB Found Everything It Broke.</title>
      <dc:creator>bilal-feroz</dc:creator>
      <pubDate>Sun, 18 Oct 2026 17:13:03 +0000</pubDate>
      <link>https://dev.to/bilalferoz/one-vendor-clause-changed-falkordb-found-everything-it-broke-4b68</link>
      <guid>https://dev.to/bilalferoz/one-vendor-clause-changed-falkordb-found-everything-it-broke-4b68</guid>
      <description>&lt;p&gt;A vendor changes one sentence in its data processing agreement.&lt;/p&gt;

&lt;p&gt;Legal can find the sentence. Engineering knows which internal systems call that vendor. Sales knows which customers use which products. Compliance knows which contracts say "your data stays in the EU".&lt;/p&gt;

&lt;p&gt;Nobody has the whole chain. So the real question, &lt;em&gt;"which of our customers are now in breach?"&lt;/em&gt;, usually gets answered weeks later, in a spreadsheet, by whoever drew the short straw.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;ClauseRipple&lt;/strong&gt; for the Graph Hacks hackathon (FalkorDB x WeMakeDevs) to answer that question in seconds, show the proof, and hand the problem to the person who owns it.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/bilal-feroz/ClauseRipple" rel="noopener noreferrer"&gt;github.com/bilal-feroz/ClauseRipple&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9pnp8wtzt8wgeskyfnh7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9pnp8wtzt8wgeskyfnh7.jpg" alt="ClauseRipple after the change: two customers in breach, two safe, cases assigned to owners" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The main screen after the agent finishes. Left: what changed. Middle: how it spread. Right: who is affected and who needs to act.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  The one sentence change
&lt;/h2&gt;

&lt;p&gt;The demo world is a fictional company called AtlasAI. It sells AI products to a bank, an insurer, a retailer and a government agency. One of its suppliers is a fictional model provider called &lt;strong&gt;ModelCloud&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;ModelCloud publishes version 2 of its Data Processing Addendum. One sentence in section 4.1 changes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight diff"&gt;&lt;code&gt;&lt;span class="gd"&gt;- ModelCloud may process Covered Customer Data in the following regions: the United Arab Emirates (UAE) and the European Union (EU).
&lt;/span&gt;&lt;span class="gi"&gt;+ ModelCloud may process Covered Customer Data in the following regions: the United Arab Emirates (UAE), the European Union (EU) and the United States (US).
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. One new region: the United States.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffil3zrwvmmzm2dceecmk.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffil3zrwvmmzm2dceecmk.jpg" alt="The change panel: DPA v1 to v2, with US as the new region" width="510" height="866"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Before you apply the change, ClauseRipple shows it in plain words, plus the exact sentence that changed.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Whether that matters depends on things that are written down in completely different places:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which AtlasAI systems send data to ModelCloud? (architecture docs)&lt;/li&gt;
&lt;li&gt;Which products run on those systems? (product catalog)&lt;/li&gt;
&lt;li&gt;Which customers use those products? (contracts and CRM)&lt;/li&gt;
&lt;li&gt;Where does each customer's contract allow its data to go? (a numbered clause in each MSA)&lt;/li&gt;
&lt;li&gt;Who owns the affected system? (the team directory)&lt;/li&gt;
&lt;li&gt;Did we decide anything about this before? (old decision records)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Why normal RAG is not enough here
&lt;/h2&gt;

&lt;p&gt;Vector search is great at one thing in this story: finding the changed clause. Ask "what changed in ModelCloud's DPA?" and the right chunk comes back.&lt;/p&gt;

&lt;p&gt;But "which customers are affected?" is not written in any document. The answer only exists in the &lt;strong&gt;connections&lt;/strong&gt; between five of them. For Falcon Bank, two separate chains have to meet:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Does Falcon Bank depend on ModelCloud?
Falcon Bank -USES-&amp;gt; DocSummarizer -POWERED_BY-&amp;gt; Document Processing API -DEPENDS_ON-&amp;gt; ModelCloud

Where may Falcon Bank's data go?
Falcon Bank -BOUND_BY-&amp;gt; MSA -HAS_CLAUSE-&amp;gt; Clause 7.2 -IMPOSES-&amp;gt; Data residency -ALLOWS-&amp;gt; UAE, EU

What changed?
ModelCloud -PROCESSES_IN-&amp;gt; US
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first chain says "yes, Falcon Bank's data reaches ModelCloud". The second says "Falcon Bank only allows UAE and EU". Put them next to the new fact and you get a breach.&lt;/p&gt;

&lt;p&gt;And the answer is conditional. The exact same change is fine for Nova Retail (its contract allows the US) and can't reach GulfGov at all (none of its products touch ModelCloud). A system that just flags "everyone who mentions ModelCloud" is wrong in both directions.&lt;/p&gt;

&lt;p&gt;I measured this. More on the numbers below, but the short version: with plain vector retrieval, the chunks needed to answer the question were all present for only 2 of 12 questions at k=5. Following the graph, 11 of 12.&lt;/p&gt;

&lt;h2&gt;
  
  
  The graph
&lt;/h2&gt;

&lt;p&gt;ClauseRipple keeps the whole company in one FalkorDB graph: 20 node labels, built from 20 synthetic source documents. At baseline it's 144 nodes and 173 relationships. Here is the part that matters for this story:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Customer -USES-&amp;gt; Product
Product -POWERED_BY-&amp;gt; System
System -DEPENDS_ON-&amp;gt; Vendor
Vendor -PROCESSES_IN-&amp;gt; Region
Customer -BOUND_BY-&amp;gt; Contract
Contract -HAS_CLAUSE-&amp;gt; Clause
Clause -IMPOSES-&amp;gt; Obligation
Obligation -ALLOWS-&amp;gt; Region
System -OWNED_BY-&amp;gt; Team
Person -LEADS-&amp;gt; Team
Decision -APPLIES_TO-&amp;gt; Customer
ImpactCase -AFFECTS-&amp;gt; Customer
ImpactCase -ASSIGNED_TO-&amp;gt; Person
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two chains, one meeting point: the region. Everything else in the product exists to walk these chains, explain them, and act on them.&lt;/p&gt;

&lt;p&gt;The graph also stores the agent's own memory: &lt;code&gt;ChangeEvent&lt;/code&gt;, &lt;code&gt;ImpactCase&lt;/code&gt;, &lt;code&gt;Action&lt;/code&gt;, &lt;code&gt;AgentRun&lt;/code&gt; and &lt;code&gt;ToolCall&lt;/code&gt; are regular nodes. So "which agent runs touched Falcon Bank?" is just another traversal.&lt;/p&gt;

&lt;h2&gt;
  
  
  What ClauseRipple does when the clause changes
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq8wnwie75tq5dohpozni.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq8wnwie75tq5dohpozni.gif" alt="Applying the new contract: the ripple spreads from ModelCloud through systems and products to customers" width="600" height="338"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Clicking "Apply the new contract". The agent's steps play out live; Falcon Bank and Acme Insurance turn red.&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Update the graph, not rebuild it.&lt;/strong&gt; ClauseRipple diffs DPA v1 against v2 and writes exactly one new fact: &lt;code&gt;ModelCloud -PROCESSES_IN-&amp;gt; US&lt;/code&gt;, recorded as &lt;code&gt;ChangeEvent CHG-2026-001&lt;/code&gt;. The incremental update takes about 180 ms locally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wake the agent.&lt;/strong&gt; The Change Impact Agent calls graph tools over MCP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trace the blast radius.&lt;/strong&gt; Systems that depend on ModelCloud, products on those systems, customers using those products.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check every customer with a rule.&lt;/strong&gt; More on this below. It's the most important design choice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recall company memory.&lt;/strong&gt; It finds decision &lt;strong&gt;CR-087&lt;/strong&gt;: &lt;em&gt;"Falcon Bank workloads must remain pinned to UAE/EU processing whenever ModelCloud's regional scope changes."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Find the owner.&lt;/strong&gt; &lt;code&gt;Document Processing API -OWNED_BY-&amp;gt; Platform Engineering &amp;lt;-LEADS- Sarah Malik&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Act.&lt;/strong&gt; It writes impact cases &lt;strong&gt;CR-104&lt;/strong&gt; (Falcon Bank) and &lt;strong&gt;CR-105&lt;/strong&gt; (Acme Insurance) into FalkorDB, with next steps, and assigns them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explain.&lt;/strong&gt; Every step links to the source document and the exact sentence it came from.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The result:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Customer&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;th&gt;Why&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Falcon Bank&lt;/td&gt;
&lt;td&gt;Impacted, critical&lt;/td&gt;
&lt;td&gt;Reaches ModelCloud via DocSummarizer; contract allows UAE and EU only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Acme Insurance&lt;/td&gt;
&lt;td&gt;Impacted, critical&lt;/td&gt;
&lt;td&gt;Reaches ModelCloud via ClaimsCopilot; contract allows UAE and EU only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Nova Retail&lt;/td&gt;
&lt;td&gt;Not impacted&lt;/td&gt;
&lt;td&gt;Uses ModelCloud, but its contract allows the US&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GulfGov&lt;/td&gt;
&lt;td&gt;Not impacted&lt;/td&gt;
&lt;td&gt;No path to ModelCloud at all&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h2&gt;
  
  
  Why FalkorDB, specifically
&lt;/h2&gt;

&lt;p&gt;I want to be concrete here, because "we used a graph database" can mean anything.&lt;/p&gt;

&lt;p&gt;In ClauseRipple, FalkorDB is the only database. There is no Postgres next to it and no separate vector store. Every tool the agent calls is a Cypher query that runs against FalkorDB &lt;strong&gt;during&lt;/strong&gt; the agent run. Here is what that means in practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The blast radius is a live multi-hop traversal.&lt;/strong&gt; One variable length pattern (&lt;code&gt;DEPENDS_ON*1..4&lt;/code&gt;) finds every customer that reaches the vendor, however many internal systems are in between.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Not impacted" is proven, not assumed.&lt;/strong&gt; For GulfGov, a bounded &lt;code&gt;shortestPath&lt;/code&gt; from the customer to the vendor returns nothing. That null is the evidence.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ownership is a traversal.&lt;/strong&gt; Who to assign comes from &lt;code&gt;OWNED_BY&lt;/code&gt; and &lt;code&gt;LEADS&lt;/code&gt; edges, not from an LLM guessing a name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory is graph data.&lt;/strong&gt; Past decisions, new impact cases, human approvals and agent runs are nodes, linked to the customers and systems they're about. Restart everything and it's all still there.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evidence lives on the edges.&lt;/strong&gt; Every relationship extracted from a document stores the source document, version, line and the verbatim quote.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search is in the same place.&lt;/strong&gt; Document chunks are stored with embeddings in a FalkorDB vector index, plus full-text indexes, for the "Ask ClauseRipple" box.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The 3D view draws the live graph.&lt;/strong&gt; More on that in a minute.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you take FalkorDB out, ClauseRipple has nothing left to reason with. The UI literally says "FalkorDB unavailable. Agent reasoning paused." because there is no fallback.&lt;/p&gt;

&lt;p&gt;Speed was never a concern. On my laptop with FalkorDB in Docker, the core blast radius query has a median of &lt;strong&gt;0.86 ms&lt;/strong&gt; of FalkorDB execution time. A whole agent run (14 tool calls, 63 graph reads, 13 graph writes) spends about &lt;strong&gt;75 ms&lt;/strong&gt; inside FalkorDB.&lt;/p&gt;
&lt;h2&gt;
  
  
  The query at the center of it
&lt;/h2&gt;

&lt;p&gt;All the Cypher lives in plain &lt;code&gt;.cypher&lt;/code&gt; files in the repo, and the API loads them from there at runtime, so the documented queries are the queries that run. This is the core one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight cypher"&gt;&lt;code&gt;&lt;span class="c1"&gt;// docs/cypher/02_customer_blast_radius.cypher&lt;/span&gt;
&lt;span class="k"&gt;MATCH&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="py"&gt;v:&lt;/span&gt;&lt;span class="n"&gt;Vendor&lt;/span&gt; &lt;span class="ss"&gt;{&lt;/span&gt;&lt;span class="py"&gt;id:&lt;/span&gt; &lt;span class="n"&gt;$vendor_id&lt;/span&gt;&lt;span class="ss"&gt;})&lt;/span&gt;
&lt;span class="k"&gt;MATCH&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="py"&gt;c:&lt;/span&gt;&lt;span class="n"&gt;Customer&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="ss"&gt;[&lt;/span&gt;&lt;span class="nc"&gt;:USES&lt;/span&gt;&lt;span class="ss"&gt;]&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="py"&gt;p:&lt;/span&gt;&lt;span class="n"&gt;Product&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="ss"&gt;[&lt;/span&gt;&lt;span class="nc"&gt;:POWERED_BY&lt;/span&gt;&lt;span class="ss"&gt;]&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="py"&gt;s:&lt;/span&gt;&lt;span class="n"&gt;System&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="ss"&gt;[&lt;/span&gt;&lt;span class="nc"&gt;:DEPENDS_ON&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="o"&gt;..&lt;/span&gt;&lt;span class="m"&gt;4&lt;/span&gt;&lt;span class="ss"&gt;]&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;RETURN&lt;/span&gt; &lt;span class="n"&gt;c.id&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;customer_id&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt;
       &lt;span class="n"&gt;c.name&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;customer_name&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt;
       &lt;span class="n"&gt;p.id&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;product_id&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt;
       &lt;span class="n"&gt;p.name&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;product_name&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt;
       &lt;span class="n"&gt;s.id&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;system_id&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt;
       &lt;span class="n"&gt;s.name&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;system_name&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt;
       &lt;span class="nf"&gt;length&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;hops&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt;
       &lt;span class="ss"&gt;[&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="ow"&gt;IN&lt;/span&gt; &lt;span class="nf"&gt;nodes&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="ss"&gt;{&lt;/span&gt;&lt;span class="py"&gt;id:&lt;/span&gt; &lt;span class="n"&gt;n.id&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt; &lt;span class="py"&gt;name:&lt;/span&gt; &lt;span class="n"&gt;n.name&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt; &lt;span class="py"&gt;label:&lt;/span&gt; &lt;span class="nf"&gt;labels&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="ss"&gt;)[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="ss"&gt;]}]&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;path_nodes&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt;
       &lt;span class="ss"&gt;[&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="ow"&gt;IN&lt;/span&gt; &lt;span class="nf"&gt;relationships&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="ss"&gt;{&lt;/span&gt;&lt;span class="py"&gt;type:&lt;/span&gt; &lt;span class="nf"&gt;type&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="ss"&gt;),&lt;/span&gt; &lt;span class="py"&gt;src:&lt;/span&gt; &lt;span class="n"&gt;r.src&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt; &lt;span class="py"&gt;src_ver:&lt;/span&gt; &lt;span class="n"&gt;r.src_ver&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt; &lt;span class="py"&gt;quote:&lt;/span&gt; &lt;span class="n"&gt;r.quote&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt; &lt;span class="py"&gt;loc:&lt;/span&gt; &lt;span class="n"&gt;r.loc&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt; &lt;span class="py"&gt;line:&lt;/span&gt; &lt;span class="n"&gt;r.line&lt;/span&gt;&lt;span class="ss"&gt;}]&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;path_edges&lt;/span&gt;
&lt;span class="k"&gt;ORDER&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;customer_name&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt; &lt;span class="n"&gt;product_name&lt;/span&gt;&lt;span class="ss"&gt;,&lt;/span&gt; &lt;span class="n"&gt;system_name&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In plain English: start at the vendor, find every customer that uses a product, that runs on a system, that depends on the vendor through one to four hops. Return the whole path, its length and, for every edge on the way, the document, version, line and quote it came from.&lt;/p&gt;

&lt;p&gt;That last line is what makes the result explainable. The evidence comes out of the same query as the answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The agent: who decides what
&lt;/h2&gt;

&lt;p&gt;This is the part I'm happiest with. ClauseRipple has three layers and each one has one job:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The LLM (or planner)&lt;/strong&gt; decides which tool to call next and explains the result in words.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FalkorDB&lt;/strong&gt; stores the facts and walks the relationships.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plain code&lt;/strong&gt; decides compliance.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The compliance rule is deliberately boring:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;violating regions = vendor processing regions - customer allowed regions
affected          = dependency path exists AND violating regions is not empty
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For Falcon Bank: &lt;code&gt;{UAE, EU, US} - {UAE, EU} = {US}&lt;/code&gt;, and a dependency path exists, so it's affected. The LLM never gets asked "is this customer compliant?" It can explain the answer. It can't change it.&lt;/p&gt;

&lt;p&gt;The agent has 10 tools, served by an MCP server: &lt;code&gt;inspect_change&lt;/code&gt;, &lt;code&gt;trace_vendor_dependents&lt;/code&gt;, &lt;code&gt;find_impacted_customers&lt;/code&gt;, &lt;code&gt;get_customer_obligations&lt;/code&gt;, &lt;code&gt;evaluate_residency&lt;/code&gt;, &lt;code&gt;recall_related_decisions&lt;/code&gt;, &lt;code&gt;find_owner&lt;/code&gt;, &lt;code&gt;get_source_evidence&lt;/code&gt;, &lt;code&gt;create_impact_case&lt;/code&gt; and &lt;code&gt;assign_impact_case&lt;/code&gt;. The built-in agent calls them through an MCP client, and the same tools are exposed over HTTP at &lt;code&gt;/mcp&lt;/code&gt;, so any MCP client can use them.&lt;/p&gt;

&lt;p&gt;The two write tools are guarded. &lt;code&gt;create_impact_case&lt;/code&gt; re-runs the rule against the live graph and &lt;strong&gt;refuses&lt;/strong&gt; if there is no violation. There's a button in the UI to try it on Nova Retail; the graph says no. &lt;code&gt;assign_impact_case&lt;/code&gt; refuses anyone who isn't in the team that owns an affected system.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzt2io75mz9cpxts2tdrx.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzt2io75mz9cpxts2tdrx.jpg" alt="The agent's tool calls, each one a graph query" width="800" height="119"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Every step the agent took, with what it read from and wrote to the graph.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;One honest note about the "which model" question. The planner is pluggable: Claude, any OpenAI compatible API, or a local Ollama model. If no LLM is configured, a clearly labelled deterministic playbook calls the same tools in the same order. That's what runs in the demo by default, so the demo never depends on an API key or a rate limit.&lt;/p&gt;
&lt;h2&gt;
  
  
  RippleSpace: the change you can watch
&lt;/h2&gt;

&lt;p&gt;The 3D view, RippleSpace, is the part people remember. It's built with three.js, React Three Fiber and Drei, with a bloom pass for the glow.&lt;/p&gt;

&lt;p&gt;It's not a decorative animation. The nodes and links are the live FalkorDB graph, laid out in floors by meaning: the dependency chain, contracts and obligations, and the organisation and memory layer. When the agent runs, every tool event carries "ripple hints" from the graph: which node, what status, and how many hops it is from ModelCloud. RippleSpace lights nodes up in that order, 170 ms per hop. So the animation follows the same path the impact engine found: ModelCloud, then the systems, then the products, then the customers, then the obligations and owners.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz9h2v27xw2vvs0u8alxi.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz9h2v27xw2vvs0u8alxi.jpg" alt="RippleSpace mid run: affected paths in red and orange, safe customers in green, the agent's current step at the bottom" width="800" height="542"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;RippleSpace during the run. Case CR-104 and decision CR-087 have lit up in the memory layer, and the agent is opening CR-105 for Acme Insurance.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For actually reading the reasoning, there's a 2D evidence graph next to it. It shows Falcon Bank's dependency path and contract path meeting at the regions, with an explicit "US not allowed" edge where they conflict.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb9lmqfg88pfk2lydxk21.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb9lmqfg88pfk2lydxk21.jpg" alt="The evidence graph for Falcon Bank: two paths meeting at the regions, with the conflict marked" width="800" height="542"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Both chains from the start of this post, drawn from the graph, with the conflict edge in red.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  From answer to action
&lt;/h2&gt;

&lt;p&gt;Plenty of tools can tell you "Falcon Bank might be affected". I wanted ClauseRipple to do what a good colleague would do next.&lt;/p&gt;

&lt;p&gt;So for each impacted customer it finds the affected system, the team that owns it, the person who leads that team and any earlier decision about the same customer. Then it writes a real &lt;code&gt;ImpactCase&lt;/code&gt; node into FalkorDB, linked to all of them, with next steps that each have an owner: keep workloads pinned to EU/UAE (from CR-087), review the DPA change, and prepare written notice to the customer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flk20viv7jevzox56y3we.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flk20viv7jevzox56y3we.jpg" alt="Impact case CR-104: Falcon Bank, owner Sarah Malik, remediation based on decision CR-087" width="800" height="119"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;CR-104 in the UI. The recommended fix comes straight from the earlier decision CR-087.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;When a person clicks "Approve remediation", the approval is written back as a new &lt;code&gt;Decision&lt;/code&gt; node linked to the case. The next run can recall it. That's the loop I care about: the company's decisions become context for the next change.&lt;/p&gt;
&lt;h2&gt;
  
  
  Did the graph actually help? A small benchmark
&lt;/h2&gt;

&lt;p&gt;I didn't want to just claim "graphs beat RAG", so I wrote a small benchmark. It has 12 questions that need facts from more than one document, like "which customers are affected?", "who owns Document Processing API?" and "why is GulfGov not affected?".&lt;/p&gt;

&lt;p&gt;Both sides use the same 20 documents, the same chunks and the same embedding model (bge-small-en-v1.5). The vector baseline is plain cosine search and never touches FalkorDB. I measured "evidence recall": how many of the documents needed for the answer ended up in the context.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;FalkorDB graph&lt;/th&gt;
&lt;th&gt;Vector only, k=5&lt;/th&gt;
&lt;th&gt;Vector only, k=8&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Questions answered exactly&lt;/td&gt;
&lt;td&gt;12/12&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mean evidence recall&lt;/td&gt;
&lt;td&gt;0.99&lt;/td&gt;
&lt;td&gt;0.37&lt;/td&gt;
&lt;td&gt;0.62&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Questions with all the evidence&lt;/td&gt;
&lt;td&gt;11/12&lt;/td&gt;
&lt;td&gt;2/12&lt;/td&gt;
&lt;td&gt;4/12&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Please read this for what it is. It's 12 questions on a small synthetic corpus that I wrote, and the vector side isn't tuned per question. It's not a general claim about RAG. What it does show clearly is the shape of the problem: when the answer is spread across relationships, a bigger k drags in more noise before it drags in the right documents.&lt;/p&gt;

&lt;p&gt;You can rerun it with &lt;code&gt;uv run python -m app.eval.benchmark&lt;/code&gt;. The numbers above are from a run today.&lt;/p&gt;
&lt;h2&gt;
  
  
  What was hard
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Getting facts out of documents, with proof.&lt;/strong&gt; I went with a deterministic, rule based extractor instead of asking an LLM to produce triples. Every relationship stores the exact source sentence, and every quote is checked word for word against the document before it's written. Negative sentences like "does not call ModelCloud" must produce no edge, which sounds obvious until you write the rules. After every reset, 20 critical facts are checked against the live graph. If one is missing, the reset fails loudly instead of quietly patching it. The trade-off is real: my corpus is synthetic and written to be parseable. Messy real contracts would need an LLM extraction step on top.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Learning FalkorDB's Cypher dialect.&lt;/strong&gt; Most things just worked, but a few patterns I'd used elsewhere needed rewrites. Variable length bounds had to be literals, &lt;code&gt;shortestPath&lt;/code&gt; only works in &lt;code&gt;WITH&lt;/code&gt; or &lt;code&gt;RETURN&lt;/code&gt;, and &lt;code&gt;ORDER BY&lt;/code&gt; after an aggregation has to use the projected columns. None of it was blocking, but I hit each one at least once.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Small local models and tool calling.&lt;/strong&gt; I tried a local &lt;code&gt;llama3.2:3b&lt;/code&gt; through Ollama on a 4 GB laptop GPU. It made four or five correct tool calls and then started narrating instead of calling the next tool. So the orchestrator has a completeness check: if the planner stops early, the deterministic playbook finishes the missing cases, and the trace says so. That experience is a big reason the compliance decision lives in code and not in the model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Making the screen understandable.&lt;/strong&gt; My first UI showed everything at once: graph, trace, metrics, badges. It was technically complete and nobody could tell what was happening. The final version tells one story from left to right: what changed, how it spread, who is affected, and below that, why. Making the 3D view readable was its own problem too: label collisions, camera angles, and keeping the glow from hiding the meaning.&lt;/p&gt;
&lt;h2&gt;
  
  
  What I learned about graphs
&lt;/h2&gt;

&lt;p&gt;A normal database can store entities. That's not the interesting part.&lt;/p&gt;

&lt;p&gt;The interesting part is that the &lt;strong&gt;relationship itself becomes something you can query, carry evidence on, and reason about&lt;/strong&gt;. "Falcon Bank uses DocSummarizer" isn't a field on a row. It's a fact with a source, a version and a quote, and the agent can walk across it. Once relationships are first class, "who is affected?" stops being a search problem and becomes a path problem.&lt;/p&gt;
&lt;h2&gt;
  
  
  What I learned about agents
&lt;/h2&gt;

&lt;p&gt;Giving an agent more text is not the same as giving it better context.&lt;/p&gt;

&lt;p&gt;The agent in ClauseRipple doesn't get a pile of chunks and a prompt that says "figure it out". It gets tools that return specific, connected facts, and a rule it can't override. That constrained design is what makes it trustworthy enough to write cases and assign people. The graph doesn't just inform the agent. It limits what the agent is allowed to do.&lt;/p&gt;
&lt;h2&gt;
  
  
  What I'd build next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Connectors for real sources (contract repositories, Jira, the team directory), so the graph updates itself.&lt;/li&gt;
&lt;li&gt;More kinds of change than data residency: sub-processor changes, notice periods, security controls.&lt;/li&gt;
&lt;li&gt;A "what if" mode: simulate a vendor change before you sign it.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;Everything runs locally with Docker, Python and Node, and the demo works without any API key:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/bilal-feroz/ClauseRipple
&lt;span class="nb"&gt;cd &lt;/span&gt;ClauseRipple &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cp&lt;/span&gt; .env.example .env
docker compose up &lt;span class="nt"&gt;-d&lt;/span&gt; falkordb
&lt;span class="nb"&gt;cd &lt;/span&gt;apps/api &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; uv &lt;span class="nb"&gt;sync&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; uv run uvicorn app.main:app &lt;span class="nt"&gt;--port&lt;/span&gt; 8000
&lt;span class="c"&gt;# in a second terminal&lt;/span&gt;
&lt;span class="nb"&gt;cd &lt;/span&gt;apps/web &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; pnpm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; pnpm dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open &lt;a href="http://localhost:3000" rel="noopener noreferrer"&gt;http://localhost:3000&lt;/a&gt; and click &lt;strong&gt;Apply the new contract&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;All companies, people and contracts in the demo are fictional. AI coding tools (Claude Code) were used during development for implementation help, debugging and docs; I designed the problem and the graph model, and reviewed and tested the Cypher, the rules, the architecture and the demo behavior. Details are in &lt;a href="https://github.com/bilal-feroz/ClauseRipple/blob/main/AI_ASSISTANCE.md" rel="noopener noreferrer"&gt;AI_ASSISTANCE.md&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;A clause is rarely dangerous on its own. The risk lives in everything connected to it.&lt;/p&gt;

&lt;p&gt;That's what ClauseRipple is built to see.&lt;/p&gt;

</description>
      <category>falkordb</category>
      <category>ai</category>
      <category>hackathon</category>
      <category>database</category>
    </item>
    <item>
      <title>The Dashboard Said My AI Team Finished. One Agent Never Even Started.</title>
      <dc:creator>bilal-feroz</dc:creator>
      <pubDate>Sat, 18 Jul 2026 20:48:20 +0000</pubDate>
      <link>https://dev.to/bilalferoz/the-dashboard-said-my-ai-team-finished-one-agent-never-even-started-1e0l</link>
      <guid>https://dev.to/bilalferoz/the-dashboard-said-my-ai-team-finished-one-agent-never-even-started-1e0l</guid>
      <description>&lt;h2&gt;
  
  
  How SigNoz exposed a silent handoff failure inside a multi-agent AI workflow
&lt;/h2&gt;

&lt;p&gt;My AI workflow reported that the task was complete.&lt;/p&gt;

&lt;p&gt;The API returned &lt;code&gt;200 OK&lt;/code&gt;. The user interface showed every agent as completed. A final document was generated and delivered successfully.&lt;/p&gt;

&lt;p&gt;There was only one problem.&lt;/p&gt;

&lt;p&gt;The research agent had never returned any research.&lt;/p&gt;

&lt;p&gt;The workflow silently caught a timeout, passed an empty response to the writing agent, and continued as though nothing had happened. The final output looked confident and polished, but it was based on incomplete context.&lt;/p&gt;

&lt;p&gt;This was not a normal application crash. There was no obvious error page, failed request, or red status indicator.&lt;/p&gt;

&lt;p&gt;From the outside, everything looked healthy.&lt;/p&gt;

&lt;p&gt;SigNoz helped me see what had actually happened inside the workflow.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Multi-Agent Workflow
&lt;/h2&gt;

&lt;p&gt;The application uses several AI agents to complete one project:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Lead Agent&lt;/strong&gt; — understands the request and creates a plan&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Research Agent&lt;/strong&gt; — collects relevant context and information&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Writing Agent&lt;/strong&gt; — produces the first draft&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review Agent&lt;/strong&gt; — checks quality and accuracy&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delivery Agent&lt;/strong&gt; — prepares and exports the final result&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The expected workflow is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User Request
    ↓
Lead Agent
    ↓
Research Agent
    ↓
Writing Agent
    ↓
Review Agent
    ↓
Delivery Agent
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each agent depends on the result of the previous agent.&lt;/p&gt;

&lt;p&gt;If the research agent fails, the writing agent should not continue as though valid research was available. However, my initial implementation used fallback logic that allowed the workflow to continue.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;researchContext&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;runResearchAgent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;task&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;catch &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Research agent failed&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nx"&gt;researchContext&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[];&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This prevented the entire request from crashing, but it created a more dangerous problem.&lt;/p&gt;

&lt;p&gt;The system returned a technically successful response even though an essential part of the workflow had failed.&lt;/p&gt;




&lt;h2&gt;
  
  
  Adding Observability with OpenTelemetry and SigNoz
&lt;/h2&gt;

&lt;p&gt;I instrumented the workflow using OpenTelemetry and sent the telemetry data to SigNoz.&lt;/p&gt;

&lt;p&gt;I created one parent span for the complete project run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;project.run
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each agent execution became a child span:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;lead.plan
researcher.search
writer.draft
reviewer.validate
delivery.export
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I also attached attributes that describe what happened during each step.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nx"&gt;span&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setAttributes&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;agent.name&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;researcher&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;task.id&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;taskId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;handoff.from&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;lead&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;handoff.to&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;researcher&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;retry.count&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;retryCount&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;documents.returned&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;documents&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;fallback.used&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;fallbackUsed&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For the writing and review agents, I tracked additional values:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nx"&gt;span&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setAttributes&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;tokens.input&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;inputTokens&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;tokens.output&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;outputTokens&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;review.score&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;reviewScore&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;output.approved&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;outputApproved&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These attributes allowed me to investigate more than basic application uptime.&lt;/p&gt;

&lt;p&gt;I could now see:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which agent was running&lt;/li&gt;
&lt;li&gt;How long each agent took&lt;/li&gt;
&lt;li&gt;Whether a handoff succeeded&lt;/li&gt;
&lt;li&gt;Whether fallback data was used&lt;/li&gt;
&lt;li&gt;How many documents were returned&lt;/li&gt;
&lt;li&gt;How many retries occurred&lt;/li&gt;
&lt;li&gt;How many tokens each agent consumed&lt;/li&gt;
&lt;li&gt;Whether the final output passed review&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Creating the Failure
&lt;/h2&gt;

&lt;p&gt;To test the workflow, I deliberately introduced a timeout into the research service.&lt;/p&gt;

&lt;p&gt;The research agent was configured to stop waiting after &lt;code&gt;[TIMEOUT VALUE]&lt;/code&gt; seconds.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;researchContext&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;race&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
  &lt;span class="nf"&gt;runResearchAgent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;task&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="nf"&gt;timeoutAfter&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="nx"&gt;TIMEOUT&lt;/span&gt; &lt;span class="nx"&gt;VALUE&lt;/span&gt;&lt;span class="p"&gt;]),&lt;/span&gt;
&lt;span class="p"&gt;]);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The research service did not respond within the allowed time.&lt;/p&gt;

&lt;p&gt;The application caught the exception and continued with an empty research context.&lt;/p&gt;

&lt;p&gt;The final API response still looked successful:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"completed"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"httpStatus"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"documentGenerated"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;However, the trace attributes told a different story:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;workflow.status: completed
researcher.documents.returned: 0
researcher.retry.count: [REAL RETRY COUNT]
fallback.used: true
review.score: [REAL REVIEW SCORE]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The workflow was technically completed but functionally degraded.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the Trace Revealed
&lt;/h2&gt;

&lt;p&gt;Inside SigNoz, the complete workflow appeared as one distributed trace.&lt;/p&gt;

&lt;p&gt;The trace waterfall made the problem immediately visible.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;project.run             [REAL TOTAL TIME]
├── lead.plan           [REAL TIME]
├── researcher.search   [REAL TIME] — timeout
├── writer.draft        [REAL TIME] — fallback context used
├── reviewer.validate   [REAL TIME] — low review score
└── delivery.export     [REAL TIME]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The research span consumed most of the workflow time before timing out.&lt;/p&gt;

&lt;p&gt;The writing agent then started with no research documents, but the span itself was still marked as successful because the fallback logic prevented an exception from propagating.&lt;/p&gt;

&lt;p&gt;This showed me an important limitation in my original monitoring logic:&lt;/p&gt;

&lt;p&gt;A successful span did not necessarily mean that the agent completed its intended responsibility.&lt;/p&gt;

&lt;p&gt;The system needed to track semantic success, not only technical success.&lt;/p&gt;




&lt;h2&gt;
  
  
  Correlating the Trace with Logs
&lt;/h2&gt;

&lt;p&gt;The trace showed me where the delay occurred. The correlated logs explained why the workflow continued.&lt;/p&gt;

&lt;p&gt;The research span contained a log similar to:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Research provider timed out after [REAL TIMEOUT] seconds.
Continuing with empty research context.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Another log from the writing agent showed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Writing agent started with 0 research documents.
Fallback context enabled.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Without trace and log correlation, these messages would have been difficult to connect.&lt;/p&gt;

&lt;p&gt;A timeout log by itself does not explain which user request was affected. A completed API request does not explain that an upstream agent failed.&lt;/p&gt;

&lt;p&gt;SigNoz connected the logs to the exact trace, task, and agent span.&lt;/p&gt;




&lt;h2&gt;
  
  
  Building a Useful Dashboard
&lt;/h2&gt;

&lt;p&gt;I created a dashboard focused on AI-agent workflow health rather than only infrastructure health.&lt;/p&gt;

&lt;p&gt;The dashboard included:&lt;/p&gt;

&lt;h3&gt;
  
  
  Agent Run Duration
&lt;/h3&gt;

&lt;p&gt;This panel shows how long each agent takes to complete its work.&lt;/p&gt;

&lt;p&gt;It makes unusually slow agents and timeout patterns easier to identify.&lt;/p&gt;

&lt;h3&gt;
  
  
  Failed or Degraded Handoffs
&lt;/h3&gt;

&lt;p&gt;This tracks handoffs where:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;handoff.status != "success"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fallback.used = true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Token Usage by Agent
&lt;/h3&gt;

&lt;p&gt;This shows whether one agent is consuming an unusually large portion of the workflow’s token budget.&lt;/p&gt;

&lt;h3&gt;
  
  
  Completed Runs Using Fallback Data
&lt;/h3&gt;

&lt;p&gt;This was the most important panel.&lt;/p&gt;

&lt;p&gt;A workflow should not be considered fully successful when it completed using missing or fallback context.&lt;/p&gt;




&lt;h2&gt;
  
  
  Creating an Alert for Silent Failures
&lt;/h2&gt;

&lt;p&gt;Traditional alerts often focus on conditions such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;HTTP status &amp;gt;= 500
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That would not detect this problem because the API returned &lt;code&gt;200 OK&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Instead, I created an alert for workflows that completed while using fallback data.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;workflow.status = "completed"
AND fallback.used = true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I named the alert:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Successful run with degraded agent handoff
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This alert captures a category of failure that normal uptime monitoring misses.&lt;/p&gt;

&lt;p&gt;The infrastructure can be available, the API can return successfully, and the user can receive an output while the workflow is still logically incorrect.&lt;/p&gt;




&lt;h2&gt;
  
  
  Fixing the Workflow
&lt;/h2&gt;

&lt;p&gt;The original logic treated missing research as an acceptable fallback.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;researchFailed&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;researchContext&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[];&lt;/span&gt;
  &lt;span class="nf"&gt;continueWorkflow&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I changed it so that an essential agent failure marks the complete workflow as degraded.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;researchFailed&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nx"&gt;researchDocuments&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;span&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setAttributes&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;workflow.status&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;degraded&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;handoff.status&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;failed&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;fallback.used&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;});&lt;/span&gt;

  &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Research agent failed. Drafting stopped to prevent unsupported output.&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The revised behavior is now:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Research agent fails
        ↓
Workflow marked as degraded
        ↓
Writing agent does not start
        ↓
User receives a clear retry message
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I ran the same test again.&lt;/p&gt;

&lt;p&gt;This time, SigNoz showed that the workflow stopped at the research span instead of producing an unsupported final document.&lt;/p&gt;

&lt;p&gt;The application no longer confused technical completion with valid completion.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;Before adding observability, I could see whether the application returned a response.&lt;/p&gt;

&lt;p&gt;After adding SigNoz, I could see whether each agent actually fulfilled its responsibility.&lt;/p&gt;

&lt;p&gt;That distinction matters in AI systems.&lt;/p&gt;

&lt;p&gt;A normal application often fails through an exception, unavailable service, or unsuccessful HTTP request.&lt;/p&gt;

&lt;p&gt;An AI workflow can fail more quietly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An agent returns empty context&lt;/li&gt;
&lt;li&gt;A retry produces duplicate work&lt;/li&gt;
&lt;li&gt;A fallback hides an upstream failure&lt;/li&gt;
&lt;li&gt;A reviewer approves an incomplete response&lt;/li&gt;
&lt;li&gt;The workflow completes while violating its own assumptions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The most dangerous AI failures are not always crashes.&lt;/p&gt;

&lt;p&gt;Sometimes every technical component appears healthy while the final result is still wrong.&lt;/p&gt;

&lt;p&gt;SigNoz helped me observe the complete chain of decisions, handoffs, retries, logs, and outputs behind one AI-generated result.&lt;/p&gt;

&lt;p&gt;The dashboard originally told me that my AI team had completed the task.&lt;/p&gt;

&lt;p&gt;The trace showed me the truth: one of the most important agents had never completed its work.&lt;/p&gt;

</description>
      <category>signoz</category>
      <category>opentelemetry</category>
      <category>observability</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
