@openai/agents-realtime
0.22.0 · 13 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
13 Nov 2026Preserve 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.
Refresh compatible SDK, toolchain, and example dependencies
realtime: Cancel active WebSocket responses on manual interrupt before audio starts.
Minor Changes
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.
Patch Changes
Refresh compatible SDK, toolchain, and example dependencies
realtime: Cancel active WebSocket responses on manual interrupt before audio starts.
Update Zod to 4.6.6 while preserving saved guardrail checkpoints with omitted metadata.
- 0.21.x
0.21.0
20 Oct 2026Refresh WebSocket dependencies and development tooling.
Reject WebRTC connections when the server reports an error before the initial session configuration is acknowledged (#466).
Preserve Twilio audio format defaults when session audio configuration is omitted (#2072).
Patch Changes
Refresh WebSocket dependencies and development tooling.
Reject WebRTC connections when the server reports an error before the initial session configuration is acknowledged (#466).
Preserve Twilio audio format defaults when session audio configuration is omitted (#2072).
Update the Realtime browser bundler to Vite 8.
- 0.20.x
0.20.0
8 Oct 2026Preserve audio interruption after generation with transport-appropriate buffer clearing and response-specific playback duration.
Patch Changes
Preserve audio interruption after generation with transport-appropriate buffer clearing and response-specific playback duration.
- 0.19.x
0.19.0
5 Oct 2026Redact default function-tool and Realtime approval parse failures; require explicit invocation policy for sensitive error traces and clarify when custom errorFunction feedback applies.
Prevent stack overflow when encoding large Realtime audio buffers.
Minor Changes
Bind conditional tool approvals to isolated normalized execution input in core and Realtime, re-evaluate current policies on durable approval resumes, reject uncopyable normalized values before conditional approval, and preserve invalid-input handling (#1914, #1915).
Redact default function-tool and Realtime approval parse failures; require explicit invocation policy for sensitive error traces and clarify when custom errorFunction feedback applies.
Patch Changes
Prevent stack overflow when encoding large Realtime audio buffers.
Release waiting tasks after automatic realtime response requests are satisfied by coalescing.
realtime: Keep conversation order when updateHistory corrects or inserts items, including overlapping edits
Update compatible runtime and development dependencies.
Update compatible workspace dependencies while preserving supported provider and Expo versions.
Clear stale tools when switching to a tool-less Realtime agent without a prompt while preserving existing empty-tool configuration behavior.
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.