Pydantic AI
Core workflows
Step-by-step ways to use Pydantic AI for the work it does best.
01
02
← Back to the Pydantic AI collection
Workflow
Build a typed Pydantic AI tool agent
Use types to constrain interfaces while treating model output and tool intent as untrusted until independently authorized and verified.
Workflow
Make a Pydantic AI agent durable and testable
Choose a supported durability engine, define replay-safe boundaries, and couple recovery tests with code-first output and trajectory evals.