Technical Brief · October 2025

Implementing Event + State Intelligence with Loci

How the recommended event stream plus state snapshot strategy is implemented in practice, with a minimal composable data model and an initial baseline control set suitable for regulatory-grade deployment. No form, no gate: read it here or download the PDF.

Implementation overview

This brief describes how the recommended event stream plus state snapshot strategy is implemented in practice using Loci's composable infrastructure, and outlines an initial baseline control set suitable for regulatory-grade deployment. It translates the strategy into concrete implementation guidance, while remaining readable to senior technical, risk, and compliance leaders.

The objective is not maximum coverage on day one, but strong baseline controls, explainability and auditability, low operational overhead, and a foundation that can evolve.

Loci evaluates every transaction as the primary decision event. At decision time, the engine draws on four sources of intelligence: three data surfaces you maintain, and one the engine computes for you.

Live computationBuilt in, nothing to maintainRolling counts, sums and averages over any window; standard-deviation, variance and percentile baselines; first-time counterparty detection. Computed live from transaction history at decision time, always current, and reproduced exactly in every audit replay.
entity_eventsWhat just happenedAppend-only, time-ordered, high-signal and low-volume. Used for sequence detection and cross-channel correlation.
entity_profileWhat is currently trueOne row per entity, updated on change or scheduled refresh, deterministic and explainable. Used for lifecycle conditions, per-entity limits, eligibility and constraints.
Reference listsWhat your institution knowsHigh-risk corridors, internal watchlists, prohibited categories. Small, curated, and membership-tested at decision time.

If a metric can be derived from transaction history, you do not build a table for it. All four sources are evaluated at transaction time, producing a single, explainable decision.

The data model: two tables plus your lists

Loci's implementation does not prescribe a rigid schema. Instead, it recommends a minimal, composable data model that supports regulatory-grade controls while keeping operational overhead low.

Every decision in Loci is anchored on a transaction event, enriched by the surfaces below. Each table declares its type and optimization posture; streams that opt into precomputed acceleration commit to being append-only.

entity_events · temporal reasoning and sequencing

ColumnDescription
account_idAccount / customer identifier
event_typelogin, password_reset, beneficiary_add, device_registration, etc.
event_timestampEvent time
channelweb, mobile, api
metadataOptional structured context (JSONB)

Keep it high-signal (authentication and profile-change events), not clickstream telemetry.

entity_profile · baseline truth at decision time

ColumnDescription
entity_idAccount / customer identifier
lifecycle_statenew, active, dormant, reactivated
last_activity_atMost recent activity timestamp
is_kyc_verifiedBoolean
risk_tierLow / Medium / High
daily_transfer_limitPer-entity limit (numeric)
country_of_residenceISO country
updated_atState refresh time

One wide row per entity; every column reads as a scalar inside a control, for example comparing the transaction amount directly against entity_profile.daily_transfer_limit.

reference_list · institutional knowledge as data

TableColumnsPurpose
high_risk_corridorscountry_code, reason, added_atCorridor screening
internal_watchlistaccount_number, source, added_atCounterparty screening

List edits change detection coverage instantly, with every change on the record.

Optional: externally computed intelligence When a fact genuinely cannot be derived from transaction history, such as network and ring summaries, batch model outputs, or external scores, store it as a wide state table (one row per entity, one column per fact) with a facts_computed_at freshness timestamp, and let controls gate on recency.

How FLM uses these surfaces

Every FLM control may read events for recent behavior and sequences, read state for eligibility, limits and lifecycle, and read lists for membership and screening, and use live computation for velocity, baselines, deviation and first-time patterns.

All at transaction time, compiled into a single deterministic evaluation. Every score decomposes into named signals; every alert carries the exact logic and values that produced it.

Baseline composable set: the initial 12 controls

The following controls provide broad regulatory coverage while remaining operationally lightweight.

#ControlCategoryIntelligence
1Dormant-to-Active ReactivationLifecycle RiskState + Live computation
2Dormant Account High-Velocity TransfersLifecycle + VelocityState + Live computation
3Single Transaction Upper ThresholdThreshold ControlTransaction + State
4Weekly Aggregate Value ThresholdThreshold ControlLive computation
5Monthly Aggregate Volume ThresholdThreshold ControlLive computation
6Rapid Beneficiary Addition + TransferSequencingEvents
7Historical Amount DeviationBehavioral DeviationLive computation
8Structuring via Low Variance AmountsLayering / StructuringLive computation
9High Velocity Outbound TransfersVelocityLive computation
10Pass-Through Behavior DetectionMule / Pass-throughLive computation
11New Account Early High-Value ActivityLifecycle RiskState + Live computation
12Geo or Channel InconsistencyContextual RiskState + Events

The full baseline requires exactly two custom tables plus your reference lists. Every velocity, deviation, structuring, and pass-through number is computed live by the engine from the history it will defend in an audit.

Control categories

Lifecycle RiskDormancy, reactivation, early-account behavior.
Threshold ControlsSingle transaction caps, rolling value and volume limits.
Velocity & SequencingBursts, rapid changes preceding transactions.
Behavioral DeviationStatistical outliers, standard deviation breaches.
Layering / StructuringLow dispersion, repetitive amounts, temporal smurfing.
Pass-Through DetectionRapid in-and-out flows, minimal balance retention.

Operational implications

  • For compliance teams: clear logic, clear intent, and regulator-friendly explanations, with every alert decomposing into named signals and the values that fired them.
  • For engineering teams: two tables and a set of lists to maintain, every rolling metric computed by the engine. Stable data models, predictable access patterns, and low change cost.
  • For the business: faster time to coverage, lower operational burden, and confidence at scale.

Most importantly: new controls can be added without refactoring data models, existing controls remain stable as the system evolves, and nothing precomputed means nothing stale, so decisions and their evidence cannot drift apart.

Phased rollout guidance

Phase 1: foundational coverage (day 0-30)

Establish immediate regulatory-grade protection with low operational risk, high explainability, and minimal tuning. These controls are deterministic, easy to explain to regulators, low false-positive risk, and aligned with baseline AML and fraud expectations.

#ControlCategoryIntelligenceWhy phase 1
1Single Transaction Upper ThresholdThreshold ControlTransaction + StateMandatory baseline control; regulator-expected
2Weekly Aggregate Value LimitThreshold ControlLive computationCaptures volume-based abuse early; nothing to build
3Monthly Aggregate Volume LimitThreshold ControlLive computationLong-horizon exposure control; nothing to build
4Early-Life High-Value ActivityLifecycle RiskState + Live computationCritical for new accounts
5Dormant-to-Active ReactivationLifecycle RiskStateStrong signal with low ambiguity
6Rapid Beneficiary Add then TransferSequencingEventsHigh-risk, easy to justify

Phase 1 data footprint: the entity_profile state table, the entity_events stream, and your reference lists; every rolling aggregate is computed live. Outcome: strong baseline fraud and AML coverage, immediate regulator confidence, minimal tuning required.

Phase 2: behavioral and network intelligence (day 30-90)

Detect sophisticated, adaptive abuse patterns that emerge after baseline controls are in place. These controls use behavioral baselines the engine builds from accumulated history, and capture patterns missed by simple thresholds.

#ControlCategoryIntelligenceWhy phase 2
7Historical Amount DeviationBehavioral DeviationLive computationNeeds baseline history to accumulate
8High-Velocity Outbound TransfersVelocityLive computationBenefits from threshold tuning on real traffic
9Dormant Account High-Velocity ActivityLifecycle + VelocityState + Live computationComposite behavior pattern
10Structuring via Low-Variance AmountsLayering / StructuringLive computationStatistical signal; tune on observed distributions
11Pass-Through Behavior DetectionMule / Pass-ThroughLive computationRequires flow observation
12Geo or Channel InconsistencyContextual RiskState + EventsNeeds contextual baselines

Phase 2 outcome: coverage of advanced fraud and AML typologies, reduced blind spots, improved detection of organized or evolving abuse.

Why phased deployment matters

This rollout strategy avoids early false-positive fatigue, allows behavioral history to accumulate naturally (statistical controls activate per entity only once sufficient history exists), gives teams time to build confidence, and aligns with how regulators expect controls to mature.

It also reinforces Loci's core principle: intelligence should grow with the organization.

Closing

This approach does not attempt to predict every fraud pattern. Instead, it provides a clean intelligence foundation, a regulator-aligned reasoning model, and a scalable path forward.

With Loci, fraud and AML controls become structured intelligence, not accumulated complexity.

About Loci Loci turns human risk expertise into detection models you can read, written in plain language, weighted like a model, executed like a program. With Loci, every risk decision a machine makes can be read, defended, and re-run by the human who asked for it.

See it in your stack

A short technical review of your event and state data, then a controlled pilot on the phase 1 controls.