You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check out a variety of sample implementations of the SDK in the examples section of the [repo](https://github.com/openai/openai-agents-python/tree/main/examples). The examples are organized into several categories that demonstrate different patterns and capabilities.
4
+
5
+
6
+
## Categories
7
+
8
+
-**agent_patterns**
9
+
Examples in this category illustrate common agent design patterns, such as:
10
+
- Deterministic workflows
11
+
- Agents as tools
12
+
- Parallel agent execution
13
+
14
+
-**basic**
15
+
These examples showcase foundational capabilities of the SDK, such as:
16
+
- Dynamic system prompts
17
+
- Streaming outputs
18
+
- Lifecycle events
19
+
20
+
-**tool examples**
21
+
Learn how to implement OAI hosted tools such as web search and file search,
22
+
and integrate them into your agents.
23
+
24
+
-**model providers**
25
+
Explore how to use non-OpenAI models with the SDK.
26
+
27
+
-**handoffs**
28
+
See practical examples of agent handoffs.
29
+
30
+
-**customer_service & research_bot**
31
+
Two more built-out examples that illustrate real-world applications:
32
+
-**customer_service**: Example customer service system for an airline.
0 commit comments