Speeding up agentic workflows with WebSockets in the Responses API
To support its new agent features, OpenAI has updated its API with support for WebSockets to stream responses. This provides a persistent, low-latency connection for real-time communication, which is crucial for building responsive agentic workflows. The update enables developers to create more interactive and fluid user experiences.
MY TAKE
This is a fantastic quality-of-life improvement for anyone building on the OpenAI API. Moving from long polling to WebSockets for streaming is a much-needed modernization that will simplify client-side code and improve performance.
Speeding up agentic workflows with WebSockets in the Responses API" from OpenAI Blog (https://openai.com/index/speeding-up-agentic-workflows-with-websockets) [Wed, 22 Apr 2026 10:00:00 GMT]