← heapsort
ARTICLE31

Speeding up agentic workflows with WebSockets in the Responses API

OpenAI BlogΒ·April 22, 2026

This article provides a deep dive into the Codex agent loop, detailing how the integration of WebSockets and connection-scoped caching significantly improved model latency. These optimizations were crucial in reducing API overhead, enhancing the efficiency of agentic workflows.

Read original β†—