<?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: spideyy</title>
    <description>The latest articles on DEV Community by spideyy (@kishore1035).</description>
    <link>https://dev.to/kishore1035</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%2F4142407%2Fbbe50548-3059-49b6-9d7f-e69b8d35bdf8.jpg</url>
      <title>DEV Community: spideyy</title>
      <link>https://dev.to/kishore1035</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kishore1035"/>
    <language>en</language>
    <item>
      <title>Building FraudGraph Agent: Autonomous Fraud Investigation &amp; Policy-Compliant Next-Best Action with TigerGraph</title>
      <dc:creator>spideyy</dc:creator>
      <pubDate>Fri, 25 Sep 2026 06:52:43 +0000</pubDate>
      <link>https://dev.to/kishore1035/building-fraudgraph-agent-autonomous-fraud-investigation-policy-compliant-next-best-action-with-525m</link>
      <guid>https://dev.to/kishore1035/building-fraudgraph-agent-autonomous-fraud-investigation-policy-compliant-next-best-action-with-525m</guid>
      <description>&lt;h1&gt;
  
  
  Building FraudGraph Agent: Autonomous Fraud Investigation &amp;amp; Policy-Compliant Next-Best Action with TigerGraph
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;How we combined TigerGraph 4.2.5, Model Context Protocol (MCP), calibrated Graph ML, Vector GraphRAG, and deterministic policy enforcement to build an enterprise-grade autonomous fraud investigator.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Billion-Dollar Dilemma in Modern Payment Fraud
&lt;/h2&gt;

&lt;p&gt;Financial fraud is evolving at machine speed. Fraud rings no longer rely on simple stolen credit card numbers; they operate coordinated syndicates utilizing synthetic identities, recycled device fingerprints across hundreds of cards, micro-transaction card testing sequences, and distributed structuring schemes designed to evade static rule thresholds.&lt;/p&gt;

&lt;p&gt;Yet inside modern fraud operations centers, the investigation workflow looks remarkably dated:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Information Fragmentation&lt;/strong&gt;: An alert fires from an ML risk scoring engine or a customer support ticket.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Manual Graph Traversal&lt;/strong&gt;: An analyst spends 45 to 90 minutes manually opening six different dashboard tabs, issuing SQL queries across relational databases, checking whether a device ID was previously linked to chargebacks, and evaluating whether an out-of-region transaction represents travel or credential theft.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The False Positive Nightmare&lt;/strong&gt;: Over 90% of flagged alerts end up being legitimate customer activity. Prematurely blocking a card causes churn and reputational damage; failing to act within minutes results in thousands of dollars in unrecoverable chargebacks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Hallucination Danger of Generative AI&lt;/strong&gt;: While Large Language Models (LLMs) excel at synthesizing unstructured text, deploying a naive LLM agent in financial fraud is an operational non-starter. &lt;strong&gt;An LLM cannot be trusted to hallucinate card block decisions, ignore banking policy, or bypass regulatory approval hierarchies.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To solve this, we engineered &lt;strong&gt;FraudGraph Agent&lt;/strong&gt; for the &lt;strong&gt;TigerGraph x Hacker House Goa challenge&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;FraudGraph Agent is an autonomous, graph-native fraud investigator that takes raw alerts, navigates a 590,000+ transaction TigerGraph knowledge graph, diagnoses the exact fraud typology, gathers multi-source evidence, enforces a deterministic policy engine for next-best actions, drafts regulatory FinCEN Suspicious Activity Reports (SARs), and writes its findings back into graph memory.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌─────────────────────────────────────────────────────────────────────────┐
│ FraudGraph Agent Analyst Dashboard                                      │
├───────────────┬─────────────────────────────────────────────────────────┤
│ Alert Queue   │ Case Details &amp;amp; Live Investigation Stream                │
│  - HHG-001    │ ┌─────────────────────────────────────────────────────┐ │
│  - HHG-006    │ │ Live Streamed Timeline             [Steps 1 to 8]   │ │
│  - HHG-018    │ ├─────────────────────────────────────────────────────┤ │
│               │ │ Uncertainty &amp;amp; Calibrated Verdict                    │ │
│ Filters:      │ │   Stop Rule: p &amp;gt;= 0.85 or p &amp;lt;= 0.15     [0.92 FRAUD]│ │
│  - All (20)   │ ├─────────────────────────────────────────────────────┤ │
│  - Fraud (10) │ │ Next Best Action Evolution                          │ │
│  - Legit (10) │ │   Initial: VERIFY_WITH_CUSTOMER -&amp;gt; Final: BLOCK_CARD│ │
│               │ ├─────────────────────────────────────────────────────┤ │
│ Stats:        │ │ Subgraph Topology &amp;amp; Grounding Evidence              │ │
│  - 590k Txns  │ │   Grounded Facts: 14 | Prior Cases: 5 | Ring Hops: 2│ │
│  - 14.8k Cards│ ├─────────────────────────────────────────────────────┤ │
│  - 5.5k Cases │ │ Case Memory Loop (TigerGraph Vector Retrieval)      │ │
└───────────────┴─┴─────────────────────────────────────────────────────┴─┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Architectural Philosophy: Reason with LLMs, Decide with Policy
&lt;/h2&gt;

