Skip to content

Durable Execution

Capability authors can also move custom hook work into engine activities, steps, or tasks with durable capability operations.

Third-party runtime authors can use the stable durable execution backend builder to integrate another engine without importing Pydantic AI internals.

Pydantic AI allows you to build durable agents that can preserve their progress across transient API failures and application errors or restarts, and handle long-running, asynchronous, and human-in-the-loop workflows with production-grade reliability. Durable agents have full support for streaming and MCP, with the added benefit of fault tolerance.

Pydantic AI officially supports five durable execution solutions, co-maintained by the Pydantic and vendor teams:

Additional external SDK integrations: