Scaling AI Agents with Apache Flink
summary
Shows how Apache Flink runs AI agents at production scale by combining Flink ML, Complex Event Processing, and streaming finite state machines to get durable, retryable execution with exactly-once processing semantics. Demonstrates integrating LLMs (OpenAI, Alibaba, local models) as task generators, pushing plans through a stateful graph that can undo and replan, reducing marginal LLM calls and cost, and sustaining millions of agent events per day with pattern detection, external API orchestration, and transactional state recovery.
AI-written summary · about
chapters (12)
- 0:00Introduction and speaker intro
- 1:25What is generative AI
- 2:30AI agents and their actions
- 4:17Challenges with AI agent scaling
- 6:49Apache Flink for AI agents
- 8:41Durable execution with Flink
- 10:29Stateful AI agent systems
- 12:41Planning in AI agents
- 14:27Goal states and task planning
- 16:14Deterministic task generation
- 17:38Cost-driven agent execution
- 19:00Demo and resources
