<?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: Sanskreeti Meshram</title>
    <description>The latest articles on DEV Community by Sanskreeti Meshram (@sanskreetimeshram).</description>
    <link>https://dev.to/sanskreetimeshram</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%2F4139188%2Fd49b29b6-d2d0-44db-8df0-3a82c46380f8.png</url>
      <title>DEV Community: Sanskreeti Meshram</title>
      <link>https://dev.to/sanskreetimeshram</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sanskreetimeshram"/>
    <language>en</language>
    <item>
      <title>CaseGuard: Winning with Uncertainty-Gated Agentic Fraud Investigation on TigerGraph</title>
      <dc:creator>Sanskreeti Meshram</dc:creator>
      <pubDate>Thu, 24 Sep 2026 13:58:17 +0000</pubDate>
      <link>https://dev.to/sanskreetimeshram/caseguard-winning-with-uncertainty-gated-agentic-fraud-investigation-on-tigergraph-3j7g</link>
      <guid>https://dev.to/sanskreetimeshram/caseguard-winning-with-uncertainty-gated-agentic-fraud-investigation-on-tigergraph-3j7g</guid>
      <description>&lt;p&gt;🚨 Introduction&lt;/p&gt;

&lt;p&gt;Traditional fraud systems often make a simple fraud vs. legitimate decision from static thresholds or risk scores.&lt;/p&gt;

&lt;p&gt;But real fraud investigations are rarely that simple.&lt;/p&gt;

&lt;p&gt;A transaction can look suspicious because of a new device, unusual geography, or rapid small payments — while still being completely legitimate.&lt;/p&gt;

&lt;p&gt;That is why we built CaseGuard: an autonomous AI fraud investigator designed to know what it doesn't know.&lt;/p&gt;

&lt;p&gt;CaseGuard combines TigerGraph, GSQL, GraphRAG, and agentic reasoning to investigate suspicious transactions, gather additional evidence when confidence is low, recommend the next-best action, generate SAR narratives, and remember previous cases.&lt;/p&gt;

&lt;p&gt;🏗️ Architecture&lt;/p&gt;

&lt;p&gt;The CaseGuard workflow is:&lt;/p&gt;

&lt;p&gt;Alert → TigerGraph Analysis → Fraud Pattern Detection → GraphRAG Policy Grounding → Uncertainty Gate → Evidence Gathering → Next-Best Action → SAR Generation → Case Memory&lt;/p&gt;

&lt;p&gt;TigerGraph acts as the cognitive spine of the system.&lt;/p&gt;

&lt;p&gt;Our graph contains entities such as:&lt;/p&gt;

&lt;p&gt;Customer&lt;br&gt;
Card&lt;br&gt;
Transaction&lt;br&gt;
DeviceProfile&lt;br&gt;
BillingRegion&lt;br&gt;
ClosedCase&lt;br&gt;
InvestigationCase&lt;/p&gt;

&lt;p&gt;These entities are connected through relationships such as OWNS, MADE, FROM_DEVICE, BILLED_IN, and INVOLVES.&lt;/p&gt;

&lt;p&gt;⚡ How We Used TigerGraph&lt;/p&gt;

&lt;p&gt;Instead of asking an LLM to perform complex graph calculations, CaseGuard uses native GSQL queries.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Card Testing Detection&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The card_window query analyzes transaction windows to detect rapid micro-authorizations followed by larger spending.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Device Syndicate Detection&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The device_neighbors query expands through shared devices to discover connections between multiple accounts.&lt;/p&gt;

&lt;p&gt;In benchmark case HHG-014, the graph revealed one Android device connected to 52 customer cards.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Geographic Anomaly Detection&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The region_burst query compares transaction geography against a customer's historical behavior to identify suspicious out-of-region activity.&lt;/p&gt;

&lt;p&gt;🧠 Uncertainty-Gated AI&lt;/p&gt;

&lt;p&gt;One of our main ideas is simple:&lt;/p&gt;

&lt;p&gt;If the system isn't confident, it shouldn't guess.&lt;/p&gt;

&lt;p&gt;For example, if an alert is based only on a moderate risk score, CaseGuard does not immediately block the customer.&lt;/p&gt;

&lt;p&gt;Instead, it follows policy and requests additional evidence, such as:&lt;/p&gt;

&lt;p&gt;Customer verification&lt;br&gt;
Step-up authentication&lt;br&gt;
Transaction confirmation&lt;/p&gt;

&lt;p&gt;This creates a safer investigation workflow instead of relying on a single signal.&lt;/p&gt;

&lt;p&gt;🔄 Next-Best Action&lt;/p&gt;

&lt;p&gt;CaseGuard generates recommendations at two stages.&lt;/p&gt;

&lt;p&gt;Before Evidence&lt;/p&gt;

&lt;p&gt;The system may recommend:&lt;/p&gt;

&lt;p&gt;ALLOW + VERIFY_WITH_CUSTOMER&lt;/p&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;DECLINE + STEP_UP_AUTH&lt;/p&gt;

&lt;p&gt;After Evidence&lt;/p&gt;

&lt;p&gt;If evidence confirms fraud, the recommendation can evolve into actions such as:&lt;/p&gt;

&lt;p&gt;BLOCK_CARD&lt;/p&gt;

&lt;p&gt;CREATE_CASE&lt;/p&gt;

&lt;p&gt;FILE_REPORT&lt;/p&gt;

&lt;p&gt;with appropriate approval routing such as auto, L1, or L2.&lt;/p&gt;

&lt;p&gt;🧠 TigerGraph Case Memory&lt;/p&gt;

&lt;p&gt;CaseGuard doesn't forget completed investigations.&lt;/p&gt;

&lt;p&gt;Every closed case is stored back into TigerGraph using the insert_case_vertex query.&lt;/p&gt;

&lt;p&gt;For example, when HHG-012 generated an out-of-region alert, CaseGuard retrieved a previous case containing legitimate travel history for the same cardholder and used that information to clear the alert.&lt;/p&gt;

&lt;p&gt;This turns previous investigations into institutional memory.&lt;/p&gt;

&lt;p&gt;📄 Automated SAR Generation&lt;/p&gt;

&lt;p&gt;When a case meets the required reporting conditions, CaseGuard can generate a structured FinCEN Suspicious Activity Report (SAR) narrative.&lt;/p&gt;

&lt;p&gt;This helps investigators move from detection to documentation without manually reconstructing the entire investigation.&lt;/p&gt;

&lt;p&gt;📊 Results&lt;/p&gt;

&lt;p&gt;We evaluated CaseGuard against all 20 official Hacker House Goa benchmark cases.&lt;/p&gt;

&lt;p&gt;Our documented results included:&lt;/p&gt;

&lt;p&gt;✅ 100% schema and policy compliance&lt;br&gt;
✅ Correct identification of multiple fraud typologies&lt;br&gt;
✅ Calibrated auto, L1, and L2 approval routing&lt;br&gt;
✅ Case-memory retrieval for previous investigations&lt;br&gt;
💡 What We Learned&lt;/p&gt;

&lt;p&gt;The biggest lesson was the importance of separating graph computation from LLM reasoning.&lt;/p&gt;

&lt;p&gt;TigerGraph handles the deterministic relationship and graph analysis, while the AI layer focuses on interpreting structured evidence and making policy-grounded decisions.&lt;/p&gt;

&lt;p&gt;We also found that storing investigation outcomes directly in the graph provides useful entity-level memory for future investigations.&lt;/p&gt;

&lt;p&gt;🚀 Future Improvements&lt;/p&gt;

&lt;p&gt;With more development time, we would add:&lt;/p&gt;

&lt;p&gt;Real-time streaming using Kafka/Redpanda.&lt;br&gt;
Community detection using graph algorithms such as Louvain or WCC.&lt;br&gt;
Interactive analyst co-pilot with conversational investigation capabilities.&lt;br&gt;
🏁 Conclusion&lt;/p&gt;

&lt;p&gt;CaseGuard demonstrates how TigerGraph + GSQL + GraphRAG + Agentic AI can work together to create a more explainable and evidence-driven fraud investigation workflow.&lt;/p&gt;

&lt;p&gt;Instead of simply asking:&lt;/p&gt;

&lt;p&gt;"Is this transaction fraud?"&lt;/p&gt;

&lt;p&gt;CaseGuard asks:&lt;/p&gt;

&lt;p&gt;"What evidence do we have, what don't we know, and what should we do next?"&lt;/p&gt;

&lt;p&gt;That's the idea behind CaseGuard — an investigator that knows what it doesn't know. 🕵️‍♀️⚡&lt;/p&gt;

&lt;h1&gt;
  
  
  TigerGraph #GraphRAG #AIAgents #FraudDetection #FraudTech #GSQL #HackerHouseGoa #HHGOA
&lt;/h1&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>architecture</category>
      <category>database</category>
    </item>
  </channel>
</rss>
