World's Fair 2025
Scaling AI Agents Without Breaking Reliability — Preeti Somal, Temporal
Overview
This talk addresses the challenges of building reliable and scalable AI agent applications. It posits that these agents are complex distributed systems requiring robust orchestration, state management, and error handling, especially given the inherent unreliability of LLMs and external tools. The core thesis is that platforms like Temporal can abstract away the complexities of reliability and scalability, allowing developers to focus on core business logic and agent functionality.
Who should watch
- AI Engineers building agentic applications
- Product Managers overseeing AI agent development
- Developers struggling with the reliability and scalability of distributed AI systems
- Teams needing to ensure durability and consistency in AI agent workflows
Key takeaways
- AI agents are complex distributed systems that require orchestration, state management, and error handling, similar to traditional distributed systems.
- LLMs and external tools are inherently unreliable, necessitating a platform that can manage failures and retries transparently.
- Temporal provides language-idiomatic SDKs to abstract away plumbing code related to reliability and scalability, allowing developers to focus on business logic.
- Temporal workflows define the application flow, orchestrating interactions with LLMs, databases, and tools, while handling signals, queries, and activities.
- The platform offers visibility into agent execution through stored workflow history, which can be exported for debugging and compliance.
- Temporal supports complex programming models, including loops and interactive elements, enabling the rapid development of agent use cases.
- Temporal Cloud handles the heavy lifting of reliability and scalability, while the worker code runs in the developer's environment, integrating with existing CI/CD practices.
- Temporal is an open-source product, with examples available on its code exchange for local development or use with Temporal Cloud.
Notable quotes
*Temporal is the right choice of platform as you go out to build agentic AI applications.*
*Our mission really is to outsource the reliability and scalability parts of building a complex distributed application seamlessly.*
*We don't want you to change how you write code. We just want you to get more efficient and help you focus on writing your business logic.*
Unofficial community note. Prefer the recording for nuance.