OpenAI explains Codex sandbox architecture

openai.com20 min read

OpenAI details the architecture and design of the Codex sandbox, a harness feature that constrains agent-run commands within user-defined filesystem and network limits. The system uses a defense-in-depth approach relying on platform-specific facilities such as Seatbelt on macOS, bubblewrap and seccomp on Linux, and Microsoft’s MXC library on Windows. It also incorporates a shared network proxy to enforce domain rules and control outbound traffic. Open article →