AI More detail B · Official guidance Platform: AI

Agent Sandbox

An agent sandbox is a limited place where an AI agent can run code or tools. It separates the task from the rest of the computer, but protection depends on its design.

See how it works
You might call it sandboxed agentagent execution sandboxisolated agent environment

See how it works

Original worked exampleAgent Sandbox
ISOLATED EXECUTION · TRUSTED HARNESS OUTSIDEAgent Sandboxharness | sandbox → reviewed artifact
DATAuntrusted repo → /workspacetemporary copy · no secretsA coding agent works in a temporary copy of a repository. Network access is off, secrets are absent, and time and disk are limited.
CONTROL
1Keep harness outside→trusted control
2Limit sandbox→network off · 60 s
3Inspect export✓diff + audit
BOUNDARYUse it when an agent needs an isolated workspace, local tool state, or risky code execution. Limit files, network, credentials, processes, time, and exports.FAILUREDo not call a normal folder a sandbox. Isolation does not replace permission checks, monitoring, or human review.
isolated files/process/network + resource limits + export gateOPS
Agent SandboxAI operations

Another example

A coding agent works in a temporary copy of a repository. Network access is off, secrets are absent, and time and disk are limited.

Main parts

  1. 01Isolated file space
  2. 02Process boundary
  3. 03Network policy
  4. 04Credential policy
  5. 05Resource and time limits
  6. 06Export gate and log

Use it when

Use it when an agent needs an isolated workspace, local tool state, or risky code execution. Limit files, network, credentials, processes, time, and exports.

Do not use it when

Do not call a normal folder a sandbox. Isolation does not replace permission checks, monitoring, or human review.

Name used in code

isolated files/process/network + resource limits + export gate

Before you ship

Check the model and prompt versions, source data, versioned evaluation set, and measures. Verify links to evidence, tool permissions, privacy, common failures, decline-to-answer and fallback behavior, human review, monitoring, cost, speed, and rollback.

Request you can copy

Outcome: Use or evaluate Agent Sandbox to make AI behavior measurable and tied to evidence. User context: A coding agent works in a temporary copy of a repository. Network access is off, secrets are absent, and time and disk are limited. AI method or concept: Agent Sandbox. Why it fits: Use it when an agent needs an isolated workspace, local tool state, or risky code execution. Limit files, network, credentials, processes, time, and exports. Do not use it when: Do not call a normal folder a sandbox. Isolation does not replace permission checks, monitoring, or human review. AI requirements: Define the input and source evidence. Set model and tool permissions. Use versioned evaluation data and measures. Define failure, decline-to-answer, privacy, speed, and cost limits. Operational safeguards: Keep a clear trace and hide sensitive log data. Show users a safe fallback. Mark steps that need human review. Define how to roll back the model or prompt. Acceptance criteria: Record baseline and target measures on a versioned evaluation set. Test edge cases and hostile inputs. Verify fallback, monitoring, permissions, and rollback. Evidence and limits (evidence boundary): It is official for that source. Other platforms or teams may use the term in another way. Unknowns to confirm: Target task, model and version, evaluation owner, source data, risk limit, tool permissions, and production fallback.

Check this request

Review the current use of Agent Sandbox. Definition: An agent sandbox is a limited place where an AI agent can run code or tools. It separates the task from the rest of the computer, but protection depends on its design. Release checks: Check the model and prompt versions, source data, versioned evaluation set, and measures. Verify links to evidence, tool permissions, privacy, common failures, decline-to-answer and fallback behavior, human review, monitoring, cost, speed, and rollback. Before changing code, report the evidence you found, gaps, severity, and the smallest safe fix.

B
How official is this term?

Official guidance

The named platform, framework, project, or expert group has an official guide for this term.

It is official for that source. Other platforms or teams may use the term in another way.

Scope
Beta OpenAI Agents SDK sandbox environment
Document status
experimental
Checked on
2026-07-30

Evidence sources & scope

Authority source + Term reference · OpenAI · experimental Sandbox Agents Scope: Beta OpenAI Agents SDK sandbox environments and harness-compute boundary Role here: Direct term reference Source covers: canonical name, definition, platform API, implementation, usage guidance

Copy it yourself

The browser could not copy this. Select the request below and copy it yourself.