AML Detection with Graph Databases & GenAI Agents: Tracing Multi-Hop Money Laundering Networks
A proof of concept in which a Neo4j knowledge graph with GenAI query agents lets compliance teams trace money trails across accounts and entities in plain English.
Quick Summary
The Case at a Glance
Challenge
Traditional machine learning missed complex, multi-hop money laundering patterns hidden across accounts and entities.
Solution
A proof of concept with a Neo4j knowledge graph that compliance teams query in plain English, with GenAI agents and a ReAct reasoning layer.
Results
In the proof of concept, much better traceability of suspicious activity across multiple hops, and faster investigations.
The Challenge
What Was Getting in the Way
Money laundering detection is more than flagging large transfers or unusual patterns. The real challenge is relational: how entities connect, how money flows, and how innocent-looking activity becomes suspicious in context. The institution needed to analyse past transaction histories, sender-recipient chains and multi-hop relationships, which traditional machine learning pipelines were not built to trace back.
To trace a flagged transaction, compliance officers exported logs, mapped relationships across multiple databases and tried to visualise the connections in spreadsheets or slides. Finding one suspicious link could take hours or go unnoticed, query tools were inflexible, and there was no scalable way to track multi-hop behaviour.
The institution wanted to prove a system that could trace money trails across entities and relationships, so investigators could detect subtle, non-obvious laundering strategies.
Pain Points
Laundering hidden in multi-hop relationships
Traditional ML could not trace chains back
Manual exports and spreadsheets to map connections
Inflexible query tools
No scalable way to track multi-hop behaviour
The Solution
How Tatras Built It
Tatras built a proof of concept for a graph-based system that lets compliance teams explore transaction relationships in plain English.
Every entity and transaction in one graph
All entities and transactions become nodes and edges in a Neo4j graph database, so money trails can be traced across many hops instead of one table at a time.
Plain-English questions, explained answers
GenAI agents turn questions such as “Show all accounts linked to this entity in the last 3 months” into Cypher queries on the fly. A ReAct reasoning agent interprets the results, summarises them and flags anomalies in plain language.
Built for compliance teams
Results render as a live, interactive knowledge graph for exploring clusters, paths and nodes, inside the investigators' compliance dashboard. Role-based graph access and audit trails are built in.
In the proof of concept: much better traceability of suspicious activity across multiple hops, more accurate identification of laundering patterns based on behaviour rather than static rules, dynamic queries that adapt to any investigator question, and faster investigations.
Results
What Changed
Multi-hop
Traceability across many connections
Behaviour-based
More accurate pattern identification
Flexible
Queries that adapt to any question
Faster
Shorter time to investigation
Proof of concept: outcomes are as reported in the Tatras case study record and are not quantified.
Tech Stack
What It Runs On
- ReAct agents
- OpenAI and open-source LLMs
- scikit-learn
- Transformers for inference
- Neo4j graph database
- Dynamic Cypher generation
- LangChain
- FastAPI
- PyTorch
- LlamaIndex
- UI with live, dynamic knowledge graphs
- Role-based graph access
- Audit trails
Tap any layer to see its full stack.
AI
- ReAct agents
- OpenAI and open-source LLMs
Machine learning
- scikit-learn
- Transformers for inference
Data and retrieval
- Neo4j graph database
- Dynamic Cypher generation
Development
- LangChain
- FastAPI
- PyTorch
- LlamaIndex
Visualisation
- UI with live, dynamic knowledge graphs
Security
- Role-based graph access
- Audit trails
Proven Results
More Results for Our Clients
- 75%+Less analyst effortOpen-Source LLM Text-to-SQL for Investment Insights: 75%+ Less Analyst EffortAnalysts ask questions in plain English and get SQL-backed answers, charts and explanations from the bank's own database, using open-source LLMs that run inside its environment.Read the case study →
- 97.5%Roof classification accuracyAI Hail Damage Detection on Roofs with Computer Vision: 97.5% Roof Classification AccuracyRoof classification, YOLOv8 object detection and a human-in-the-loop review app, built in Dataiku, assess hail damage on shingle roofs without climbing a ladder.Read the case study →
- Hours → minutesCountry-level analysis timeCountry-Level Investment Forecasting Using Natural Language Querying & RAG: Analysis Cut from Hours to MinutesAn AI research assistant answers plain-English questions about country-level economies by combining structured data with unstructured reports.Read the case study →
- Better liquiditySmarter trade executionAI Trading Platform with Collaborative-Filtering Recommendations for Better Liquidity & Trade ExecutionA scalable trading engine with collaborative-filtering recommendations suggests alternative instruments when assets are unavailable, improving liquidity and execution.Read the case study →
Open-Source LLM Text-to-SQL for Investment Insights: 75%+ Less Analyst Effort
Analysts ask questions in plain English and get SQL-backed answers, charts and explanations from the bank's own database, using open-source LLMs that run inside its environment.
AI Hail Damage Detection on Roofs with Computer Vision: 97.5% Roof Classification Accuracy
Roof classification, YOLOv8 object detection and a human-in-the-loop review app, built in Dataiku, assess hail damage on shingle roofs without climbing a ladder.
Country-Level Investment Forecasting Using Natural Language Querying & RAG: Analysis Cut from Hours to Minutes
An AI research assistant answers plain-English questions about country-level economies by combining structured data with unstructured reports.
AI Trading Platform with Collaborative-Filtering Recommendations for Better Liquidity & Trade Execution
A scalable trading engine with collaborative-filtering recommendations suggests alternative instruments when assets are unavailable, improving liquidity and execution.
FAQs
How can graph databases help detect money laundering?
Laundering hides in chains of transactions across accounts and entities. A graph makes those multi-hop chains visible and traceable.
Why did traditional machine learning fall short?
It looks at transactions individually and was not built to trace sender-recipient chains back across many hops.
How do investigators query the graph?
In plain English. GenAI agents turn questions into Cypher queries automatically.
What does the ReAct agent add?
It interprets the results, summarises them and flags anomalies in plain language.
Can investigators see the network?
Yes. Results render as a live, interactive knowledge graph.
Is it compliance-ready?
Role-based graph access and audit trails are built in.
Was this deployed at scale?
It was built and validated as a proof of concept.
How is this related to fraud investigation?
It uses the same graph and GenAI agent approach that Tatras applies to fraud investigation.
Get Started
Could AI Do the Same for Your Business?
Book a discovery call and we'll look at your data, your use case and the results worth aiming for.
Book a discovery call