> ## 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/openai-agents-sdk",
  "feedback": "Description of the issue"
}
```

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

</AgentInstructions>

# Restate & OpenAI Agents SDK

> Learn how to use the OpenAI Agents SDK with Restate.

Integrate OpenAI Agents SDK 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/openai.webp?fit=max&auto=format&n=eyiUDPHMMaoJj2hw&q=85&s=bd5490a9489b6c4b602e28fe0fa0e6d5" title="Learn more about OpenAI Agents SDK" horizontal href="https://openai.github.io/openai-agents-python/" width="240" height="240" data-path="img/ai/sdk-integrations/openai.webp" />

## Quick Start

* [Quickstart guide](/ai-quickstart#python-%2B-openai)
* [Tour of Core Concepts](/ai/patterns/durable-agents)

<iframe width="560" height="315" src="https://www.youtube.com/embed/RiGKtiASSpw?si=1DdoFVAfqTXNAxT7" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerPolicy="strict-origin-when-cross-origin" allowFullScreen />

## Learn More

* [Announcement:](https://www.restate.dev/blog/durable-orchestration-for-ai-agents-with-restate-and-openai-sdk) Durable Orchestration for AI Agents with Restate and OpenAI SDK
* [Blog:](https://www.restate.dev/blog/durable-ai-loops-fault-tolerance-across-frameworks-and-without-handcuffs) Durable AI Loops: Fault Tolerance across Frameworks and without Handcuffs
* [Blog:](https://www.restate.dev/blog/resilient-serverless-agents) AI Agents should be serverless and durable
