Sandbox
Domain: Tools & Function Calling
π― Motivation
A safe, isolated environment where code can run without affecting the main system. Essential for code interpreter tools.
π Concrete Example
The code interpreter runs in a Docker container with no network access, limited CPU and memory. If the agentβs code crashes or has an infinite loop, only the sandbox is affected.
π Analogy
A sandbox playground - kids can dig, build, and play freely. If they make a mess, it stays in the sandbox. The rest of the park is unaffected. Code sandboxes contain potential damage.