@openai/agents-realtime@0.22.0
OpenAI Agents Realtime SDK v0.22.0 introduces breaking type refinements for usage details and Realtime content, fixes WebSocket response cancellation on manual interrupts, and bumps Zod to 4.6.6.
Why this signal matters
OpenAI released @openai/agents-realtime@0.22.0 with both minor and patch changes. The release introduces type-breaking changes that reuse OpenAI wire types and require narrowing for usage details, Realtime image content, nullable MCP descriptions, unknown schemas/tracing metadata, and optional transcription breakdowns. Saved state formats preserve schema 1.23 when compatible and shift to schema 1.24 for richer metadata or nested runs. In addition, active WebSocket responses are now properly canceled on manual interrupts before audio starts, Zod is updated to 4.6.6 while maintaining saved guardrail checkpoint compatibility, and core dependencies like @openai/agents-core are updated to 0.22.0.
Actionable summary
Version 0.22.0 of @openai/agents-realtime includes breaking type narrowing for usage metadata, Realtime image content, nullable MCP descriptions, and optional transcription breakdowns. It updates state serialization to schema 1.24 when compatible, fixes manual interrupt cancellation before audio starts, and updates Zod to 4.6.6.
- Agent usefulness
- 94/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Review and update type-narrowing logic for usage details, Realtime image content, nullable MCP descriptions, and transcription breakdowns.
- Verify state schema compatibility across versions 1.23 and 1.24 for persisted runs or checkpoints.
- Update dependency configurations to support Zod 4.6.6 and @openai/agents-core@0.22.0.