Codex Voice cuts tool latency by streaming context to the harness before delegation

SIGKITTEN · x · 2026-11-05

OpenAI Codex engineer daidaijiayu shared how Codex Voice reduces backend tool latency: instead of opening a fresh turn only after the audio model delegates, all audio, text, and delegation notifications are streamed continuously to the harness, which aggregates context throughout the conversation. When delegation happens, context is already built, so tools execute immediately.

An accompanying diagram contrasts the two timings: the naive path is delegate → build context → execute tools; the streaming path builds context while audio streams, shrinking the wait after delegation.

The implementation lives in codex-rs/core/src/realtimeconversation.rs (2,900 lines) in the openai/codex repo.

Original post →

More from coding & agent

coding & agent channel →