Skip to content

chore(deps): bump openai-agents from 0.21.0 to 0.22.0 in /openai-agents-sdk - #166

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/openai-agents-sdk/openai-agents-0.22.0
Aug 26, 2026
Merged

chore(deps): bump openai-agents from 0.21.0 to 0.22.0 in /openai-agents-sdk#166
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/openai-agents-sdk/openai-agents-0.22.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 26, 2026

Copy link
Copy Markdown
Contributor

Bumps openai-agents from 0.21.0 to 0.22.0.

Release notes

Sourced from openai-agents's releases.

v0.22.0

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: openai/openai-agents-python@v0.21.1...v0.22.0

v0.21.1

What's Changed

... (truncated)

Changelog

Sourced from openai-agents's changelog.

0.22.0

Version 0.22.0 tightens failure handling and data isolation for several existing APIs. Applications that construct OpenAIProvider with an explicit client and also pass organization or project to the provider must remove those duplicate arguments.

Highlights:

  • When an agent-level output guardrail blocks final output produced directly by a terminal function tool, the SDK retains a replay-valid call/output pair only when validated fields permit safe reconstruction. The original function_call_output payload is replaced with the fixed text "Output withheld by an output guardrail." in session history, RunState, and streamed result state, and payload-bearing current-response guardrail metadata is cleared or replaced. If the current response contains reasoning or another unsupported shape, the SDK discards the complete current-response suffix instead. Earlier accepted turns and guardrail results remain available. See Output guardrails.
  • Non-streaming OpenAI Responses calls now raise ModelBehaviorError when the returned response has terminal status failed or incomplete, matching the existing streamed terminal-event handling. This applies to OpenAIResponsesModel and the Responses path in AnyLLMModel. See Exceptions.
  • [OpenAIProvider][agents.models.openai_provider.OpenAIProvider] now also raises UserError when openai_client is combined with organization or project. The existing conflicts with api_key, base_url, and websocket_base_url are unchanged. Configure these values on the explicit AsyncOpenAI client instead. See API keys and clients.
  • Each RunResult.to_state() checkpoint now owns an independent usage snapshot. A resumed result starts with the checkpoint totals and adds its own model calls without mutating the source result or sibling checkpoints. Nested Agent.as_tool() resumes continue to aggregate post-resume usage into the active outer run. See Usage in RunState checkpoints.
  • Agent visualization now recursively expands the tools, MCP servers, and downstream handoffs of a target registered with handoff(agent), matching direct Agent entries in an agent's handoffs list. See Generating a graph.
  • The Agent.clone() and RealtimeAgent.clone() API guidance now states their existing shallow-copy behavior precisely: list attributes that are not overridden remain the same list objects. Pass a new list when the clone must own the container independently. See Cloning/copying agents.
Commits
  • 4df9ecf release: 0.22.0 (#4523)
  • fb8fa1b fix(core): isolate usage between RunState checkpoints (#4479)
  • 9432f7e fix(visualization): expand handoff() targets in agent graphs (#4517)
  • 0486792 fix(core/extensions): reject terminal failed/incomplete responses in non-stre...
  • 36dbc36 docs: add testing resources to llms indexes (#4509)
  • ed644fc fix(core): redact blocked tool outputs from replay state (#4507)
  • 2c55603 test: make stream event ordering deterministic
  • 21a1f9b fix: avoid Windows integration bootstrap crashes
  • 32e4526 ci: change windows ci configuration for stability
  • ebb746d fix: keep Codex verification for development sandboxed (#4508)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file pip labels Aug 26, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 26, 2026 22:05
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file pip labels Aug 26, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/openai-agents-sdk/openai-agents-0.22.0 branch from 0a7bf13 to bb16ca3 Compare August 26, 2026 22:11
@github-actions
github-actions Bot enabled auto-merge (squash) August 26, 2026 22:11
@dependabot
dependabot Bot force-pushed the dependabot/pip/openai-agents-sdk/openai-agents-0.22.0 branch from bb16ca3 to 191c407 Compare August 26, 2026 22:13
@dependabot
dependabot Bot force-pushed the dependabot/pip/openai-agents-sdk/openai-agents-0.22.0 branch from 191c407 to 8046e69 Compare August 26, 2026 22:15
@dependabot
dependabot Bot force-pushed the dependabot/pip/openai-agents-sdk/openai-agents-0.22.0 branch from 8046e69 to 8cdbcc5 Compare August 26, 2026 22:18
Bumps [openai-agents](https://github.com/openai/openai-agents-python) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/openai/openai-agents-python/releases)
- [Changelog](https://github.com/openai/openai-agents-python/blob/main/docs/release.md)
- [Commits](openai/openai-agents-python@v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: openai-agents
  dependency-version: 0.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/openai-agents-sdk/openai-agents-0.22.0 branch from 8cdbcc5 to d5d435c Compare August 26, 2026 22:20
@github-actions
github-actions Bot merged commit fbfc904 into main Aug 26, 2026
8 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/openai-agents-sdk/openai-agents-0.22.0 branch August 26, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file pip

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants