How OpenAI uses the Codex sandbox to limit always-on OpenClaw agents
A scheduled agent can sort product feedback. The harder decisions are what it can read, where it can write, and who can stop it. In a November 12 developer post, OpenAI’s Kevin S Lin describes how the company handles those decisions. OpenAI says it runs hundreds of OpenClaw agents internally and gives examples such as turning product feedback into pull requests and running ongoing data experiments.
Separate configuration from execution
OpenAI puts the gateway that configures the agent in a different container from the agent runtime. Its internal deployment uses separate clusters. The gateway follows administrator settings. The agent and any code it generates run inside a restricted environment, where unexpected code is still subject to the sandbox.
What the Codex sandbox controls
The deployment uses Codex’s Linux sandbox to isolate processes and limits writes to designated work directories. A managed proxy restricts network destinations. A separate credential service keeps secrets out of the agent runtime. The post shows how OpenAI uses requirements.toml to restrict available sandbox and network settings and config.toml to choose the permissions for a workload.
A second model reviews requested actions. Each agent has its own identity and associated ChatGPT service account, so operators can trace actions and suspend that agent’s model access. OpenAI records configuration changes and interactions, with access to sensitive logs limited to a small security group.
Start with one task that needs few permissions
For a CodexBro pilot example, give a weekly feedback task a sample with personal information removed and ask it to produce a summary for review. Start with a separate test workspace and identity, read-only input and one writable output directory. Put a harmless test file outside the allowed area and check that the task cannot read it. Check that the logs identify who started the task and which files it wrote. Before connecting real feedback, keep external sends and submitted changes subject to human confirmation.
OpenAI describes an internal deployment. Its post includes example sandbox settings and says that OpenClaw Enterprise, which has a standard Codex preset, is still in pilot.
