The OpenAI Agents SDK is still pre-1.0, and minor versions can carry breaking changes. A tutorial we checked records the Python package at 0.24.0, released in October 2026, and the TypeScript package at 0.22.0, dated November 2026. With numbers moving that fast, the release notes are the upgrade check.
Before you start
You need the SDK version you run, for Python or TypeScript, and the target version. Back up the project before you start.
Read the release notes between your version and the target
Open the SDK release notes and read every entry between your version and the target. Note renamed functions, changed defaults and new requirements. The Agent reference lists the current fields, including handoffs, guardrails, sessions and MCP servers, so check your code against that list.
Upgrade, then run the golden prompts
Upgrade the package and run your golden prompt set: ten prompts with expected answers. If a prompt fails, the release notes usually name the change that caused it. If several fail, roll back to the backed-up version and upgrade one minor version at a time.
Worked example: Upgrade check for a fictional support agent
Maple Support is a fictional support desk. Its agent runs on the OpenAI Agents SDK. The table shows the check.
| Check | Result |
|---|---|
| Current version | Noted before upgrading |
| Release notes | Read for every version to the target |
| Golden prompts | 10 of 10 pass after the upgrade |
| Handoffs | Still work after the upgrade |
Expected result (UNTESTED): the upgrade passes all ten golden prompts with no code changes needed. We checked the OpenAI Agents SDK guides, which record the 0.24.0 Python and 0.22.0 TypeScript versions, but we did not perform an upgrade on this machine.
Limits
A pre-1.0 SDK can change in ways the notes do not fully describe, so the golden prompts are the real check. Pin the SDK version in your project file and upgrade on purpose, not by accident.
