Skip to content

Build Widely confirmed6 publishers 3 min read Published Updated

A self-hosted sandbox on OpenAI's Agents API still forfeits Zero Data Retention

OpenAI's Agents API, in public beta since September 10th, runs the Codex harness on OpenAI's own infrastructure. The documentation says data residency is US-only and Zero Data Retention is unsupported, whichever sandbox you pick.

The Engineer · Build desk

Send a correction

Illustration accompanying A self-hosted sandbox on OpenAI's Agents API still forfeits Zero Data Retention
Generated illustration

What happened

  • OpenAI launched the Agents API in public beta on September 10th, putting the harness and cloud infrastructure behind Codex into a managed service for long-running agents.
  • The Agents API documentation says the service currently supports data residency only in the United States and does not support Zero Data Retention.
  • OpenAI said in June that Agent Builder and its Evals products would be removed from the platform after November 30th, pointing code-based workflows at the Agents SDK.

Why it matters

  • What it limits constraint Teams under retention or residency rules cannot adopt the managed harness at all today, however good the compaction and tool-search behaviour turns out to be on their workload.
  • Who has to decide decision Teams that wrote their own agent loops now have to say which specific failure the loop handles that the managed harness does not, and context overflow and tool-schema bloat are no longer on that list.
  • Who's exposed exposure An agent that installs packages in the hosted sandbox can reach the network unless someone writes the template policy that stops it, so the default puts outbound egress in scope for whoever reviews the config.
  • What it sets up precedent OpenAI has drawn the line so that the sandbox is negotiable and the session path is fixed.

OpenAI says one API call creates an agent, and its launch example shows what the call configures: a model, an MCP server connection, as many as three concurrent subagents and an OpenAI-hosted environment [10]. After that, the service coordinates model calls, tool use and context while the agent works, with the developer supplying the task, the model, the tools and the execution environment [2]. The OpenAI Developers account said the company will handle orchestration, long-running sessions and context management [3].

The parts of the loop worth reading closely are the ones that manage the context window. The harness can compact earlier context as a session approaches its limit, preserving selected information so work continues across multiple context windows [6]. Tool search loads relevant tool definitions when they are needed instead of holding every schema in the prompt, and programmatic tool calling can run operations in parallel and filter results before they reach the model's context [7]. A main agent can break a task into separate assignments for subagents running with their own context, then coordinate the results [8].

In my experience those are the failure modes a hand-written loop hits first: overflow at the limit, and tool definitions crowding out the work. If that is why your loop exists, this API is a real substitute and you should price the migration.

If your loop exists for data-handling reasons, the documentation answers the question for you. The Agents API supports data residency only in the United States and does not support Zero Data Retention [12]. Self-hosting the sandbox moves code execution and files into your own infrastructure or VPC [9], but OpenAI says that does not make the workload eligible for Zero Data Retention [14]. OpenAI operates the model-facing loop either way [9].

The execution choice itself is genuinely open. Code can run in an OpenAI-hosted sandbox, on your own infrastructure, or through an integrated sandbox provider [4], and OpenAI named nine launch partners: Blaxel, Cloudflare, Daytona, DigitalOcean, E2B, Modal, Oracle, Runloop and Vercel [5][13]. Available configurations vary by provider and include different CPU, GPU, memory, file-storage and secret-storage options [18].

Read the hosted sandbox defaults before you plan around them. It can run code, install packages, work with supplied files and produce artifacts [15]. Network access is enabled by default unless a template policy changes it, and developers can disable outbound access or restrict it to an allowlist [19]. Files remain available across turns while the sandbox exists, and completed output artifacts remain downloadable after the sandbox expires [16]. An inactive hosted sandbox can be deleted after one hour [17]; the documentation does not define what counts as inactive, or when in that hour the deletion happens.

For the managed harness to be worth adopting, the compaction policy has to keep the information your task needs, and OpenAI's choice of what to preserve has to match yours. The documentation says it preserves selected information [6].

This continues a direction OpenAI set in April, when it added native sandbox execution and a more capable harness to the Agents SDK while leaving developers responsible for operating the agent process [20]. In June, OpenAI said Agent Builder and its Evals products would be removed from the platform after November 30th, directing code-based workflows toward the SDK [21].

What to watch

  • Whether OpenAI adds Zero Data Retention support or non-US data residency to the Agents API.
  • Whether the three-subagent concurrency in the launch example is a documented ceiling or just an example.
  • Where code-based workflows land after Agent Builder and Evals are removed from the platform following November 30th.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence58
Adoption34
Hype gap+22
Incentives70
Confidence62

Perspective Coverage

6 publishers
Builder
Builder 47%
Operator
Operator 31%
Investor
Investor 22%
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    OpenAI launched the Agents API on September 10th in public beta, putting the harness and cloud infrastructure behind Codex into a managed service for developers building long-running agents.

    Reported SupportedView cited source
  2. [2]

    The Agents API coordinates model calls, tool use and context while an agent works; developers specify a task, model, tools and execution environment, and OpenAI runs the agent loop on its infrastructure.

    Reported SupportedView cited source
  3. [3]

    The OpenAI Developers account (@OpenAIDevs) described the pitch as OpenAI handling orchestration, long-running sessions and context management.

    Reported Supported Source: OpenAI Developers on X, via runtimewire.comView cited source
  4. [4]

    Developers can run agent code in an OpenAI-hosted sandbox, on their own infrastructure, or through an integrated sandbox provider.

    Reported SupportedView cited source
  5. [5]

    OpenAI named Blaxel, Cloudflare, Daytona, DigitalOcean, E2B, Modal, Oracle, Runloop and Vercel as launch partners.

    Reported SupportedView cited source
  6. [6]

    The managed harness can compact earlier context as a session approaches its limit, preserving selected information so work can continue across multiple context windows.

    Reported SupportedView cited source
  7. [7]

    Tool search loads relevant tool definitions when needed, while programmatic tool calling can run operations in parallel and filter results before returning them to the model's context.

    Reported SupportedView cited source
  8. [8]

    Multi-agent support lets a main agent break a task into separate assignments and send them to subagents running with their own context, with the main agent coordinating the results.

    Reported SupportedView cited source
  9. [9]

    OpenAI operates the model-facing loop, while developers can keep code execution and files inside their own infrastructure or virtual private cloud.

    Reported SupportedView cited source
  10. [10]

    OpenAI says developers can create an agent with a single API call; its launch example assigns a model, connects an MCP server, enables as many as three concurrent subagents and gives the system an OpenAI-hosted environment.

    Reported SupportedView cited source
  11. [11]

    A session can preserve state between turns, delegate work and publish files from the sandbox as downloadable artifacts.

    Reported SupportedView cited source
  12. [12]

    The Agents API documentation says the service currently supports data residency only in the United States and does not support Zero Data Retention.

    Reported SupportedView cited source
  13. [13]

    Nine sandbox integration partners were named at launch.

    Derived Supported
  14. [14]

    Using a self-hosted sandbox does not make an Agents API workload eligible for Zero Data Retention, a material constraint for developers handling regulated or highly sensitive data.

    Reported SupportedView cited source
  15. [15]

    OpenAI's hosted sandbox can run code, install packages, work with supplied files and produce artifacts.

    Reported SupportedView cited source
  16. [16]

    Files remain available across turns while the sandbox exists, and completed output artifacts remain downloadable after the sandbox expires.

    Reported SupportedView cited source
  17. [17]

    An inactive hosted sandbox can be deleted after one hour.

    Reported SupportedView cited source
  18. [18]

    Available sandbox configurations vary by provider and include different CPU, GPU, memory, file-storage and secret-storage options.

    Reported SupportedView cited source
  19. [19]

    Network access in the hosted sandbox is enabled by default unless a template policy changes it, though developers can disable outbound access or restrict it to an allowlist.

    Reported SupportedView cited source
  20. [20]

    In April OpenAI added native sandbox execution and a more capable harness to the Agents SDK; the SDK left developers responsible for operating the agent process.

    Reported SupportedView cited source
  21. [21]

    In June, OpenAI said Agent Builder and its Evals products would be removed from the platform after November 30th, directing code-based workflows toward the Agents SDK.

    Reported SupportedView cited source

Sources

6 independent publishers whose own reporting we read for this story.

  1. blog.vercel.com

    1 article · September 9, 2026

    Build with OpenAI Agents API on Vercel
  2. dev.to

    1 article · September 11, 2026

    OpenAI Agents API simplifies enterprise agent development
  3. mezha.net

    1 article · September 10, 2026

    OpenAI призупинила нові підписки на Pro через ажіотаж навколо Astra
  4. runtimewire.com

    2 articles · September 10, 2026

    OpenAI will pause $200 Pro subscriptions as Astra strains capacity
  5. the-decoder.com

    1 article · September 11, 2026

    OpenAI's new Agents API gives developers the infrastructure behind Codex and ChatGPT
  6. thenewstack.io

    1 article · September 11, 2026

    OpenAI’s researchers burned $7,000 a day on AI agents — now it’s opening the floodgates

Topics and entities

Topics