If you build software for banks or payment companies, you will eventually meet two teams that look at the same transactions and see different problems. The fraud team asks: is this payment stealing someone's money right now? The anti-money laundering (AML) team asks: is this account moving criminal money over time?
For years these were separate systems. Increasingly they are being merged into one approach, often called FRAML (fraud plus AML). This post walks through what that looks like from an engineering point of view.
Why the two systems are converging
Modern financial crime crosses the old boundary. A scam victim sends money to a mule account (fraud). The mule moves it on through several accounts (money laundering). Instant payments compress this into minutes. If fraud and AML run on separate data and separate alert queues, each team sees half the story, and nobody connects the two.
The core building blocks
A converged pipeline usually has six parts.
- Event ingestion. Transactions, logins, device signals, account changes and customer data arrive as events. Fraud needs them in real time; AML can tolerate batch, but a shared stream (Kafka or similar) lets both consume the same source of truth.
- Entity resolution. The hardest and most valuable step. The same person may appear as several customers, accounts, devices and counterparties. Resolving these into entities lets you see that five "unrelated" accounts share a device or a payee.
- Feature computation. Rolling aggregates such as velocity (payments in the last hour), new-payee behaviour, round-amount patterns and network features (how many hops to a known bad actor). Compute them once and serve them to both fraud and AML models, rather than maintaining two feature sets that drift apart.
- Detection: rules plus models. Rules are still essential because they are explainable and map directly to regulatory scenarios. Machine learning catches patterns rules miss. A good design lets analysts test a new rule against historical data before it goes live, so they can see the alert volume it would create.
- Alerting and case management. Alerts from both domains land in one case model, linked by entity. One investigation, one timeline, one outcome, instead of two teams working the same customer in parallel.
- Reporting. Suspicious activity reports and other regulatory filings are generated from the case, with the evidence attached.
Real-time and batch in the same system
Fraud decisions often have a latency budget of tens or hundreds of milliseconds, because a payment is waiting. AML analysis looks at weeks or months of behaviour. A practical pattern is a streaming path for scoring individual events and a batch or micro-batch path for longer-horizon behaviour, both writing to the same entity profiles and case store. The key is that the two paths share entities and features, so a risk signal found by one is immediately visible to the other.
Explainability is a requirement, not a feature
In financial crime, every decision may be reviewed by an auditor or regulator. That shapes the engineering:
- Store the inputs, rule versions and model versions behind every alert.
- Record why an alert fired, in human-readable terms.
- Keep an immutable audit log of every action taken on a case, including who or what took it.
If you cannot reconstruct why a decision was made six months ago, the system will not pass review, however accurate it is.
Where AI agents fit
Alert volumes in AML are high, and most alerts are false positives. This is where AI agents are starting to help, and some fraud and AML platforms, such as Euronet Skylight, now use them for first-line alert investigation. An agent can pick up a low-risk alert, gather evidence from several systems, summarise the customer's activity and recommend a disposition, leaving a full record of each step.
The engineering guardrails matter more than the model:
- Scope. Limit agents to well-defined, lower-risk alert types at first.
- Traceability. Log every tool call, data source and intermediate conclusion.
- Human control. High-impact actions, such as filing a report or closing an account, stay with people.
- Evaluation. Compare agent dispositions against experienced analysts on historical cases before trusting them in production.
Takeaways
- Share data, entities and features between fraud and AML instead of building two silos.
- Invest early in entity resolution; it unlocks most of the value.
- Treat explainability and audit logging as core requirements.
- Use AI agents for triage, with tight scope, full traceability and human oversight.
If you work on fraud or AML systems, I'd be interested to hear how your team handles the real-time versus batch split.
