Engineering brief
Why AI agents need your existing event store, not a new architecture
At a glance
- Relevance
- Practical value
- Warnings
- None
Most teams think AI agents require new infrastructure. Kumar shows how to embed agents into existing event-sourced systems for fraud detection.
Agents become operationally viable when integrated with existing event-sourced architectures rather than replacing them.
Summary
Divakar Kumar presents a real-world architecture for integrating AI agents into existing event-sourced systems, specifically for fraud detection. The key insight is that rule-based and ML models fail in the 'gray zone' of transaction risk, where agents can add context from multiple bounded contexts.
The approach uses a tiered system: Tier 1 handles clear cases with existing rules/ML, while Tier 2 uses agentic AI for uncertain transactions. Agents access a semantic layer built from domain events across transaction, account, device, and payment contexts via CDC or message brokers.
The architecture employs a fan-out pattern with specialized agents (risk analyzer, behavior analyzer) and a verdict agent that synthesizes their outputs. This avoids the false positives common in traditional systems by incorporating broader contextual data through tool-based access to materialized views.
Practical considerations include strict latency requirements (sub-500ms), using short-term memory only, and implementing loop termination metrics. The POC demonstration shows events propagating through CDC to projection layers, with agents accessing this semantic layer to produce decisions that feed back into the saga orchestration.
Watch the video
This video is blocked due to your privacy settings. To watch this video, please accept YouTube marketing cookies.
Related breakdowns
Company brains need a human gatekeeper, not auto-memory
Company brains risk secret leaks. Learn why human-in-the-loop knowledge curation is essential, and how to build a secure shared AI with per-user credentials.
Gen Media Is Ready—But Your Team Isn't Prepared for the Taxing Evaluation
DeepMind’s new generative media APIs are fast and capable, but the real bottleneck is no longer generation—it’s evaluation, control, and the hidden cost of…
The hidden bottleneck in AI-native orgs: skills governance, not agents
Ungoverned AI skills create duplication, inconsistent quality, and rising costs. Treat them like microservices: modular, versioned, and centrally cataloged.
Get TL;DW
Too Long; Didn't Watch.
A concise breakdowns of the AI and devtools videos that actually matter for engineering leaders.
Free. Weekly. No hype.
Video and thumbnails remain the property of their respective creators. tldw.news provides editorial analysis, commentary, and discovery links to original content.