// AI Platform Drift

OpenAI Agents Python SDK v0.26.0 breaks Docker mounts, custom tracing, local images

OpenAI Agents Python SDK releases · published 2026-11-24 09:56 UTC
ACTION NEEDED Migrate APIDeprecation
WHAT CHANGEDVersion 0.26.0, released 24 November 2026, rejects InContainerMountStrategy for Docker storage mounts during session creation and resume. Custom TraceProvider implementations must now implement is_disabled() to return their actual disabled state for Realtime server traces to work. The experimental Codex tool no longer accepts model-supplied file paths for local images; applications must grant named references for trusted images instead.
WHY IT MATTERSExisting Docker sessions with in-container mounts cannot be resumed and will be rejected. Custom tracing providers that inherit the base class without implementing is_disabled() will silently disable Realtime server traces. Code that passes local file paths directly to Codex tool calls will fail, including any pending calls in flight.
WHAT TO DOBefore upgrading: check Docker manifests for InContainerMountStrategy and replace with DockerVolumeMountStrategy or host-mounted SandboxPathGrant; verify custom TraceProvider classes implement is_disabled() using the same state as set_disabled(); audit Codex tool calls for local_image paths and replace with pre-granted named references. After upgrading, create fresh Docker sessions with updated manifests and omit any RunState containing old sessions.
Model-reported confidence 95% (not measured accuracy) Primary source ↗ Summary drafted by an AI model and checked by RADAR's rules
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## v0.26.0
+https://github.com/openai/openai-agents-python/releases/tag/v0.26.0
+2026-11-24T03:22:54Z
+
+0.26.0 (2026-11-24)
+Features
+
+Upgrade the GPT-Live demo to 1.1 (6c4e4a2)
+
+Bug Fixes
+
+allow SDK 0.25 in the external provider example (#6068) (9b17858)
+apply the Docker removal CPU limit to path inspection (14d13f4)
+bound TAR path validation work per component (abc55bd)
+check Realtime output guardrails at turn completion (dc84a13)
+give per-call MCP metadata priority over discovery defaults (7f6f5ea)
+honor the global tracing switch in Realtime (96b2799)
+limit UnixLocal snapshot link rebasing to regular files (dd444fb)
+preserve handoff redaction in Session history (6f45b21)
+protect apply_patch staging during alias moves (a29070b)
+require application approval for local images in codex_tool (#6171) (2a98dcd)
+sandbox memory selection across UTC offsets (#6066) (e7ce15a)
+sandbox: restrict Docker storage mount privileges (#6189) (b40fb80)
+stop queued function tools after input guardrail rejection (90300af)
+support opt-in JSON validation for Codex tool parameters (#6067) (54492d1)
+
+Release readiness review (v0.25.0 → v0.26.0)
+Final candidate review with the repository's $final-release-review skill for #6069.
+Diff
+v0.25.0...7263707
+Release intent
+
+Review mode
+Intended release
+Minimum required
+Versioning verdict
+
+Final candidate
+Minor, 0.26.0
+Minor
+Compatible
+
+Release call
+🟢 GREEN LIGHT TO SHIP. The minor version accounts for changes to Docker mounts and custom Realtime tracing. Both have supported upgrade paths.
+Scope summary
+55 files changed (+4,127/−458) since v0.25.0. Changes cover tools, guardrails, session history, Realtime, sandboxes, examples, and publishing. Only six release files differ from main at b40fb8097f007de181db9c382da53d8e0b7d6eaf. The package, lockfile, manifest, source version, and API snapshot agree. The SDK still supports Python 3.10+ with the same dependency bounds. The session and RunState schemas are unchanged. Some Docker sessions need replacement as described below.
+Risk assessment
+
+🟢 LOW · Docker storage. Docker now rejects InContainerMountStrategy, including read-only mounts, during creation and resume. The SDK refuses to reuse privileged containers or those with added capabilities. It also requires inspectable host settings. Start a fresh session with the revised manifest. Omit the prior session and any RunState containing it. Restore saved workspace files from a snapshot if needed. See src/agents/sandbox/sandboxes/docker.py and docs/sandbox/clients.md.
+🟢 LOW · Custom tracing providers. In v0.25.0, Realtime sent its configured server tracing settings without checking the global provider. An inherited TraceProvider.is_disabled() now returns True. To retain server traces, implement the method using the same state as set_disabled(). The default provider already does this. See src/agents/tracing/provider.py and src/agents/realtime/openai_realtime.py.
+🟢 LOW · Local images in the experimental Codex tool. A model-supplied file path no longer grants access. This also affects pending calls. Grant a named reference for each trusted image and use that reference in the call. See src/agents/extensions/experimental/codex/codex_tool.py.
+🟢 LOW · Sandbox moves and snapshots. Moving between aliases of one file now requires private staging. On backends without that support, update the original path in place. UnixLocal only rebases absolute links to archived regular files. Before saving, replace absolute directory or root links with safe relative links. See src/agents/sandbox/apply_patch.py and src/agents/sandbox/sandboxes/unix_local.py.
+
+Documentation coverage
+Partially covered. The Docker guide in #6189 covers migration. The tool reference and Live example include the new options. The guardrails guide already explains when tool side effects can occur. No open documentation PR targets this stable release. #6136 at 6fc8b3d210d41ece16b9dba9a5093b751a2e3545 covers specialist approvals in an earlier Live example on a separate branch.
+After publication, add the upgrade steps below to docs/release.md. In docs/realtime/guide.md, explain the final output check and custom tracing query. Document metadata precedence in docs/mcp.md, filtered history in docs/handoffs.md, and portable links and alias moves in docs/sandbox/guide.md. Keep the standalone external provider example on its tested SDK range (>=0.24.0,<0.26.0) until separately verified.
+Key Changes
+This minor release includes breaking changes for Docker storage mounts, custom Realtime tracing and local images. Check these settings before upgrading.
+Highlights
+
+Docker mounts. Replace in-container mounts with DockerVolumeMountStrategy and a compatible driver. For storage such as S3 Files, mount it on the Docker host and use a trusted SandboxPathGrant. Preserve read-only access and any bucket prefix. Create a fresh session with the updated manifest.
+Realtime tracing. A custom TraceProvider must report its actual disabled state through is_disabled() to enable server traces. The built-in provider honors the global tracing switch.
+Codex tool inputs. For an image you control, pass image_attachments={"diagram": "/app/diagram.png"}. Use "diagram" as the local_image path. Grant only absolute paths without commas. For strict input types such as tuples, opt into parameter_validation_mode="json". The default remains "python".
+Guardrails and history. An input tripwire stops queued function tools. Use run_in_parallel=False to check input before any tool starts. Handoff filters keep redacted call arguments in saved session history. Realtime checks remaining text and audio transcripts at turn end.
+MCP. For conflicting keys, explicit call metadata takes priority, followed by tool_meta_resolver, then discovery defaults.
+Sandboxes. Use safe relative directory links in portable UnixLocal snapshots. Patch moves protect staged files. TAR validation checks one path component at a time. Docker's removal CPU limit also covers path inspection. Memory selection compares timestamps across UTC offsets.
+Live example. The browser demo adds speech-triggered standby and search citations. Its openai>=3.57.0,<4 requirement applies only to the demo.
+
+Notes
+The comparison uses the latest stable release on main. The 1.0 alpha tags belong to a separate release line.
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMaterial (MATERIAL) at 0.92, needed 0.5
triage reasoningBreaking changes in Docker mounts, Realtime tracing, and Codex tool require code changes before upgrade.
signalsbreaking changes documented: Docker storage mounts, custom Realtime tracing, local images in Codex tool · upgrade path required: fresh Docker sessions needed, TraceProvider.is_disabled() implementation required · API behavior changes: Docker rejects InContainerMountStrategy, Realtime tracing provider check added, local image path access removed · schema stability claimed but migration steps mandatory for three subsystems · minor version bump justified by breaking changes with supported upgrade paths
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)