> ## Documentation Index
> Fetch the complete documentation index at: https://docs.restate.dev/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.restate.dev/feedback

```json
{
  "path": "/ai/sdk-integrations/pydantic-ai",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Restate & Pydantic AI

> Learn how to use the Pydantic AI SDK with Restate.

Integrate Pydantic AI with Restate for fault-tolerant agent execution with automatic retries and durable state.

<Card icon="https://mintcdn.com/restate-6d46e1dc/eyiUDPHMMaoJj2hw/img/ai/sdk-integrations/pydantic-ai.png?fit=max&auto=format&n=eyiUDPHMMaoJj2hw&q=85&s=d02a69d0bf5318b36ae573f3464c1f89" title="Learn more about Pydantic AI" horizontal href="https://ai.pydantic.dev" width="200" height="200" data-path="img/ai/sdk-integrations/pydantic-ai.png" />

## Quick Start

* [Quickstart guide](/ai-quickstart)
* [Tour of Core Concepts](/ai/patterns/durable-agents)

## Learn More

* [Examples](https://github.com/restatedev/ai-examples/tree/main/pydantic-ai)
