Lets integrate AI Agents in Event-Sourced Systems — Divakar Kumar, FlyersSoft @aiDotEngineer
Lets integrate AI Agents in Event-Sourced Systems — Divakar Kumar, FlyersSoft  @aiDotEngineer
Uploaded July 2026 | Updated September 2026, 3 weeks ago
A card gets declined and no one, including the customer, can say exactly why. That gray zone is where Divakar Kumar points his agents. In a payments and fraud system, a rule based engine and an ML model already score most transactions cleanly; the hard cases are the ambiguous ones that neither can resolve. His approach adds an agentic layer on top of an existing event sourced architecture rather than replacing it, so the bounded contexts already in the system, transaction, device, and account, become the context the agents reason over.

Events flow through change feeds into projections and a semantic layer that the agents read, communicating asynchronously through a message broker in a saga style loop. A risk analyzer agent, a second agent that reaches a verdict, and a third work the case while guarding against infinite loops and keeping memory short, all runnable serverless. The takeaway is architectural: event sourcing already carries the state and history an agent needs, so the cleanest way to add judgment to a production system is to layer agents onto the events you are already emitting.

Speaker info:
- linkedin.com/in/divakar-kumar
- iamdivakarkumar.com

Timestamps:
0:00 - Introduction: adding agents to an existing system
1:20 - A declined transaction you can't explain
3:04 - Where rule based and ML systems fall short
5:40 - Handling the gray zone with agents
5:53 - Bounded contexts: transaction, device, account
8:24 - Event sourcing and change feeds
10:57 - Building the semantic layer
13:16 - Avoiding infinite loops
14:07 - The risk analyzer and verdict agents
15:24 - The saga orchestration loop
19:00 - Putting the architecture together
Lets integrate AI Agents in Event-Sourced Systems — Divakar Kumar, FlyersSoftCan LLMs Write Fast Multi-GPU Kernels? — Simran Arora, Together AIBuilding an Agentic Video Editor for Mass Consumer — Ekaterina Deyneka, ReelfulFirst Steps Toward Automated AI Research — Richard Socher, CEO Recursive AIFrom AI-Assisted to AI-Native: Building a Frontier Development Team — Clare Liguori, AWSIT Admin for the AI Workforce — Sarthak Aggarwal, DecaworkThe Future of Evals: From LLM as a Judge to Agent as a Judge — Aparna Dhinakaran, Arize AIWhen AI Agents Pay and Sellers Monetize: Building x402 Apps on AWS — Anil Nadiminti, AWSHow to Generate Mergeable Code with a Context Engine — Peter Werry, UnblockedHow Anthropic Builds: Lessons from Labs — Mike Krieger, AnthropicGive the Agent a Budget, Not a Token — Sachin Malhotra, AnthropicAutomating Large Scale Refactors with Parallel Agents - Robert Brennan, OpenHands
AI Engineer |

Let's integrate AI Agents in Event-Sourced Systems — Divakar Kumar, FlyersSoft

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER