Skip to main content
Docs

Code interpreter

Isolated runners for analysis without dumping work onto analyst laptops.

What it does

The code interpreter runs code in a bounded cloud sandbox. Agents use it to do math they would otherwise guess at, analyze a spreadsheet you upload, convert files, or produce charts. You can also run a supported code block from a chat message yourself.

What you see

Attach files to the code environment for that chat or for every run of an agent. Code blocks may show a Run control. Outputs appear under the block or as downloadable files. Optional background runs finish while the conversation continues.

How it behaves

Sandbox languages include Python, JavaScript/TypeScript, Go, C/C++, Java, PHP, Rust, and more when enabled. Before each run, conversation files are restored into the sandbox; if needed files cannot be restored, the run stops instead of working from stale copies. Code stays off analyst hardware.

Setup

Configuration and related guides:

Related

← All features