AI engineering glossary · Agents tools MCP
What is sandbox?
Sandbox: An isolated environment where untrusted or model-written code can run with strict limits on files, network, memory and time, so mistakes or attacks cannot harm the host system. Containers and virtual machines are common ways to build one.
Sandbox: an example
An agent's Python runs in a container with no internet and a 30-second limit, so a bad loop cannot take down the server.
Related terms
More Agents tools MCP terms
- Scope (OAuth)
- Scratchpad memory
- Self-critique
- Semantic memory
- Shared state
- Short-term memory
- Side effect
- Skill library
Where you learn it
Sandbox is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.