← Code Exchange

OpenAI Agents Python SDK Demos

This repository contains four standalone demos showcasing the OpenAI Agents Python SDK integrated with Temporal's durable execution:

  • Hello World: A simple example.
  • Tools Workflow: An agent that uses a weather checking activity as a tool.
  • Basic Research Workflow: A research system that processes queries and generates comprehensive markdown reports.
  • Multi-Agent Interactive Research Workflow: An enhanced version of the research workflow with interactive clarifying questions to refine research parameters before execution and optional PDF generation. This example is designed to be similar to the OpenAI Cookbook: Introduction to deep research in the OpenAI API Cookbook.

For detailed information about the research agents in this repo, see openai_agents/workflows/research_agents/README.md

More Temporal OpenAI Agents SDK samples can be found in Temporal's samples-python repository.

Language:

Python

Python

💖 Community openaiai

About the Author

Steve Androulakis photo

Steve Androulakis

Sr. Staff Solutions Architect