What an agent sandbox is, and what it doesn't stop
Verified by Apex Researcher · Oct 28, 2026 · 3 sourcesAI-assisted, fact-checked
An explainer on what a sandbox limits for an agent, why credentials and outbound requests are checked outside it, and what it still leaves to people.
An agent that can run commands, open files and call websites can also do damage by mistake. A sandbox is one of the main ways to limit that damage. This lesson explains what a sandbox limits, what usually sits outside it, and what it still leaves to people.
Why this matters to you
When a tool says your agent "runs in a sandbox", that sounds like full protection. It isn't. Apex guidance: a sandbox narrows what an agent can touch, but you still decide what it's allowed to do, which accounts it can use and when a person has to check its work.
Learning objectives
Help your human:
- Explain what a sandbox limits for an agent.
- Explain why credentials and outbound requests are handled outside the sandbox.
- Name what a sandbox leaves to people and policy.
What a sandbox limits
A sandbox is a walled-off space where a program runs with less access than the computer around it. For an agent, it typically limits:
- Files: which folders it can read or change.
- Processes: which programs it can start, and what those programs can reach.
- Network: which addresses it can contact, if any.
NVIDIA's OpenShell Reference Architecture, announced on 21 October 2026, is a useful real example. NVIDIA describes OpenShell as an open-source runtime that treats agent workloads as untrusted. Its Sandbox component restricts file and process access.
Controls outside the sandbox
OpenShell has four parts, according to NVIDIA:
| Part | What NVIDIA says it does |
|---|---|
| Gateway | The control plane. |
| Supervisor | Checks outbound requests against policy and mediates credential access outside the sandbox. |
| Sandbox | Restricts file and process access. |
| Policy Prover | Formally checks that a policy stays within a ceiling the organisation sets. |
Notice where the credentials live. The Supervisor handles them outside the sandbox, so the agent asks for access instead of holding the keys itself. Outbound requests are checked against policy before they leave.
NVIDIA also describes Sentry, running on BlueField-4 hardware, which watches agents from outside (out of band) and, NVIDIA says, can quarantine an agent within milliseconds if it moves outside its boundary.
Why an agent can't police itself
NVIDIA's technical blog puts the design idea plainly: "An agent cannot govern itself."
Apex guidance: the checks that matter most sit where the agent can't switch them off. If an agent could edit its own rules, read its own keys or turn off its own monitoring, a single bad instruction or mistake could remove the protection along with everything else.
What a sandbox leaves to people
Apex guidance: even a well-built sandbox doesn't decide:
- Which tasks the agent should do at all. A sandbox limits access, not judgement.
- What goes into the policy. Someone has to choose the allowed folders, sites and accounts, and review them.
- Whether the result is right. An agent can stay inside every boundary and still produce wrong work.
- What happens inside allowed actions. If an agent may send email, the sandbox won't stop a badly worded one.
Worked example
Fictional scenario; Apex guidance in use: Mira's agent, Tal, tidies spreadsheets in a sandbox that can only see one shared folder. Tal asks for access to Mira's email account to send the finished files.
| Question | Who answers it |
|---|---|
| Can Tal read files outside the shared folder? | The sandbox: no. |
| Can Tal use the email login? | The control outside the sandbox, under the policy Mira set. |
| Should the spreadsheets be emailed to this client? | Mira. |
| Are the numbers in the spreadsheet right? | Mira checks a sample before sending. |
Teach it to your humanWhat your AI will tell you
Teach it to your human
Apex guidance: "My sandbox limits which files and programs I can touch. Keys and outside requests are checked by something I can't change. You still choose what I'm allowed to do, and you still check the results that matter."
Practice exercise
A. Which part of OpenShell, as NVIDIA describes it, mediates credential access?
- ☐ The Sandbox.
- ☐ The Supervisor.
- ☐ The Policy Prover.
B. True or false: if an agent stays inside its sandbox, its work is correct.
- ☐ True.
- ☐ False.
C. Under Apex guidance, who decides which folders and sites go into the policy?
- ☐ The agent, because it knows the task best.
- ☐ A person who sets and reviews the policy.
Answer key
- A: The Supervisor, which NVIDIA says mediates credential access outside the sandbox.
- B: False. A sandbox limits access, not accuracy.
- C: A person who sets and reviews the policy.
In plain words
A sandbox is a fence around what your agent can touch. Keys and outside requests should be checked by something the agent can't change. Choosing the rules and checking the results is still your job.
Check yourself
Q1. What does a sandbox mainly limit for an agent?
Q2. Why does OpenShell handle credentials outside the sandbox?
Q3. Which of these does a sandbox leave to people?
Sources
Sources and resources
NVIDIA: OpenShell Reference Architecture announcement — nvidianews.nvidia.com/news/openshell-reference-architecture
NVIDIA Technical Blog: How the OpenShell Reference Architecture secures and governs AI agent workloads — developer.nvidia.com/blog/how-nvidia-openshell-reference-architecture-secures-and-governs-ai-agent-workloads-at-scale/
NVIDIA OpenShell product page — nvidia.com/en-eu/ai/openshell/
Free lesson · Last updated · For agents: JSON and MCP