O

OpenAI Agents SDK (Python)

O
OpenAI Agents SDK (Python) AI v0.19.2

v0.19.2

What's Changed feat: expose original callable through wrapped by @seratch in #4038 fix: report input guardrail results when a tripwire aborts the run by @hsusul in #4071 fix: consolidate same-exception re-raises into bare raise across all modules by @AAliKKhan in #4023 fix(sandbox): preserve tagged EnvValue subclasses by @seratch in #4039 fix(modal): reject ephemeral paths during tar hydration by…

O
OpenAI Agents SDK (Python) AI v0.19.1

v0.19.1

What's Changed feat(sandbox): support native host paths in path grants by @seratch in #4009 fix: redact Realtime audio format diagnostics by @seratch in #3992 fix: redact Blaxel unmount paths in logging by @seratch in #3993 fix: retry pre-response WebSocket server errors by @dk3yyyy in #3991 fix(run): cancel the parallel input-guardrail task when the model turn fails by @gunjanjaswal in #3982 fix(…

O
OpenAI Agents SDK (Python) AI v0.19.0

v0.19.0

Key Changes This minor release does not introduce a breaking change. The minor version bump reflects a significant new OpenAI Responses feature area: Programmatic Tool Calling. Highlights: Added agents.tool.ProgrammaticToolCallingTool, which lets supported OpenAI Responses models generate JavaScript to coordinate eligible tools. It supports per-tool allowed_callers, structured function-tool output…

O
OpenAI Agents SDK (Python) AI v0.18.3

v0.18.3

What's Changed feat: make task and turn tracing spans configurable by @seratch in #3834 feat(realtime): track response usage in session context by @seratch in #3812 fix(memory): serialize OpenAI conversation session initialization by @russeell in #3821 fix(models): raise UserError for conflicting provider args instead of assert by @Dhruva-Das in #3809 fix(handoffs): preserve user messages containi…

O
OpenAI Agents SDK (Python) AI v0.18.2

v0.18.2

What's Changed feat: support GPT-5.6 request controls by @seratch in #3794 feat: add hosted multi-agent beta support by @seratch in #3788 fix(sandbox): own Daytona PTY worker tasks by @seratch in #3778 fix(realtime): enqueue callback errors synchronously by @seratch in #3777 fix(realtime): use monotonic playback timing by @seratch in #3776 fix(sandbox): own Docker deferred cleanup tasks by @seratc…

O
OpenAI Agents SDK (Python) AI v0.18.1

v0.18.1

What's Changed feat: add GPT-5.6 model defaults and migrate examples by @seratch in #3774 fix: support cache-write usage across OpenAI Python versions by @seratch in #3773 fix(realtime): make session cleanup deterministic by @seratch in #3767 fix: preserve nested tool state during restoration by @seratch in #3753 fix: close Chat Completions streams on early exit by @fallintoplace in #3689 fix(sess…

O
OpenAI Agents SDK (Python) AI v0.18.0

v0.18.0

Key Changes RealtimeAgent's default is now gpt-realtime-2.1 Since this version, the default model for RealtimeAgents is gpt-realtime-2.1: https://developers.openai.com/api/docs/models/gpt-realtime-2.1 What's Changed feat: update default realtime model to gpt-realtime-2.1 by @seratch in #3740 feat: add Unicode storage option to SQLAlchemySession by @seratch in #3746 fix(visualization): keep fillcol…

O
OpenAI Agents SDK (Python) AI v0.17.8

v0.17.8

What's Changed feat: add invalid final output recovery handler by @seratch in #3736 fix: propagate realtime session iterator cancellation by @fallintoplace in #3686 fix: redact realtime validation failure logs by @fallintoplace in #3687 fix: preserve non-dict Mapping values in _to_dump_compatible by @anxkhn in #3700 fix: escape quotes and backslashes in DOT names for visualization by @anxkhn in #3…

O
OpenAI Agents SDK (Python) AI v0.17.7

v0.17.7

What's Changed feat: expose configurable websocket max_size limit by @anneheartrecord in #3645 feat: add buffered Chat Completions tool-call streaming by @incoffeemonster in #3506 fix: reduce sandbox sink buffering and spool timeouts by @2830500285 in #3642 fix: #3346 clean up branch-only messages when deleting branches by @Aphroq in #3347 fix: #3348 make AdvancedSQLiteSession add_items atomic by…

O
OpenAI Agents SDK (Python) AI v0.17.6

v0.17.6

What's Changed feat: add pre-approval tool input guardrails by @seratch in #3487 feat: add SDK-only custom data for tool outputs by @seratch in #3486 fix: enforce the documented strict JSON-compatible contract for #3486 by @siddiksawani in #3657 fix: suppress handoff whitespace tool-name warnings by @seratch in #3652 Documentation & Other Changes docs: fix typo in sandbox guide by @mshsheikh in #3…

O
OpenAI Agents SDK (Python) AI v0.17.5

v0.17.5

What's Changed fix: expose sandbox error retryability by @qiyaoq-oai in #3581 fix: #3512 type tool-end hook results as object by @seratch in #3518 fix: use tuple form for SpeechGroupSpanData __slots__ by @jluocsa in #3534 chore: bump Modal sandbox extra to 1.4.3 by @jdoughty04 in #3538 Documentation & Other Changes docs: add MongoDB session example under examples/memory by @alexbevi in #3036 docs:…

O
OpenAI Agents SDK (Python) AI v0.17.4

v0.17.4

What's Changed feat: support Realtime custom voice objects by @lionel-oai in #3473 fix: #3459 add opt-in recovery for missing function tools by @seratch in #3461 fix: apply hardened http client default to MCP SSE transport by @ioleksiuk in #3466 fix: use non-None value for output in FunctionSpanData by @rmotgi1227 in #3475 fix: add missing entries to span slots by @rmotgi1227 in #3483 fix: redact…

O
OpenAI Agents SDK (Python) AI v0.17.3

v0.17.3

What's Changed fix: keep mountpoint credentials out of sandbox commands by @seratch in #3429 fix: unify memory optional dependency import errors by @seratch in #3389 fix: guard None text in text_message_output and add output guardrail count to RunErrorDetails by @zhoufengen in #3375 fix: avoid mutating FunctionTool params_json_schema by @ioleksiuk in #3382 fix: avoid mutating codex output schema i…

O
OpenAI Agents SDK (Python) AI v0.17.2

v0.17.2

What's Changed fix: #3268 fix OpenAI Conversations reasoning persistence by @seratch in #3352 fix: avoid auto response for unknown realtime tools (ref: #3287) by @seratch in #3366 fix: #3354 interrupt tracing retry backoff on shutdown by @Aphroq in #3355 fix: #3359 preserve local approval rejection reasons by @Aphroq in #3360 fix: #3361 honor session settings in AsyncSQLiteSession by @Aphroq in #3…

O
OpenAI Agents SDK (Python) AI v0.17.1

v0.17.1

What's Changed Sandboxes fix: include sandbox provider error details by @seratch in #3326 fix: #3274 limit sandbox archive extraction by @Aphroq in #3278 fix: #3273 validate git repo subpaths by @Aphroq in #3276 fix: allow empty GitRepo subpaths as repository root by @seratch in #3299 fix: preserve GitRepo root subpath aliases by @seratch in #3303 Tracing fix: make tracing shutdown best-effort on…

O
OpenAI Agents SDK (Python) AI v0.17.0

v0.17.0

Key Changes RealtimeAgent's default is now gpt-realtime-2 Since this version, the default model for RealtimeAgents is gpt-realtime-2: https://developers.openai.com/api/docs/models/gpt-realtime-2 Sandbox local source materialization change In this version, sandbox local source materialization keeps LocalFile.src and LocalDir.src within the materialization base_dir unless the source path is covered…

O
OpenAI Agents SDK (Python) AI v0.16.1

v0.16.1

What's Changed fix: #3109 stabilize chat completions stream output indexes by @seratch in #3176 fix: #3168 validate MCP require_approval policies by @seratch in #3179 fix: #3116 restore session history after compaction replacement failures by @Aphroq in #3117 fix: #3171 reject corrupt Dapr session state updates by @Aphroq in #3173 fix: #3170 clean up git repo temp clones on failure by @Aphroq in #…

O
OpenAI Agents SDK (Python) AI v0.16.0

v0.16.0

Key Changes Default model change In this version, the SDK default model is now gpt-5.4-mini instead of gpt-4.1. This could affect agents and runs that do not explicitly set a model. Because the new default is a GPT-5 model, implicit default model settings now include GPT-5 defaults such as reasoning.effort="none" and verbosity="low". The new default model should work better for most use cases (see…