AI Cookbook | Temporal Platform Documentation
Documentation page from Temporal
Skip to main content[## Hello World
Simple example demonstrating how to call an LLM from Temporal using the OpenAI Python API library.
- FOUNDATIONS- OPENAI- PYTHON
Learn more](https://docs.temporal.io/ai-cookbook/hello-world-openai-responses-python)[## Structured Outputs with Temporal and OpenAI
Use Temporal and OpenAI Responses API to reliably request output conforming to a specific data structure.
- FOUNDATIONS- OPENAI- PYTHON
Learn more](https://docs.temporal.io/ai-cookbook/structured-output-openai-responses-python)[## Hello World with LiteLLM
Integrate LiteLLM into a Temporal Workflow in Python.
- PYTHON- LITELLM- PROVIDER-NEUTRAL
Learn more](https://docs.temporal.io/ai-cookbook/hello-world-litellm-python)[## Retry Policy from HTTP Responses
Extract retry information from HTTP response headers and make it available to Temporal's retry mechanisms.
- FOUNDATIONS- OPENAI- PYTHON
Learn more](https://docs.temporal.io/ai-cookbook/http-retry-enhancement-python)[## Basic Agentic Loop with Tool Calling
A basic agentic loop that invokes a dynamic set of tools.
- AGENTS- PYTHON
Learn more](https://docs.temporal.io/ai-cookbook/agentic-loop-tool-call-openai-python)[## Durable MCP Weather Server
A durable MCP server that uses Temporal workflows for reliable execution of weather tools.
- MCP- PYTHON- WORKFLOWS
Learn more](https://docs.temporal.io/ai-cookbook/hello-world-durable-mcp-server)[## Tool calling agent
Build a simple, non-looping agent that gives agency to the LLM to choose tools, and then invokes chosen tools.
- AGENTS- PYTHON
Learn more](https://docs.temporal.io/ai-cookbook/tool-call-openai-python)[## Deep Research
Build a simple deep research system embodying the standard deep research architecture.
- AGENTS- TOOLCALLING- PYTHON
Learn more](https://docs.temporal.io/ai-cookbook/basic-openai-python)[## Hello World - Agent with Tools
Build a durable AI agent with OpenAI Agents SDK and Temporal that can intelligently choose tools to answer user questions
- AGENTS- PYTHON- OPENAI
Learn more](https://docs.temporal.io/ai-cookbook/openai-agents-sdk-python)
No analysis available for this page.
No product messaging analysis available for this page.
No competitive analysis available for this page.