@openai/agents-openai
0.22.0 · 12 Nov 2026MIT2.5M / weekRepositoryHomepagenpmAtom feed
107 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.22.x · latest line
0.22.0
12 Nov 2026Refresh compatible SDK, toolchain, and example dependencies
session: Defer automatic Responses compaction for pending tool approvals
Allow sandbox clients to prepare manifest environments in their execution context (#2077).
Patch Changes
Refresh compatible SDK, toolchain, and example dependencies
session: Defer automatic Responses compaction for pending tool approvals
Allow sandbox clients to prepare manifest environments in their execution context (#2077).
agents-openai: Allow forcing a function or handoff that shares a built-in Responses tool name (openai/openai-agents-python#5639).
Export valid tracing items when another item cannot be serialized
Accept namespaced OpenAI model IDs for Responses compaction and forward the full identifier to the client (openai/openai-agents-python#5225).
openai: Default reasoning effort to
nonefor function tools and handoffs on the OpenAI Chat Completions API withgpt-6-solandgpt-6-luna, matching openai/openai-agents-python#5420.tracing: Expose offered Chat Completions tool definitions on generation spans when sensitive data capture is enabled. Custom processors and custom export destinations can inspect the definitions. Hosted OpenAI trace exports omit them.
Batch conversation session appends in order within the 20-item request limit (openai/openai-agents-python#5334)
agents-openai: Remove duplicate endpoint helper imports that prevented the provider package from compiling.
Reject unfinished official Chat Completions streams and describe missing stream completion (openai/openai-agents-python#5211, openai/openai-agents-python#5457).
Preserve bounded JSON usage metadata and reuse OpenAI wire types; breaking types require narrowing usage details, Realtime image content, nullable MCP descriptions, unknown schemas/tracing metadata, and optional transcription breakdowns; saved states retain schema 1.23 when compatible and use 1.24 for richer metadata or newer nested runs.
Update Zod to 4.6.6 while preserving saved guardrail checkpoints with omitted metadata.
- 0.21.x
0.21.0
20 Oct 2026Preserve bounded nested numeric token usage breakdowns across streamed runs, usage accounting, and saved run state (schema 1.23, with backward reads of earlier snapshots; #2082); usage detail values now require narrowing to numbers before arithmetic.
Preserve image detail when reading user messages from OpenAI Conversations sessions (#2078).
Patch Changes
Preserve bounded nested numeric token usage breakdowns across streamed runs, usage accounting, and saved run state (schema 1.23, with backward reads of earlier snapshots; #2082); usage detail values now require narrowing to numbers before arithmetic.
Preserve image detail when reading user messages from OpenAI Conversations sessions (#2078).
- 0.20.x
0.20.0
8 Oct 2026Only updates a dependency:@openai/agents-core 0.20.0
- 0.19.x
0.19.0
5 Oct 2026Add an optional rollback item budget for Responses session compaction.
Omit supported generation reasoning from default OpenAI trace exports while preserving original spans and custom destinations
Preserve post-construction agent storage settings through model requests and cloning.
Patch Changes
Add an optional rollback item budget for Responses session compaction.
Omit supported generation reasoning from default OpenAI trace exports while preserving original spans and custom destinations
Preserve post-construction agent storage settings through model requests and cloning.
Keep parent transport overrides out of agent tool runs with an explicit Model while preserving common settings and explicit child overrides.
Honor sensitive-data tracing opt-out for Responses payloads and provider errors.
Omit tool content from strict Chat Completions mixed-output diagnostics.
Preserve stored history excluded from the latest successful model exchange during automatic compaction.
Update compatible runtime and development dependencies.
Reject selected handoff input filters with server-managed conversationId or previousResponseId before handoff side effects; use client-managed history or a Session without continuation options instead.
Update compatible workspace dependencies while preserving supported provider and Expo versions.
Bound repeated trace truncation work and fall back to a preview for expensive fields.
Retry transient trace export failures with bounded server-directed delays and honor explicit retry advice.
Remove unused dependency declarations while retaining shared logging through agents-core.
- 0.18.x
0.18.0
10 Sep 2026Support the image generation tool action option
core: Avoid redundant final computer screenshots
core: Recover deferred tools during response continuation
Key Changes
Docker file API migration
Docker file APIs now run entirely inside a running container. This changes compatibility for applications that relied on host-side file access: images need
/bin/shand GNU filesystem utilities, includingrealpath, and access uses the container's default user or explicitrunAs. Use a compatible image and suitable file permissions. Editor updates accept source files up to 10 MiB; useexecCommandfor larger edits. Newly added path grants require resume or recreation before file APIs can use them.Optional UnixLocal file protection
UnixLocalSandboxClientaddsfileIOProtection: 'auto' | 'required' | 'off'. The default'auto'selects Python-based file protection when available and otherwise retains Node filesystem behavior. Use'required'to reject unavailable protection or'off'to retain the Node backend. Inspectsession.fileIOBackendto see the selection. This protection applies to file/editor operations and does not confine host shell commands.Image-generation action selection
imageGenerationTool()now acceptsaction: 'generate' | 'edit' | 'auto'and forwards it through streaming and non-streaming Responses requests. Leavingactionunspecified preserves provider defaults.What's Changed
Support the image generation tool action option
core: Avoid redundant final computer screenshots
core: Recover deferred tools during response continuation
sandbox: Harden UnixLocal file I/O and route Docker file APIs through containers
sandbox: Preserve sandbox workdirs for shell command lists
realtime: Preserve agent_end response ownership
- 0.17.x
0.17.2
8 Sep 2026Preserve model settings for GPT-5 and newer models
What's Changed
Preserve model settings for GPT-5 and newer models
0.17.1
8 Sep 2026Add server-wide MCP tool guardrails
Allow custom output guardrail blocked messages
sandbox: Allow labels on Docker sandbox containers
What's Changed
Add server-wide MCP tool guardrails
Allow custom output guardrail blocked messages
sandbox: Allow labels on Docker sandbox containers
Support image results in web search tools
Enforce selected callable type alias contracts
Preserve serialized approval resume ownership
Recover failed resumed Session writes before continuing runs
Preserve Chat Completions tool turns during replay
Preserve approvals before handoffs and recover resumed writes
Prevent sandbox Git repository argument injection
Preserve tool-search attribution across agent handoffs
core: Honor EOF hunks for newline-terminated files
core: Wait for in-flight trace exports in forceFlush
core: Handle span processor rejections
core: Preserve CRLF line endings in applyDiff
core: Reject unsuccessful OpenAI Responses terminal states
core: Detach aggregated usage records
core: Preserve handoff callback errors
core: Isolate cached MCP tool definitions
core: Deduplicate MCP server lifecycle ownership
core: Strip created_by from RunItem replay
openai: Reject truncated empty Chat Completions
openai: Honor provider client options over defaults
openai: Preserve empty hosted MCP outputs
openai: Restrict redacted response IDs to official endpoints
openai: Preserve response span data on early stream close
openai: Reset compaction state on clear
openai: Keep Conversations history limits local
realtime: Safely serialize guardrail feedback details
extensions: Decode PTY output incrementally
openai: Reset compaction state after pop
Preserve deferred tool identity across approval checkpoints
sessions: Preserve concurrent writes during automatic compaction
sandbox: Settle PTY output before cleanup
sandbox: Await PTY startup cleanup
realtime: Warn instead of silently dropping MCP items in resetHistory
Documentation & Other Changes
Route executable docs and contract changes to existing checks
Pin LF line endings so Windows clones keep fixture hashes
Make test scripts work on Windows
Enforce selected object property API contracts
Reduce Vitest global setup dependency loading
0.17.0
19 Aug 2026Reading the note…
- 0.16.x
0.16.1
16 Aug 2026Reading the note…
0.16.0
15 Aug 2026Reading the note…
- 0.15.x
0.15.0
11 Aug 2026Reading the note…
- 0.14.x
0.14.3
5 Aug 2026Reading the note…
0.14.2
1 Aug 2026Reading the note…
0.14.1
29 Jul 2026Reading the note…
0.14.0
28 Jul 2026Reading the note…
- 0.13.x
0.13.5
17 Jul 2026Reading the note…
0.13.4
15 Jul 2026Reading the note…
0.13.3
13 Jul 2026Reading the note…
0.13.2
11 Jul 2026Reading the note…
0.13.1
9 Jul 2026Reading the note…
0.13.0
7 Jul 2026Reading the note…
- 0.12.x
0.12.1
7 Jul 2026Reading the note…
0.12.0
24 Jun 2026Reading the note…
- 0.11.x
0.11.8
19 Jun 2026Reading the note…
0.11.7
18 Jun 2026Reading the note…
0.11.6
29 May 2026Reading the note…
0.11.5
22 May 2026Reading the note…
0.11.4
12 May 2026Reading the note…
0.11.3
11 May 2026Reading the note…
0.11.2
11 May 2026Reading the note…
0.11.1
9 May 2026Reading the note…
0.11.0
8 May 2026Reading the note…
- 0.10.x
0.10.1
7 May 2026Reading the note…
0.10.0
7 May 2026Reading the note…
- 0.9.x
0.9.1
6 May 2026Reading the note…
0.9.0
5 May 2026Reading the note…
- 0.8.x
0.8.5
21 Apr 2026Reading the note…
0.8.4
20 Apr 2026Reading the note…
0.8.3
6 Apr 2026Reading the note…
0.8.2
31 Mar 2026Reading the note…
0.8.1
25 Mar 2026Reading the note…
0.8.0
23 Mar 2026Reading the note…
- 0.7.x
0.7.2
16 Mar 2026Reading the note…
0.7.1
13 Mar 2026Reading the note…
0.7.0
12 Mar 2026Reading the note…
- 0.6.x
0.6.0
9 Mar 2026Reading the note…
- 0.5.x
0.5.4
5 Mar 2026Reading the note…
0.5.3
2 Mar 2026Reading the note…
0.5.2
26 Feb 2026Reading the note…
0.5.1
24 Feb 2026Reading the note…
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.