# Sandbox

Canonical page: https://www.theglitch.ai/ai-glossary/sandbox

An isolated environment where an agent can run code or act without touching real systems.

[Sandbox, common card \#197 in The Glitch AI glossary: An isolated environment where an agent can run code or act without touching real systems.](https://www.theglitch.ai/images/cards/glossary/sandbox.png?v=ad141a50c550884a)

GLS 197 · common

For: Builders

## Why it matters

Sandboxes are how you let agents try things safely.

## In practice

A coding agent runs tests inside a throwaway container, not on the production server.

## Watch for

A sandbox with real credentials inside is not a sandbox.

## Related terms

[Least privilege](https://www.theglitch.ai/ai-glossary/least-privilege) · [Coding agent](https://www.theglitch.ai/ai-glossary/coding-agent) · [Computer use](https://www.theglitch.ai/ai-glossary/computer-use)

## Guides that use it

[Lock down your agents before they act.](https://www.theglitch.ai/learn/agent-security)

## Sources

- [Wikipedia: Sandbox (computer security)](https://en.wikipedia.org/wiki/Sandbox_%28computer_security%29)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
