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.

Level: intermediateTopic: Agents tools MCP

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

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.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.