GlossaryFloor 3 · The Agentthe block caught in a loop: it starts again until it gets thereFloor 3 · The Agent
sandbox
No. 070 · v2026-08FR: bac à sable (sandbox)A sandbox is the closed environment in which an agent carries out its actions: it has access to what has been placed there, and to nothing else. Like a workshop from which everything that must not be touched has been removed, rather than an instruction asking that it not be touched.
What it is not
A sandbox is not a guardrail. A guardrail is a rule the system is meant to respect, and a rule can be circumvented, misread or forgotten; a sandbox is a material limit, which holds even if the model decides to do something else. Nor is it a test environment: a sandbox may perfectly well contain real data, what counts is what is absent from it and what cannot leave it.
In depth
Least privilege
The reasoning to hold to is that of least privilege, long known in security and particularly well suited here. An agent receives exactly the access its task requires, and nothing more: this repository in read mode, this mailbox in write mode, this domain on the network. Everything else is absent, not forbidden. The difference is decisive because a model’s behaviour is not guaranteed: an instruction hidden in a document can make it attempt an action, and only the absence of the access prevents it from succeeding.
The four boundaries
There are four boundaries to set, and forgetting them amounts to having set none. The file system, by restricting the agent to a disposable working directory. The network, by allowing only the necessary destinations, since open outbound access is an exfiltration channel. Credentials, by supplying only tokens of narrow scope and short life. And resources, by bounding time, memory and number of calls, failing which a runaway loop is paid for on the invoice.
What makes it testable
The sandbox is also what makes an agent evaluable. Since its environment is rebuilt identically, a scenario can be replayed, two versions of the system compared and a correction verified. A run that acts directly on the real world is neither reproducible nor reversible, therefore not measurable. This property explains why the most advanced agents operate first in an isolated environment and carry their changes over to the real world only at the end, after validation.
Relations where the neighbours live
Check 3 questions · click your answer
Level 1 · Recognise
What is the difference between a sandbox and an instruction forbidding something?
Level 2 · Distinguish
Which boundary is most often forgotten when isolating an agent?
Level 2 · Distinguish
How does a sandbox make an agent evaluable?
Lexigraph, "Sandbox", v2026-08, https://www.lexigraph.org/en/sandbox/, CC BY 4.0.