The fastest path to running the workshop is GitHub Codespaces. The repository ships with a fully configuredDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/temporalio/edu-ai-workshop-openai-agents-sdk/llms.txt
Use this file to discover all available pages before exploring further.
devcontainer.json that installs Python 3.11, all dependencies, the Temporal CLI, and pre-configures VS Code extensions automatically. You do not need to install anything locally.
Open the Repository in GitHub Codespaces
Navigate to the temporalio/edu-ai-workshop-openai-agents-sdk repository on GitHub. Click the green Code button, select the Codespaces tab, and click Create codespace on main.GitHub will provision a cloud VM and begin building the development container.
Wait for the Bootstrap Script to Complete
The devcontainer runs You will see a terminal in VS Code printing bootstrap progress. Wait until you see
scripts/bootstrap.sh automatically as its postCreateCommand. This script takes 2–3 minutes and performs the following:Bootstrap complete! before proceeding.The
.env file is created automatically from .env.sample by the bootstrap script. You do not need to copy it manually — just open it and fill in your API key.Add Your OpenAI API Key to .env
Open the Paste your API key after Get a key at platform.openai.com/api-keys if you do not already have one. The free tier is enough for the whole workshop.
.env file in the VS Code editor (it is at the repo root). It looks like this:.env
OPENAI_API_KEY= and save the file:.env
Install and Start the Temporal Dev Server
The workshop uses a Jupyter notebook for Temporal setup to ensure a consistent experience across all Codespaces environments.
- In the VS Code Explorer panel, open
temporal_installation.ipynb - Select the
temporal-workshopkernel when prompted (or choose the Python 3.11 interpreter) - Run each cell in order — the notebook will:
- Verify the Temporal CLI is installed at
~/.temporalio/bin/temporal - Start the Temporal dev server (gRPC on port 7233, Web UI on port 8233)
- Verify the Temporal CLI is installed at
The
make temporal-up command runs scripts/run_temporal.sh, which is idempotent — if Temporal is already running, it prints Temporal server is already running and exits cleanly.Verify the Temporal UI and Validate Your Environment
Check the Temporal UI is reachable:A successful If
- Click the Ports tab at the bottom of VS Code (next to Terminal)
- Find port 8233 labelled
Temporal UI - Click the Globe icon to open the Temporal Web UI in your browser
- You should see the Temporal dashboard with a
defaultnamespace listed
make env prints:make env reports an error, see the Environment Setup page for troubleshooting steps.Open the First Exercise and Start the Workshop
You are ready to begin! Open the first solution notebook:Select the
temporal-workshop kernel, then run the cells from top to bottom. This notebook walks you through building your first OpenAI agent with a live weather tool.Workshop flow:| Exercise | File | What you build |
|---|---|---|
| 1 | solutions/01_agent_hello_world/solution.ipynb | OpenAI agent with tool calling |
| 2 | solutions/02_temporal_hello_world/solution.ipynb | Temporal workflow + activity |
| 3 | solutions/03_durable_agent/solution.ipynb | Durable agent (key exercise) |
| 4 | solutions/04_agent_routing/ (Python files) | Multi-agent routing system |