&lt;p&gt;The foundational design principle of FraudGraph Agent is strict separation of concerns:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Knowledge Graph provides ground truth.&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;strong&gt;The Machine Learning models estimate calibrated probabilities.&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;strong&gt;The Policy Engine determines next-best actions and approval routes.&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;strong&gt;The LLM reasons, synthesizes, and explains.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;               ┌────────────────────────────────────────────────────────┐
               │              Trigger Alert (Risk / Report)             │
               └──────────────────────────┬─────────────────────────────┘
                                          │
                                          ▼
                      ┌───────────────────────────────────────┐
                      │    1. TigerGraph Graph Traversal      │
                      │  (card_txns, device_rings, history)   │
                      └───────────────────┬───────────────────┘
                                          │
                                          ▼
                      ┌───────────────────────────────────────┐
                      │   2. Calibrated Graph ML + Episodes   │
                      │ (GBDT AUC 0.987, Card Testing, Rings) │
                      └───────────────────┬───────────────────┘
                                          │
                                          ▼
                      ┌───────────────────────────────────────┐
                      │    3. Hybrid Vector GraphRAG (1024d)  │
                      │  (5.5k Closed Cases + Bank Policies)  │
                      └───────────────────┬───────────────────┘
                                          │
                                          ▼
                      ┌───────────────────────────────────────┐
                      │   4. Deterministic Policy Engine      │
                      │    (Rules R1-R10, L1/L2 Approval)     │
                      └───────────────────┬───────────────────┘
                                          │
                                          ▼
                      ┌───────────────────────────────────────┐
                      │    5. Dynamic Evidence &amp;amp; Stopping     │
                      │ (Customer Outreach, p &amp;gt;= .85 / &amp;lt;= .15)│
                      └───────────────────┬───────────────────┘
                                          │
                                          ▼
                      ┌───────────────────────────────────────┐
                      │     6. Grounded Synthesis &amp;amp; SAR       │
                      │ (LLM strictly constrained by facts)   │
                      └───────────────────┬───────────────────┘
                                          │
                                          ▼
                      ┌───────────────────────────────────────┐
                      │    7. Graph Memory Flywheel (MCP)     │
                      │ (AgentCase vertex &amp;amp; embeddings saved) │
                      └───────────────────────────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By decoupling action execution from LLM generation, FraudGraph Agent guarantees that regulatory requirements (such as mandatory SAR filing over $1,000 exposure or senior manager sign-off for card freezes) can never be bypassed by model drift or prompt injection.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The Graph Foundation: TigerGraph 4.2.5
&lt;/h2&gt;

