As described in Configuration precedence, Codex merges settings from multiple config.toml files
Compiled by KHAO Editorial — aggregated from 1 source. See llms.txt for citation guidance.
★ Tier-1 Source
Tables are merged recursively, with the higher-precedence source winning when values conflict.
Key facts
- The harness exposes these OS-specific sandboxing mechanisms through a common API across macOS, Windows, and Linux
- How Codex runs commands on your machine with limits you control
- In Codex, their philosophy is to specify conservative defaults for the sandbox that still enable meaningful work
- As explained in Unrolling the Codex Agent Loop, the Codex harness is responsible for executing tool calls generated by the model
Summary
By Michael Bolin, Member of Technical Staff. At OpenAI, they take a defense in depth approach when it comes to safeguarding agents. A sandbox limits what a program can access while it runs. In this article, they'll start with the tradeoffs behind Codex’s sandbox defaults, then explain the sandbox’s design and how the harness uses it to run commands. In Codex, their philosophy is to specify conservative defaults for the sandbox that still enable meaningful work.