Download Latest Version v0.22.2 source code.zip (7.8 MB)
Email in envelope

Get an email when there's a new version of OpenAI Agents (Python)

Home / v0.21.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-08-15 6.7 kB
v0.21.0 source code.tar.gz 2026-08-15 6.6 MB
v0.21.0 source code.zip 2026-08-15 7.4 MB
Totals: 3 Items   14.0 MB 1

Key Changes

This minor release does not introduce a known breaking SDK behavior change. The minor version bump is for the new provider-neutral testing APIs and the OpenAI Python v3 compatibility update.

Highlights:

  • Added agents.testing, agents.realtime.testing, and agents.voice.testing utilities for deterministic Agent, Sandbox, Realtime, and Voice workflow tests without provider requests.
  • Updated OpenAI provider compatibility to openai>=3.0.0,<4, including HTTPX2-aware request, response, transport, and exception handling.
  • Hardened RunState interruption snapshots, recursive agent-tool approvals, max-turn finalization, streaming cleanup, and sensitive-error redaction.
  • Improved MCP lifecycle snapshot isolation and added configurable retry backoff ceilings.
  • Added Sandbox Runloop existing-secret support and tightened view-image path grants.
  • Added stricter Voice validation for invalid channels, frame rates, incomplete multichannel frames, and non-finite audio rates.

What's Changed

Documentation & Other Changes

New Contributors

Full Changelog: https://github.com/openai/openai-agents-python/compare/v0.20.0...v0.21.0

Source: README.md, updated 2026-08-15