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.22.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-08-19 3.9 kB
v0.22.0 source code.tar.gz 2026-08-19 6.7 MB
v0.22.0 source code.zip 2026-08-19 7.6 MB
Totals: 3 Items   14.3 MB 2

Key Changes

Version 0.22.0 is a minor release because it adds substantial runtime hardening and tightens an existing provider configuration contract. Applications that combine an explicit openai_client with organization or project must move those values to the AsyncOpenAI client.

Highlights:

  • Redacts terminal function-tool output rejected by agent output guardrails from replayable and persisted SDK state.
  • Raises ModelBehaviorError for non-streaming Responses with terminal status failed or incomplete.
  • Rejects conflicting provider options when OpenAIProvider receives an explicit client.
  • Isolates usage accounting between independent RunState checkpoints while preserving nested-agent aggregation.
  • Expands agents registered through handoff(agent) in generated graphs.
  • Clarifies the existing shallow-copy behavior of Agent.clone() and RealtimeAgent.clone().

What's Changed

Documentation & Other Changes

New Contributors

Full Changelog: https://github.com/openai/openai-agents-python/compare/v0.21.1...v0.22.0

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