This is a repository which shows how to use the Agent SDK with models local models or models deployed to Azure. The Agent SDK requires a model which support structured output. For more info :
The repository is configured with a VsCode devcontainer with all necessary dependencies installed, and Poetry will install necessary Python dependencies.
- Docker
- [Azure] Model deployed to Azure that supports tool usage.
- [Ollama] Ollama installed and a model running on your computer that supports tool usage.
- How to install, run and pull models using Ollama.
- Make sure you select the poetry python environment prefixed with
openai-agent. - Create a .env file in the root-folder based on the structure shown in .env_example
- The Agent SDK assume the model is named 'gpt-4o' if not otherwise instructed.