---
title: "Sandbox"
aliases: ["sandboxes", "isolated environment"]
category: "Agents and automation"
description: "A closed space where a program or an AI agent can work without touching the rest of the computer or going online without permission."
updated: 2026-11-26T21:50:20.819Z
glossary: "https://www.jmcliment.com/en/glosario"
canonical: "https://www.jmcliment.com/en/glosario/sandbox"
---

# Sandbox

- Also called: sandboxes, isolated environment
- Category: Agents and automation

A closed space where a program or an AI agent can work without touching the rest of the computer or going online without permission.

## What it is

The word comes from the children's sandbox: a place to play without making a mess outside it. In computing, it's an isolated environment with its own rules: which files it can see, which websites it can connect to and what it can install.

## In practice

It helps you give a [coding agent](https://www.jmcliment.com/en/glosario/coding-agent), such as [Claude Code](https://www.jmcliment.com/en/glosario/claude) or [Codex](https://www.jmcliment.com/en/glosario/codex), more autonomy with less risk: if it makes a mistake or someone tricks it with a [prompt injection](https://www.jmcliment.com/en/glosario/prompt-injection), the damage is limited to what you let it touch. Docker Sandboxes, for example, runs each agent in a lightweight [virtual machine](https://www.jmcliment.com/en/glosario/virtual-machine) with its own kernel.

## Watch out for…

A sandbox only protects as much as its rules allow. If you open up the whole network or hand it your keys, the agent can still get data out. Start with everything locked down and open only what's needed.

Learn more: <https://docs.docker.com/ai/sandboxes/>

## Appears in

- [Docker redesigns itself for AI agents](https://www.jmcliment.com/en/blog/docker-new-brand)
- [Install ChatGPT and connect it to your tools](https://www.jmcliment.com/en/blog/chatgpt-desktop-app)
