Issue 13 · Nov 2–8, 2026Editions · Glossary · Archive · Method · RSS · HU / ENG

News of the AI era, curated weekly

Glossary › Agents

sandbox

advancedwidespread

A sandbox is an isolated, safe test environment where a program or AI agent can work without harming the real system even if an error occurs.

In plain terms

Think of a sandbox at a playground: a child can build anything there and also tear it down, but the sand remains within the frame, and the garden is not harmed. The computer sandbox is a similar frame for a program: inside, it can work freely, but from there, it cannot reach out to your other files, your passwords, or the corporate network.

With AI agents, this became important because the agent does not just write text but also acts: it runs commands, modifies files, and opens websites. If it misunderstands something or is deceived by a malicious website, the sandbox wall will contain the damage.

A sandbox does not make the agent smarter or more reliable. It only limits how much trouble it can cause if it makes a mistake. It is like a student pilot's simulator: a crash there is still a crash, but no one gets hurt.

How it works

  1. An isolated environment is created: for example, a virtual machine, a container, or a restriction of the operating system that confines the program to a single folder and separates it from the rest of the real system.
  2. Rules specify what is allowed inside: which files the agent can see, which websites it can access, and how much memory and time it can use.
  3. The agent works within these boundaries: it writes and runs code, creates files, and launches tests. Anything falling outside the rules is either rejected or requires separate human permission.
  4. At the end of the work, only the verified result leaves the sandbox, such as a finished file or a proposal that you approve.
  5. The environment can then be deleted or reset to a clean state, so the next task inherits nothing from previous errors.

An everyday example

You upload an Excel spreadsheet to an AI assistant and ask it to create a chart from it. The assistant runs the code not on your machine, but in the provider's isolated sandbox, and you receive only the finished image. If the code were faulty, at most the sandbox would collapse, leaving your machine and data untouched.

Who is affected

developerA coding agent running in a well-configured sandbox cannot accidentally delete files outside the working directory and is much harder to use for exfiltrating secret keys from your machine. → Code
entrepreneur, executiveIf you allow an agent near corporate systems, the sandbox determines how much damage a single erroneous step could cause.
employeeWhen an AI tool analyzes files or runs code for you, a sandbox typically protects your device and corporate systems in the background. However, uploaded data still reaches the provider, so workplace data processing rules remain equally applicable. → Work & HR
everyoneYour browser tabs and phone apps also run in a sandbox, so one app cannot see another's data by default unless you grant permission.

A common misconception

MythIf the agent runs in a sandbox, nothing bad can happen.
In realityA sandbox only protects what you have excluded from it: if you allow your passwords, emails, or unrestricted internet access, the agent can make mistakes with those just as easily. The protection is only as good as the strictness of its rules.

Limits and risks

Similar, but not the same

Related concepts

Broader

AI safety, cybersecurity, access control

Narrower

container, virtual machine, code execution environment

On the edge

AI-agent, coding agent, guardrail, prompt injection, human approval

A brief history

The word moved from children's sandboxes to computer science. As a security term, it spread following a 1993 study on software fault isolation (Wahbe et al.), and the general public encountered it with the launch of Java in 1995 and later via browsers.

Where things stand

In late 2026, AI assistants that run code in the providers' cloud typically work in a sandbox. Coding agents running on your own machine also have a built-in sandbox, but how strict it is often depends on the user's settings. The debate is about how much access to give the agent and when it must ask for human permission.

Status: 2026 November

In the news

Appears in 24 Agent Age stories; the curve shows weekly occurrence in the news magazine.

Also known as

sandbox · sandbox · sandboxing · sandboxing · sandbox environment · isolated runtime environment · isolated environment · agent sandbox

Sources

This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.