Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion openai_agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ See the [module documentation](https://github.com/temporalio/sdk-python/blob/mai
## Overview

The integration combines:

- **Temporal workflows** for orchestrating agent control flow and state management
- **OpenAI Agents SDK** for AI agent creation and tool interactions

Expand All @@ -24,15 +25,25 @@ This approach ensures that AI agent workflows are durable, observable, and can h
## Running the Examples

1. **Start the worker** (supports all samples):

```bash
uv run openai_agents/run_worker.py
```

2. **Run Web UI**

```bash
uv run openai_agents/web_server.py
```

OR

2. **Run individual samples** in separate terminals:

### Basic Agent Examples

- **Hello World Agent** - Simple agent that responds in haikus:

```bash
uv run openai_agents/run_hello_world_workflow.py
```
Expand All @@ -45,12 +56,15 @@ This approach ensures that AI agent workflows are durable, observable, and can h
### Advanced Multi-Agent Examples

- **Research Workflow** - Multi-agent research system with specialized roles:

```bash
uv run openai_agents/run_research_workflow.py
```

Features a planner agent, search agent, and writer agent working together.

- **Customer Service Workflow** - Customer service agent with escalation capabilities (interactive):

```bash
uv run openai_agents/run_customer_service_client.py --conversation-id my-conversation-123
```
Expand All @@ -59,4 +73,3 @@ This approach ensures that AI agent workflows are durable, observable, and can h
```bash
uv run openai_agents/run_agents_as_tools_workflow.py
```

Loading
Loading