TL;DR - OpenAI published the answer to “how do you run 500 OpenClaw agents safely”

On 12 November 2026, OpenAI’s developer blog published “Securing persistent agents like OpenClaw at OpenAI,” written by Kevin S Lin. For the first time, OpenAI documented how it secures the hundreds of OpenClaw agents it runs internally. At 12:36 PM Pacific the same day, the official @openclaw account pointed to the post as the place to learn how OpenClaw Enterprise protects persistent agents. The headline answer is a single architectural move: treat the Gateway as trusted code and the agent workload as untrusted code.

That is not a slogan. It is a set of enforceable boundaries. Remote harness execution runs the Gateway in a separate container — a separate cluster inside OpenAI — while the agent is sandboxed as untrusted code. The sandbox is specified in four control groups. Every agent action passes auto-review, where a second model approves what the primary agent wants to do. Every agent carries its own identity bound to a ChatGPT Service Account, separate from the user’s. Every control-plane configuration change and every agent turn is logged, with access restricted to a handful of people on the security team. OpenAI says it now has more than 500 agents running proactively in the background, and that OpenClaw Enterprise — the open-source control plane announced at OpenAI DevDay — is still in pilot with a 1.0 release planned by the end of the year.

Two more independent-but-aligned developments landed the same day. First, ClawCon is coming to Shenzhen on 4–6 December 2026: Claw Hack, the hackathon, runs 4–5 December with applications closing 25 November, and ClawCon, the flagship conference, takes the afternoon of 6 December with partners including Tencent, NVIDIA, vLLM, M5Stack, Seeed Studio and NYU Shanghai. Second, on main, pull request #197851 makes a failed update roll itself back — if Doctor fails or the Gateway cannot start, the upgrade reverts to the previous version — while #198107 and #198271 unblock 2026.11.4’s release qualification.

The verdict: the argument about whether persistent agents belong in production has now been answered by their largest operator. Yes — but build the boundary first, then scale.

1. The core boundary: a trusted Gateway and an untrusted agent

OpenAI’s threat model differs from ordinary software. Persistent agents run around the clock, can change their own configuration and can write arbitrary code, so in OpenAI’s words, “attacks come from the inside when agents take misaligned actions.” The answer is not a sharper warning in a prompt. It is to separate trusted, deterministic logic — networking, identity and sandboxing — from untrusted model execution.

Concretely, OpenAI implemented remote harness execution in the open-source project, letting the OpenClaw Gateway run in a separate container, and in OpenAI’s case a separate cluster, from the agent harness. The Gateway is treated as trusted code; the agent workload is sandboxed as untrusted code. This is the foundation of the whole design. If untrusted task input — a supplier email, a support ticket, a web page, generated code — can trigger a command that rewrites the configuration enforcing its own limits, the boundary is circular. A worker cannot be the sole administrator of the rules constraining that worker.

The sandbox controls are listed in four groups. First, network access goes through an organization-managed allowlist with explicit denials. Second, writes are allowed only in agent working directories. Third, processes are isolated with the Codex Linux sandbox. Fourth, secrets are handled by a credential broker, so the agent never sees them.

OpenAI also published sample requirements.toml and config.toml settings. The unrestricted danger-full-access mode is removed; only cached hosted web search is allowed; a managed network proxy is required; and the deny list includes paste sites, webhook catchers and cloud metadata endpoints such as 169.254.169.254. The sample also denies access to the SSH credentials folder and strips GitHub tokens from agent command environments, while noting honestly that this “does not hide credentials stored in accessible files.”

2. Three more layers: auto-review, identity, restricted logs

Three further layers sit on top of the sandbox. Auto-review is enforced on all agent actions, so a second model approves the primary agent’s actions and human attention is saved for high-value approvals; OpenAI notes this is natively supported in both OpenClaw and Codex. Identity is per agent: each one is tied to its own ChatGPT Service Account, giving it an inference credential separate from the user’s, which lets OpenAI audit its actions or switch off its inference independently. Logs are restricted: every control-plane configuration change and every agent turn is recorded, with those logs visible only to a few people on the security team.

