Session
Stop For-Looping Your Agents: Event-Driven Architecture for AI That Stays Up
Right now, most agents are a for loop with anxiety: call a model, wait, call a tool, wait, call another agent, pray. It's a beautiful demo and a production incident waiting to happen. One timeout, one rate limit, one flaky tool, and the whole synchronous chain collapses — taking your workflow (and your on-call weekend) with it.
Here's the uncomfortable truth: an agent isn't a script, it's a distributed system. And cloud native already solved distributed systems a decade ago. In this talk I'll rebuild an agent as an event-driven system on Kafka/NATS, where each step is an event, retries and idempotency are first-class, and long-running workflows survive failure instead of falling over. I'll walk through a working reference implementation, the failure modes that forced each decision, and the trade-offs you're signing up for — latency, complexity, debuggability.
You'll leave able to stop for-looping your agents and start engineering them.
Deepti Mittal
Blogger, tech speaker and in love with distributed systems. Also happen to work as Principal software engineer for one of the leading cyber security company Mimecast.
Bengaluru, India
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top