OpenAI's Codex Harness: Speed, Context, and Security
OpenAI's Dominik Kundel details the Codex harness's technical innovations, from websocket mode to advanced security measures.

Visual TL;DR
inference less of an issue than network itself with 1000 tokens/second
From the articleAs OpenAI's GPT 5.3 Codex Spark began serving a thousand tokens per second on Cerebras hardware, a new bottleneck emerged.
persistent connection replaces HTTP, drastically reducing redundant data transfer for context
From the article 2 mentionsThe solution, Kundel explains, was the adoption of websocket mode.
only tool call result sent back per turn, model avoids resending every item
From the article 6 mentionsWebsocket mode carries stateful context, meaning only the tool call result is sent back per turn.
websocket mode and stateful context enable high-speed, practical AI deployment
From the article 2 mentionsHe reveals how the team tackled critical performance and security challenges as their models scaled.
action execution uses secure sandboxing to prevent unauthorized access or malicious activity
From the article 3 mentionsThis sandboxing is implemented differently across operating systems. macOS uses seatbelt, Linux employs bubblewrap, and for Windows, the team developed a custom open-source sandbox.
system flags suspicious actions for human review, ensuring robust security measures
From the article 2 mentionsTo mitigate this risk, OpenAI implemented an escalation process involving an auto-review subagent.
Codex harness built in Rust, providing transparency and community contribution opportunities
From the articleDominik Kundel concludes by highlighting that the harness is open source, licensed under Apache 2.
long-horizon goals focus on measurable, auditable outcomes for AI safety and reliability
From the articleThis approach emphasizes the importance of concrete, verifiable objectives over vague essay-like instructions.
Contents(6)
© 2026 StartupHub.ai. All rights reserved. You may not republish this article in full without a license. Search engines and AI research tools may crawl and summarize for reference. Bulk reproduction or model training requires a license. See our terms.
Written by
Daniel SingerEditor, StartupHub.ai
Daniel Singer is the editor of StartupHub.ai, a technology expert and thought leader on AI and its applications across sectors, from fintech and healthcare to developer tooling and consumer software. He writes and tests the tools covered here thoroughly and regularly, and built StartupHub.ai to give founders, operators and buyers a clearer read on what they are actually being sold.