---
slug: "Sandbox"
name: "Sandbox"
type: "Primitives"
layer: "Infrastructure"
ref: "Sandbox#7106"
sema_id: "sema:Sandbox#mh:SHA-256:7106e315b4bf7c5bd418fbab5c18e54be940367f77b8bde4756d1cb95beaa16b"
tags: ["Infrastructure","Primitives"]
updated: 2026-11-11
mindscape: "bootstrap"
index_url: https://mindscape.pages.dev/bootstrap/index.json
url: https://mindscape.pages.dev/bootstrap/Sandbox/
related: ["AgentSandbox","Probe","Simulation","ToolInvoke","CircuitBreaker","SafetyCartographer"]
---

# Sandbox

Isolation boundary

Layer: Infrastructure · Category: Primitives

## Mechanism

An isolated execution environment that restricts side effects.

## Invariants

- No effect crosses the isolation boundary except through a declared channel.
- Resources consumed inside are bounded independently of the enclosing system.

## Failure modes

- Unconstrained vector permits escape from the isolation boundary.
- Resource exhaustion within the sandbox affects the enclosing system.

## Caution

Escape vectors may exist in unaudited system call surfaces.

## Builds on

—

## Used by

- [AgentSandbox](https://mindscape.pages.dev/bootstrap/AgentSandbox.md) (Society; References)
- [Probe](https://mindscape.pages.dev/bootstrap/Probe.md) (Infrastructure; References)
- [Simulation](https://mindscape.pages.dev/bootstrap/Simulation.md) (Mind; References)
- [ToolInvoke](https://mindscape.pages.dev/bootstrap/ToolInvoke.md) (Infrastructure; References)

## Identity

- Sema ID: `sema:Sandbox#mh:SHA-256:7106e315b4bf7c5bd418fbab5c18e54be940367f77b8bde4756d1cb95beaa16b`
- Ref: `Sandbox#7106`
- Supersedes:
  - `sema:Sandbox#mh:SHA-256:2be7b830454b430d8008cb54622a5c1a6434a6e076d7bbdaca4d2a5b1a1dadf0`
  - `sema:Sandbox#mh:SHA-256:64c9d03cda865610bcc3792d3aa8f6c80c8b347e6ee1f6d7bb01479a0a38231d`

## Links

- [Pattern page](https://mindscape.pages.dev/bootstrap/Sandbox/)
- [View in the interactive graph](https://mindscape.pages.dev/bootstrap/#Sandbox)
- [JSON](https://mindscape.pages.dev/bootstrap/Sandbox.json)
- [Index of all patterns](https://mindscape.pages.dev/bootstrap/index.json)
