File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -19,29 +19,28 @@ Explore the [examples](examples) directory to see the SDK in action, and read ou
19
19
20
20
## Get started
21
21
22
- 1 . Set up your Python environment
22
+ To get started, set up your Python environment (Python 3.9 or newer required), and then install OpenAI Agents SDK package.
23
23
24
- - Option A: Using venv (traditional method)
24
+ ### venv
25
25
26
26
``` bash
27
- python -m venv env
28
- source env/bin/activate # On Windows: env\Scripts\activate
27
+ python -m venv .venv
28
+ source .venv/bin/activate # On Windows: .venv\Scripts\activate
29
+ pip install openai-agents
29
30
```
30
31
31
- - Option B: Using uv (recommended)
32
+ For voice support, install with the optional ` voice ` group: ` pip install 'openai-agents[voice]' ` .
32
33
33
- ``` bash
34
- uv venv
35
- source .venv/bin/activate # On Windows: .venv\Scripts\activate
36
- ```
34
+ ### uv
37
35
38
- 2 . Install Agents SDK
36
+ If you're familiar with [ uv ] ( https://docs.astral.sh/uv/ ) , using the tool would be even similar:
39
37
40
38
``` bash
41
- pip install openai-agents
39
+ uv init
40
+ uv add openai-agents
42
41
```
43
42
44
- For voice support, install with the optional ` voice ` group: ` pip install 'openai-agents[voice]'` .
43
+ For voice support, install with the optional ` voice ` group: ` uv add 'openai-agents[voice]'` .
45
44
46
45
## Hello world example
47
46
You can’t perform that action at this time.
0 commit comments