OpenAI WebSocket Mode for Responses API
Persistent AI agents. Up to 40% faster.
OpenAI WebSocket Mode for Responses API launched on March 1, 2026 with 131 votes, #295 of 23,380 launches that month and more than 95% of that year's launches.
What it does
Every agent turn, you're resending the full context. Again. That overhead compounds fast. WebSocket Mode for the Responses API keeps a persistent connection, sends only incremental inputs, and cuts end-to-end latency by up to 40% on heavy tool-call workflows.
Learn how to use Responses API WebSocket mode with response creation, continuation, and multiplexing.
Use one persistent WebSocket connection for parallel conversations, response-chain forks, and incremental inputs for lower-latency agentic workflows. The Responses API supports a WebSocket mode for long-running, tool-call-heavy workflows. Beyond lowering latency, stream_id enables WebSocket multiplexing: one persistent connection to /v1/responses can run parallel conversations and fork an existing conversation onto a new stream. Continue each turn by sending only new input items plus previous_response_id . WebSocket mode is compatible with both Zero Data Retention (ZDR) and store=false . WebSocket mode is most useful when a workflow involves many model-tool round trips (for example, agentic…from developers.openai.com
Does a similar job
all alternatives →

I open-sourced my AI toy company that runs on ESP32 and OpenAI realtime2025 · github.com · ▲177Hi HN! Last year the project I launched here got a lot of good feedback on creating speech to speech AI on the ESP32. Recently I revamped the whole stack, iterated on that feedback and made our project fully open-source—all of the client, hardware, firmware code. This Github repo turns an ESP32-S3 into a realtime AI speech companion using the OpenAI Realtime API, Arduino WebSockets, Deno Edge Functions, and a full-stack web interface. You can talk to your own custom AI character, and it responds instantly. I couldn't find a resource that helped set up a reliable, secure websocket (WSS) AI…
Open source framework OpenAI uses for Advanced Voice2024 · github.com · ▲266Hey HN, we've been working with OpenAI for the past few months on the new Realtime API. The goal is to give everyone access to the same stack that underpins Advanced Voice in the ChatGPT app. Under the hood it works like this: - A user's speech is captured by a LiveKit client SDK in the ChatGPT app - Their speech is streamed using WebRTC to OpenAI’s voice agent - The agent relays the speech prompt over websocket to GPT-4o - GPT-4o runs inference and streams speech packets (over websocket) back to the agent - The agent relays generated speech using WebRTC back to the user’s device The…


More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 20d ago · stillwet.art

PixVerse R2▲381A real-time world model you can explore and change
AI · 28d ago · world.pixverse.video
Source: Product Hunt launch ↗
Launched alongside, March 2026
the whole month →


Switch from ChatGPT to Claude with import memory feature
AI · Mar 2026 · claude.com
Littlebird▲709Littlebird remembers everything across your meetings, messages, docs, and apps, then takes action so you can recall any detail and never lose context.
AI · Mar 2026 · littlebird.ai

