Skip to main content
All events

Building durable AI agents with Pydantic AI and Temporal

An API times out. A worker restarts. Your agent is halfway through a task. Temporal and Pydantic build an agent with Pydantic AI, make it durable with Temporal so it resumes after interruptions, let it write Python that calls your tools inside a Monty sandbox with Code Mode, and follow every model request and tool call in Logfire.

Temporal and Pydantic build a Pydantic AI agent that survives interruptions, runs Code Mode in a Monty sandbox, and traces everything in Logfire.

Overview

  • Live workshop
  • Online event
  • Free

Speakers

About this event

An API times out. A worker restarts. Your agent is halfway through a task. How do you keep it moving, and see what happened along the way?

Temporal and Aditya Vardhan, Software Engineer at Pydantic, walk through building durable AI agents with Pydantic AI and Temporal. The two teams are back together to revisit the foundations and go further: Code Mode, sandboxed execution with Monty, and observability with Logfire.

The session builds an agent, adds durable execution so it can recover from failures, and uses Code Mode to let it write Python that calls your tools inside a Monty sandbox. Throughout, Pydantic Logfire follows the model requests, tool calls and execution details as the agent works.

Registration is hosted by Temporal. Can't make it live? Register anyway and Temporal will send you the recording.

Who it's for: Developers building AI agents that have to keep working through timeouts, restarts and flaky APIs, whether you joined the previous Temporal and Pydantic session or are new to both.

What you'll learn

  • Build an AI agent with Pydantic AI
  • Add durability with Temporal so agent workflows resume after interruptions
  • Use Code Mode and Monty to execute agent-generated Python in a sandbox
  • Instrument the agent with Logfire to understand its behavior and investigate failures

Save your spot

Registration is handled on pages.temporal.io, where the host confirms your place and shares the address.

Register on pages.temporal.io