For enterprises, the most immediately useful reminders come from OpenClaw’s own sandbox documentation. Sandbox containers default to network: "none"; “host” is blocked; and you have to opt in to “bridge” for outbound access. The reference also notes that setupCommand runs once after container creation and needs network egress — so the correct move is to bake packages into the sandbox image rather than leave the network open for installers. And changing sandbox configuration does not affect running containers: run openclaw sandbox recreate --all after editing agents.defaults.sandbox.*, while openclaw sandbox explain --agent <name> prints the effective sandbox mode, workspace access, tool policy and elevated-tool gates.

3. ClawCon heads to Shenzhen, 4–6 December

OpenClaw’s official blog published “OpenClaw is coming to Shenzhen” on 13 November, authored by Vincent Koc, announcing a three-day festival of claws in Shenzhen on 4–6 December 2026: Claw Hack, the OpenClaw hackathon, on 4–5 December, followed by ClawCon, the flagship conference, on the afternoon of 6 December.

Claw Hack runs for two days with core team members in the room to pair-program, review PRs and troubleshoot. It has two tracks. The software track covers Skills, Plugins, integrations, local knowledge tools and new interfaces. The hardware track brings agents into the physical world with M5Stack development hardware, Seeed Studio’s open-source reBot Arm B601, Pamir’s Lapis One and the Autonomous Lamp — some of which is unreleased. Applications close on 25 November. ClawCon itself runs two tracks, with talks and live demos on open-source AI, open-weight models, building and evaluating agents, and what it really takes — and costs — to run agents locally and in the cloud, plus a Claw Clinic for hands-on setup help. Partners include Tencent, NVIDIA, vLLM, M5Stack, Seeed Studio, NYU Shanghai, sspai, Pamir, muShenzhen, Parsewave and Autonomous. The two events have separate Luma registrations, so attending all three days means signing up for both.

4. On main: failed updates roll back, and 2026.11.4 qualifies

Two changes on main matter more directly for self-hosters. PR #197851, merged at 11:38 PM Pacific, rolls back activated releases that fail Doctor or Gateway startup. Two gaps used to mean a bad release could stay installed after activation: rollback after activation had no record of the earlier state schema unless the pre-activation canary supplied one, so it reported rollback-state-unverified and left the bad release in place; and updates that did not restart a service never booted the new release at all. Now the baseline is read for every SQLite-backed update, and a new activated-gateway-startup step boots the new release once on real state, with channels, providers, cron and watchers suppressed, waiting up to two minutes for /readyz. If the Gateway cannot become ready, the update falls into the existing rollback. The PR’s test table shows the difference: with the canary skipped, a Gateway that crashes at boot, a Doctor change that writes an invalid config value, and a state migration that throws each left main on the bad commit, while the new build rolled back to the earlier version with a healthy Gateway. PostgreSQL state keeps the older behavior for now, and the step is skipped when a running Gateway owns the state, the profile uses a remote Gateway, or the Gateway serves TLS.

PR #198107 unblocks exact 2026.11.4 qualification, recording a maintainer-approved exception for 21 retained RSS memory threshold violations and one Gateway CPU overage of 410.6% against a 360% limit. A follow-up, PR #198271, widens that performance waiver to every 2026.11.4 performance run while keeping correctness, crash, data-integrity and install-or-update gates mandatory. Neither PR changes shipped behavior. At the last check, GitHub had no 2026.11.4 tag or release, and npm still listed 2026.11.3 as latest and 2026.11.5-beta.2 as beta.

Smaller main-branch fixes landed too: PR #197846 keeps composer drafts across app restarts in the iOS and macOS chat apps; PR #197908 lets you edit queued messages and returns rejected sends to the composer with a “Not sent” note, never moving a message that may already have been delivered; PR #198022 routes Telegram widgets in private-chat topics, recording each widget’s topic so a tap lands in the right queue, enabled with channels.telegram.widgets: true; PR #198214 makes only the running Gateway refresh shared OAuth sign-ins; PR #198250 downscales tall screenshots over 25 megapixels (up to 64) instead of dropping them; and PR #198163 stops skills update --all after Ctrl+C so the current skill finishes and no further update starts.

5. Four actions an enterprise can take this week

  1. Separate before you scale. Write down the trust level of the Gateway versus the agent workload. Even with a single agent, make sure it cannot change its own permissions.
  2. Give it no network until it needs one. The official reference already defaults to closed. Bake install dependencies into the image instead of keeping egress open.
  3. Route every credential through a broker. Hand the agent a scoped, short-lived identity, not a long-lived key that can widen its own role.
  4. Back up before upgrading, and upgrade with a restart. Until 2026.11.4 ships, do it by hand: back up state, update in a way that triggers a restart, and confirm the Gateway answers before you walk away — exactly what PR #197851’s test table implies.

The verdict: the story here is not “OpenClaw shipped another release.” It is that the production bar for persistent agents is being defined by OpenAI, and the bar is an architectural boundary, not a prompt.

FAQ (frequent questions, answered directly)

Q1: What exactly did OpenAI publish? Is it an OpenClaw feature release? A: It is an architecture methodology, not a feature release. OpenAI published the full control set for running persistent agents at company scale — threat model, four sandbox control groups, auto-review, per-agent identity and restricted logs — and explicitly notes these are details of OpenAI’s own implementation, not a claim that every installation has the same protection.

Q2: What does “trusted Gateway, untrusted agent” mean in practice? A: It means the Gateway that hands out configuration and the agent harness that reads, writes and executes code run in separate containers or clusters, so no path lets the agent rewrite the layer that constrains it. This is enforced architecture, not a request in a prompt — a sentence cannot stop a process that can edit its own config file.

Q3: How are 500-plus agents audited? Does a human read every log? A: Three layers combine. Auto-review has a second model approve every action; each agent is bound to an independent ChatGPT Service Account, giving OpenAI a credential separate from the user’s so it can audit the agent or kill its inference on its own; and every turn plus every control-plane change is logged, with logs visible only to a few people on the security team. Humans step in for high-value approvals.

Q4: Is this worth doing if my company runs only one or two agents? A: The four sandbox groups and the credential broker are the parts worth copying. OpenClaw’s own reference already defaults to network: "none" with “host” blocked and outbound access requiring an explicit “bridge” opt-in — stay on the defaults and you already have the most important layer.

Q5: What should I know about ClawCon? A: Three things: it runs 4–6 December in Shenzhen (Claw Hack on the 4th and 5th, ClawCon on the afternoon of the 6th); Claw Hack applications close on 25 November and the two events need separate Luma registrations; and the hardware track includes unreleased devices plus open-source hardware from M5Stack and Seeed Studio.

Q6: When can I upgrade to 2026.11.4, and should I wait? A: At the time of checking, GitHub had no 2026.11.4 tag or release and npm’s latest was still 2026.11.3. It has cleared qualification — with exceptions for 21 RSS memory threshold violations and one CPU overage of 410.6% against a 360% limit — but that performance waiver was widened to every 2026.11.4 performance run, so waiting for the formal release and field reports is the safer call.

Q7: Could an OpenClaw upgrade leave the system broken? A: That is exactly what PR #197851 addresses. Previously a failed update could stay installed, and an update that did not restart a service never even booted the new release. The new path boots the new version once on real state, waits up to two minutes for /readyz, and reverts if the Gateway is not ready. Note that PostgreSQL state does not yet support this rollback path.

Q8: What is the security angle for the ClawCon hardware track? A: Robot arms, lamps and sensor kits give agents physical side effects, a different risk class from code and network permissions. Bring a clear permission story and a physical safety boundary with any device skill — a sandbox for a robot arm is not the same thing as a container sandbox.

Key Terminology

  • Persistent agent: an agent that runs around the clock, holds a broad objective rather than a fixed goal, and can take action proactively without per-step human instructions.
  • Gateway: OpenClaw’s control-plane component that issues configuration and policy. In OpenAI’s architecture it is trusted code, running separately from the agent workload.
  • Remote harness execution: the mode where the Gateway and the agent harness are physically separated, which is what makes the trusted/untrusted boundary enforceable.
  • Auto-review: a second model approving each action of the primary agent, reserving human attention for high-value decisions.
  • Credential broker: an intermediary that holds credentials and issues them on demand, so the agent never touches the secret itself.
  • ChatGPT Service Account: an inference identity separate from the user’s, bound per agent so it can be audited individually or switched off.
  • Sandbox workspace limits: settings such as tools.fs.workspaceOnly that confine agent writes to a designated directory so it cannot quietly rewrite its own runtime configuration.
  • ClawCon / Claw Hack: OpenClaw’s flagship conference and hackathon, landing in Shenzhen on 4–6 December 2026 with software and hardware tracks.

References

Official and primary sources

Media reporting (cross-verified)