Skip to content

build(deps): bump openai-agents from 0.20.0 to 0.21.1 in /openai-agents-sdk - #195

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

build(deps): bump openai-agents from 0.20.0 to 0.21.1 in /openai-agents-sdk#195
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/openai-agents-sdk/openai-agents-0.21.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps openai-agents from 0.20.0 to 0.21.1.

Release notes

Sourced from openai-agents's releases.

v0.21.1

What's Changed

Documentation & Other Changes

New Contributors

Full Changelog: openai/openai-agents-python@v0.21.0...v0.21.1

v0.21.0

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.

... (truncated)

Changelog

Sourced from openai-agents's changelog.

Release process/changelog

The project follows a slightly modified version of semantic versioning using the form 0.Y.Z. The leading 0 indicates the SDK is still evolving rapidly. Increment the components as follows:

Minor (Y) versions

We will increase minor versions Y for breaking changes to any public interfaces that are not marked as beta. For example, going from 0.0.x to 0.1.x might include breaking changes.

If you don't want breaking changes, we recommend pinning to 0.0.x versions in your project.

Patch (Z) versions

We will increment Z for non-breaking changes:

  • Bug fixes
  • New features
  • Changes to private interfaces
  • Updates to beta features

Breaking change 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.

0.21.0

Version 0.21.0 requires openai v3 and moves the Agents SDK's OpenAI HTTP integrations to HTTPX2. Applications that use the default OpenAI client do not need to change their client setup, but applications that customize the OpenAI HTTP layer may need to migrate transport-facing code.

Highlights:

  • The required OpenAI dependency is now openai>=3.0.0,<4. A clean core installation uses HTTPX2 and no longer installs legacy httpx as a direct dependency.
  • The default OpenAI provider, Voice provider, Responses WebSocket support, tracing exporter, and provider retry normalization now use HTTPX2. Their existing Agents SDK public configuration and runtime behavior remain unchanged.
  • Applications that pass http_client= to AsyncOpenAI should migrate custom clients, transports, authentication, event hooks, mock transports, timeout values, URLs, requests, responses, and transport exception handling from httpx to httpx2. Prefer the OpenAI Python SDK's DefaultAsyncHttpx2Client when the application needs the OpenAI client's defaults plus custom HTTP options. See Custom HTTP clients with openai v3.
  • The Agents SDK does not convert arbitrary legacy HTTPX objects to HTTPX2. The OpenAI Python SDK's temporary legacy-client compatibility path requires an explicit httpx installation and should be treated as a migration bridge.
  • Local MCP HTTP customization continues to follow the installed MCP package: MCP Python SDK v1 supplies and uses legacy httpx, while MCP Python SDK v2 uses httpx2. Ordinary MCP connections do not need application changes. See MCP Python SDK v1 and v2.
  • Public provider-neutral testing utilities now cover Agent model, Sandbox session, Realtime session, and Voice pipeline workflows without provider or process dependencies. See Testing for recipes and guidance on when to keep the real provider adapter or integration boundary.
Commits
  • b01ea1d release: 0.21.1 (#4467)
  • 2632043 fix(realtime): end iteration after clean server close (#4461)
  • 4cb461a fix(sandbox): validate view_image raster content (#4462)
  • fdcec69 fix: forward Docker network mode in security test
  • e5f75fd fix(realtime): truncate audio at zero elapsed time (#4457)
  • 2f1c83d feat(sandbox): allow Docker sandboxes to disable networking (#4452)
  • 3a888de feat(extensions): add Modal sandbox resource options (#4455)
  • b4faf70 feat(core): add model call timeouts (#4428)
  • 2588d15 fix: prevent advanced SQLite structure table conflicts (#4454)
  • 94da8ed fix(core): count Responses requests without usage (#4453)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file pip labels Aug 21, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 21, 2026 08:07
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file pip labels Aug 21, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) August 21, 2026 08:07
@dependabot
dependabot Bot force-pushed the dependabot/pip/openai-agents-sdk/openai-agents-0.21.1 branch from 7dd8f76 to 990515e Compare August 21, 2026 08:09
@dependabot
dependabot Bot force-pushed the dependabot/pip/openai-agents-sdk/openai-agents-0.21.1 branch from 990515e to e9479bd Compare August 21, 2026 08:12
@dependabot
dependabot Bot force-pushed the dependabot/pip/openai-agents-sdk/openai-agents-0.21.1 branch from e9479bd to 4bd360c Compare August 21, 2026 08:14
@dependabot
dependabot Bot force-pushed the dependabot/pip/openai-agents-sdk/openai-agents-0.21.1 branch from 4bd360c to f8d2c3c Compare August 21, 2026 08:16
@dependabot
dependabot Bot force-pushed the dependabot/pip/openai-agents-sdk/openai-agents-0.21.1 branch from f8d2c3c to 076b817 Compare August 21, 2026 08:19
@dependabot
dependabot Bot force-pushed the dependabot/pip/openai-agents-sdk/openai-agents-0.21.1 branch from 076b817 to 043bdee Compare August 21, 2026 08:21
Bumps [openai-agents](https://github.com/openai/openai-agents-python) from 0.20.0 to 0.21.1.
- [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.20.0...v0.21.1)

---
updated-dependencies:
- dependency-name: openai-agents
  dependency-version: 0.21.1
  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.21.1 branch from 043bdee to 37d4805 Compare August 21, 2026 08:24
@github-actions
github-actions Bot merged commit 05adfed into main Aug 21, 2026
8 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/openai-agents-sdk/openai-agents-0.21.1 branch August 21, 2026 08:25
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