Code Sandbox overview
An isolated, single-use environment where your agents run Python code — warm-started in about a second, destroyed after one use.
Run code in the sandbox
How to run Python in the Code Sandbox — from an agent with run_python, or directly against the sandbox API — with every field, error, and limit.
Security and limits
The honest security model of the Code Sandbox — single-use pods, no network egress, non-root, hard timeouts — and every limit in one table.