Extended from the OpenAI Agent SDK customer service example.
- Install dependencies:
uv pip install -r requirements.txt- Set your OpenAI API key:
export OPENAI_API_KEY="your-openai-api-key-here"- Run the example:
python agent.pyInteract with the airline customer service agents. You can ask about flights, change seats, or ask general questions. The agents can also evaluate their tool usage.