Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Sandbox

Also: sandboxing

In plain words

A sealed-off space where an AI or a program can run without touching your real files or systems.

The fuller definition

A sandbox is a restricted execution environment intended to limit a program's access to resources and the effects it can have outside that environment.

How it fits together
  1. Program

    Untrusted operations

  2. Boundary

    Restricted resources

  3. Outside

    Protected environment

A simplified relationship, not a screenshot or a complete design.

A concrete example

Generated code runs with access only to a temporary folder and without network access.

The distinction that matters

Isolation depends on the implementation and configuration; the word sandbox alone establishes little.

Related terms

Where it is taught

Prompts, skills, workflows, and agents

Source and further reading

Anthropic · Building effective agents

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC