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
The Security Playbook Is Dead – Here's What Replaces It
Exploits beat patches by 70 days. AI accelerates zero-days. The old security model is dead. What to do instead.
Your Agent Fix Just Broke Something Else – Agent Regression Testing
Prompt changes break agents in invisible ways. Use production traces and automated evals to catch regressions before shipping.
Arca's agents run the business. Most teams still assist humans.
Arca runs its business on agents that own outcomes end to end. The architecture for long-horizon, human-in-the-loop work is production-proven. The…
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.