&lt;p&gt;At the core of the system sits &lt;strong&gt;TigerGraph 4.2.5 Community Edition&lt;/strong&gt;, hosting the IEEE-CIS fraud topology comprising:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;590,742+&lt;/strong&gt; Transactions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;14,893+&lt;/strong&gt; Cards &amp;amp; Customers&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;5,565+&lt;/strong&gt; Historical Closed Cases with detailed resolution narratives&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Device Profiles, IP subnets, Email Domains, and Billing Regions&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;erDiagram
  Customer ||--o{ Card : OWNS
  Card ||--o{ Transaction : MADE
  Transaction ||--o{ DeviceProfile : FROM_DEVICE
  Transaction ||--o{ EmailDomain : PURCHASER_EMAIL
  Transaction ||--o{ BillingRegion : BILLED_IN
  Transaction ||--o{ Transaction : NEXT
  ClosedCase ||--o{ Transaction : INVOLVES
  ClosedCase ||--o{ Card : ON_CARD
  ClosedCase ||--o{ Card : CONNECTED_TO
  AgentCase ||--o{ Transaction : AC_INVOLVES
  AgentCase ||--o{ Card : AC_ON_CARD
  AgentCase ||--o{ Card : AC_CONNECTED
  AgentCase ||--o{ DeviceProfile : AC_DEVICE
  AgentCase ||--o{ ClosedCase : AC_SIMILAR
  AgentCase ||--o{ AgentCase : AC_SIMILAR_AGENT&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;Rather than performing slow relational table joins, our investigator issues high-performance GSQL queries compiled into C++:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;card_txns&lt;/code&gt;: Extracts the temporal transaction baseline for a cardholder.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;device_txns&lt;/code&gt; &amp;amp; &lt;code&gt;device_closed_cases&lt;/code&gt;: Traverses 2 hops to identify if a physical device has participated in confirmed fraud on other accounts.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ring_expand&lt;/code&gt;: Performs multi-hop BFS across shared cards, devices, and email domains to uncover coordinated fraud syndicates.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. Standardizing Graph Access via Model Context Protocol (MCP)
&lt;/h2&gt;

&lt;p&gt;To enable seamless agentic orchestration, we integrated the &lt;strong&gt;TigerGraph Model Context Protocol (MCP)&lt;/strong&gt; server (&lt;code&gt;agent/mcp_client.py&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;Through a persistent stdio JSON-RPC session, the agent treats the graph as a first-class toolset:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Graph Queries&lt;/strong&gt;: Reads execute via &lt;code&gt;tigergraph__run_installed_query&lt;/code&gt; and &lt;code&gt;tigergraph__get_node&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Graph Mutation&lt;/strong&gt;: Investigated case memory writes back through &lt;code&gt;tigergraph__add_node&lt;/code&gt; and &lt;code&gt;tigergraph__add_edge&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High-Availability Fallback&lt;/strong&gt;: The client automatically senses environment readiness, falling back to direct pyTigerGraph connections when running against managed TigerGraph Cloud instances.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# The agent executes GSQL queries seamlessly through standard MCP tool calls:
&lt;/span&gt;&lt;span class="n"&gt;session&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;call_tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;tigergraph__run_installed_query&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;query_name&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;card_txns&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;params&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;c&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;card_id&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;h2&gt;
  
  
  3. The 8-Step Autonomous Investigation Lifecycle
&lt;/h2&gt;

&lt;p&gt;When an alert enters the queue, FraudGraph Agent executes an 8-phase autonomous pipeline:&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Deep Subgraph Traversal
&lt;/h3&gt;

&lt;p&gt;The agent queries TigerGraph to extract the card’s behavioral history, device graph, geographic region baseline, and prior closed disputes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Episode Modeling &amp;amp; Heuristic Detectors
&lt;/h3&gt;

&lt;p&gt;A dedicated episode reconstruction algorithm scans the temporal transaction sequence to detect:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Card Testing&lt;/strong&gt;: Rapid sequences of low-value authorizations designed to validate stolen PANs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structuring&lt;/strong&gt;: Transactions systematically kept just below regulatory reporting thresholds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Device Ring Proliferation&lt;/strong&gt;: Sudden expansion of new cards bound to a single hardware fingerprint.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step 3: Hybrid Vector GraphRAG
&lt;/h3&gt;

&lt;p&gt;Using 1,024-dimensional cosine vector embeddings (&lt;code&gt;gsql/vectors.gsql&lt;/code&gt;), the agent searches:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;similar_cases&lt;/code&gt;: 5,565 historical human-analyst case closures.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;similar_agent_cases&lt;/code&gt;: Past investigations conducted by the agent itself.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;policy_search&lt;/code&gt;: Bank fraud manuals and regulatory compliance articles.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Step 4: Calibrated Probability &amp;amp; Typology Assessment
&lt;/h3&gt;

&lt;p&gt;Rather than relying on uncalibrated model scores or the bank's raw trigger score (which introduces severe confirmation bias), FraudGraph Agent uses a &lt;strong&gt;Gradient Boosting classifier&lt;/strong&gt; trained on 60+ graph-derived structural features.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Validation&lt;/strong&gt;: Grouped 5-fold cross-validation achieves &lt;strong&gt;0.987 ROC-AUC&lt;/strong&gt;, &lt;strong&gt;83% pattern accuracy&lt;/strong&gt;, and &lt;strong&gt;0.80 episode F1&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evidence Counting&lt;/strong&gt;: The agent counts independent signals (e.g., geographic deviation, device reputation, velocity spike) to ensure decisions rest on corroborating evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step 5: Next-Best Action Engine (Rules R1 - R10)
&lt;/h3&gt;

&lt;p&gt;Next-best actions are governed by deterministic rules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Rule R1 (Single Weak Signal)&lt;/strong&gt;: If fraud probability is elevated but supported by only one signal, &lt;strong&gt;do not freeze the card&lt;/strong&gt;. Action: &lt;code&gt;VERIFY_WITH_CUSTOMER&lt;/code&gt; + &lt;code&gt;CREATE_CASE&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rule R2 (Account Takeover / Multiple Signals)&lt;/strong&gt;: High probability ($p \ge 0.85$) with confirmed device compromise triggers immediate &lt;code&gt;BLOCK_CARD&lt;/code&gt; with &lt;strong&gt;L1 Fraud Analyst&lt;/strong&gt; routing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rule R9 (High Exposure / Undocumented)&lt;/strong&gt;: Exposure exceeding $1,000 or uncataloged fraud syndicates requires mandatory &lt;code&gt;FILE_REPORT&lt;/code&gt; (FinCEN SAR) routed strictly to &lt;strong&gt;L2 Fraud Manager Approval&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rule R10 (Clean Baseline)&lt;/strong&gt;: $p \le 0.15$ with normal baseline routes to &lt;code&gt;CLOSE_NO_FRAUD&lt;/code&gt; and &lt;code&gt;ALLOW_TRANSACTION&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step 6: Evidence Verification &amp;amp; Uncertainty Stop Rule
&lt;/h3&gt;

&lt;p&gt;The agent simulates customer communication (recording all assumptions transparently). If the customer confirms they still hold their card and did not authorize the charge, the agent updates its beliefs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fraud probability recalibrates.&lt;/li&gt;
&lt;li&gt;Initial action (&lt;code&gt;VERIFY_WITH_CUSTOMER&lt;/code&gt;) dynamically mutates into &lt;code&gt;BLOCK_CARD&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The stop rule triggers when certainty crosses &lt;strong&gt;$p \ge 0.85$&lt;/strong&gt; or drops to &lt;strong&gt;$p \le 0.15$&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step 7: Fact-Grounded Explanation &amp;amp; FinCEN SAR Generation
&lt;/h3&gt;

&lt;p&gt;The LLM generates an executive summary and, when applicable, an official FinCEN SAR narrative. Crucially, the prompt is injected solely with structured, verified graph facts and policy rule outputs. &lt;strong&gt;No hallucinated details can enter the compliance record.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 8: Case Memory Flywheel
&lt;/h3&gt;

&lt;p&gt;The closed investigation is committed to TigerGraph as an &lt;code&gt;AgentCase&lt;/code&gt; vertex, connected to associated cards, devices, and transactions via &lt;code&gt;AC_ON_CARD&lt;/code&gt; and &lt;code&gt;AC_INVOLVES&lt;/code&gt; edges, with 1024-d embeddings stored on the vertex. &lt;strong&gt;The next case investigated immediately benefits from this memory.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Live Case Studies: The Agent in Action
&lt;/h2&gt;

&lt;p&gt;Here is how FraudGraph Agent resolves distinct real-world alert profiles from the 20-case benchmark:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Case ID&lt;/th&gt;
&lt;th&gt;Trigger Alert&lt;/th&gt;
&lt;th&gt;Grounded Graph Findings&lt;/th&gt;
&lt;th&gt;Initial Action&lt;/th&gt;
&lt;th&gt;Final Action&lt;/th&gt;
&lt;th&gt;Approval Route&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;HHG-001&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Out-of-region card-present txn&lt;/td&gt;
&lt;td&gt;Billing region 444; cardholder baseline is region 120. Device is clean.&lt;/td&gt;
&lt;td&gt;&lt;code&gt;VERIFY_WITH_CUSTOMER&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;BLOCK_CARD&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;L1 Analyst&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;HHG-006&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Velocity alert on eCommerce card&lt;/td&gt;
&lt;td&gt;Coordinated multi-device cluster; $1,906.07 exposure; undocumented ring pattern.&lt;/td&gt;
&lt;td&gt;&lt;code&gt;CREATE_CASE&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;BLOCK_CARD&lt;/code&gt; + &lt;code&gt;FILE_REPORT&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;L2 Fraud Manager&lt;/strong&gt; (Mandatory SAR)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;HHG-018&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;High risk score alert (0.89)&lt;/td&gt;
&lt;td&gt;Legitimate IP subnet; frequent historical merchant; normal ticket size ($35.00).&lt;/td&gt;
&lt;td&gt;&lt;code&gt;FLAG_TRANSACTION&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;CLOSE_NO_FRAUD&lt;/code&gt; + &lt;code&gt;ALLOW_TXN&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Automated / Auto-resolve&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Spotlighting HHG-001: Avoiding Customer Friction
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;HHG-001&lt;/code&gt;, an out-of-region transaction triggered a medium-risk alert. A naive rule engine would have blocked the card immediately, infuriating a traveling customer. FraudGraph Agent recognized that only a single signal was present:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It issued an initial recommendation: &lt;code&gt;VERIFY_WITH_CUSTOMER&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Upon customer verification confirming the charge was unauthorized, calibrated certainty surged to &lt;strong&gt;0.92&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The recommendation automatically evolved to &lt;code&gt;BLOCK_CARD&lt;/code&gt; with complete audit provenance.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Spotlighting HHG-006: High Exposure &amp;amp; Autonomous SAR
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;HHG-006&lt;/code&gt;, exposure totaled &lt;strong&gt;$1,906.07&lt;/strong&gt; across coordinated eCommerce transactions with an undocumented topology. The policy engine automatically elevated the case:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It selected Rule R9.&lt;/li&gt;
&lt;li&gt;It assigned approval strictly to &lt;strong&gt;L2 Fraud Manager&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It synthesized a complete, audit-ready FinCEN Suspicious Activity Report detailing subject identifiers, transaction hashes, timestamps, and suspicious activity codes.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  5. The Analyst Dashboard &amp;amp; GRIP GraphRAG Studio
&lt;/h2&gt;

&lt;p&gt;To provide investigators with an exceptional operational experience, we built a modern React dashboard:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Monochrome &amp;amp; Emerald Aesthetic&lt;/strong&gt;: Clean, high-density UI designed for professional fraud analysts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Streamed Investigation&lt;/strong&gt;: Server-Sent Events (SSE) stream investigation stages in real-time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Calibrated Uncertainty Gauge&lt;/strong&gt;: Visualizes exact fraud confidence against the $0.15$ and $0.85$ policy action thresholds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Action Evolution Panel&lt;/strong&gt;: Explicitly compares Initial Actions against Final Actions, highlighting exactly why and how evidence shifted the decision.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interactive Subgraph Topology&lt;/strong&gt;: Canvas-based interactive exploration of cards, devices, and connected transactions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GRIP GraphRAG Studio&lt;/strong&gt;: An embedded comparison harness that pits Direct LLM Generation vs. Vector-only RAG vs. Agentic TigerGraph Multi-Hop GraphRAG side-by-side:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pipeline&lt;/th&gt;
&lt;th&gt;Retrieval Method&lt;/th&gt;
&lt;th&gt;Grounding Source&lt;/th&gt;
&lt;th&gt;Hallucination Risk&lt;/th&gt;
&lt;th&gt;Relational Context&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;1. Direct LLM&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;None (Parametric)&lt;/td&gt;
&lt;td&gt;Internal weights&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;td&gt;Zero&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;2. Vector RAG&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Cosine similarity&lt;/td&gt;
&lt;td&gt;Flat text chunks&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;None (isolated chunks)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;3. Agentic GraphRAG&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Autonomous BFS Traversal&lt;/td&gt;
&lt;td&gt;Multi-hop Graph Topology&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Zero (Cryptographically Verified)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Full Ring Context&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Benchmark Results
&lt;/h2&gt;

&lt;p&gt;Running across the official 20 benchmark test cases:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;100% Policy Compliance&lt;/strong&gt;: Every recommended action adhered strictly to banking policy rules R1–R10.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Premature Declines&lt;/strong&gt;: Weak-signal alerts were safely held for verification before account restriction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;12.7s Average Latency&lt;/strong&gt;: Full 8-step deep graph investigation, ML scoring, vector retrieval, and SAR generation completed in under 13 seconds per case.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;0.987 ROC-AUC&lt;/strong&gt;: Graph-derived feature engineering proved vastly superior to raw transaction scoring.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;Building an agentic system on top of a graph database revealed three essential truths:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Graphs are the Ultimate Agent Memory&lt;/strong&gt;: Text embeddings tell you what words sound similar; knowledge graphs tell you who is transacting with whom, what devices they share, and where money is flowing. Combining vector similarity with relational graph topology provides unmatched contextual grounding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic Guardrails are Non-Negotiable&lt;/strong&gt;: In high-stakes finance, you cannot prompt an LLM to "be careful with banking rules." The policy engine must be hardcoded, verifiable, and authoritative; the LLM's job is translation, synthesis, and explanation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Feedback Loop Changes Everything&lt;/strong&gt;: Giving an agent the ability to write its own investigations back into the graph turns static models into compounding intelligence assets. Case #20 was measurably smarter than Case #1 because it stood on the shoulders of the prior 19 investigations.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Reproduce and Explore
&lt;/h2&gt;

&lt;p&gt;The entire repository—including the TigerGraph schema, GSQL queries, training pipelines, benchmark cases, and analyst UI—is open-source and reproducible:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository&lt;/strong&gt;: &lt;a href="https://github.com/kishore1035/HackerHouse" rel="noopener noreferrer"&gt;kishore1035/HackerHouse&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tech Stack&lt;/strong&gt;: TigerGraph 4.2.5, TigerGraph MCP, Python, FastAPI, React, Vite, OmniRoute, PyTigerGraph.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Built for the TigerGraph Hacker House Goa Challenge.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>tigergraph</category>
      <category>ai</category>
      <category>python</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
