Glossary
Code mode
An agent pattern in which the model writes code that calls tools through an API inside a sandbox, instead of issuing one tool call at a time.
Checks run on our GPUs in Switzerland, with EU failover (Swiss-only available). Request payloads are not stored. Security
Related terms
How Code mode connects to the rest of the vocabulary.
Go deeper
Explainer
Guarding code-mode and sandboxed agents
In code mode an agent writes code that calls many tools at once. Why every call should pass the sandbox’s tool proxy, and how to check them without slowing runs.
Use case
Guarding code-mode agents at the sandbox tool proxy
In code mode, generated code fires many tool calls no human sees. Guard every call at the sandbox tool proxy, in batches where possible, before it runs.