Code Interpreter
Code interpreter helps users and agents analyze files, run scripts, or process data. It is a high-impact capability and should be enabled only when the deployment has isolation and audit controls.
Capability Boundary
Before Configuration
- Confirm the execution environment, resource limits, and cleanup policy are available.
- Define which users, groups, or agents can use code interpreter.
- Do not expose database passwords, API keys, or production credentials to the runtime.
Verification
- Run a low-risk script to validate execution, output, and file handling.
- Test that unauthorized file, network, or credential access is denied.
- Confirm errors do not leak internal paths, secrets, or stack details.