Pydantic AI has introduced two new demos showcasing durable agent patterns using DBOS: one demonstrating large fan-out parallel workflows called "Deep Research," and the other illustrating long sequential subagent chaining known as "Twenty Questions." These demos highlight the importance of durable execution, allowing agents to survive crashes or interruptions and resume precisely where they left off. The execution of these workflows is fully observable in the DBOS console, with detailed workflow graphs and management tools, and is instrumented with Logfire to trace token usage and cost per step. This matters because it showcases advanced techniques for building resilient AI systems that can handle complex tasks over extended periods.
Read Full Article: Pydantic AI Durable Agent Demo