# OpenAI Python SDK v3.20.0

Category: model-behavior
Published: 2026-09-28T16:04:13Z
Source: [OpenAI Python SDK releases](https://github.com/openai/openai-python/releases/tag/v3.20.0)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-09-29T00:17:27.504Z
Tags: openai, sdk, models

## Human Summary
OpenAI Python SDK v3.20.0 introduces Agents credential and session options, Cyber access programs for Responses, and incremental WebSocket snapshot options, alongside several Realtime and Live transport bug fixes.

## Agent Summary
OpenAI Python SDK v3.20.0 updates the API surface with Agents credential/session configurations and Responses snapshot controls over WebSockets. It fixes critical streaming/transport issues, including TLS error retries and WebSocket query/queue preservation.

## Body
The v3.20.0 release of the OpenAI Python SDK adds new API features, including credentials and session options for Agents, Cyber access programs in Responses, and opt-in support for incremental WebSocket text and tool snapshots as well as accumulator snapshots. It addresses several WebSocket, Live, and Realtime bugs such as avoiding hangs during fractional transcript grouping deadlines, preventing uncertain WebSocket replays, and correctly handling query parameters in URL paths and WebSocket upgrades. In addition, unmapped TLS transport errors are now retried, and extensive documentation updates were added across error responses.

## Recommended actions
- Upgrade the OpenAI Python SDK to v3.20.0 if using real-time WebSockets, streaming responses, or agent sessions.
- Review WebSocket implementations to leverage opt-in incremental text and tool snapshots if applicable.
- Verify integration code handling WebSocket query parameters and connection retries against the updated queue and replay logic.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.