# Code Interpreter AI integration on Definable

> CodeInterpreter extends Python-based coding environments with integrated data analysis, enabling developers to run scripts, visualize results, and prototype solutions inside supported platforms

## What this connects

CodeInterpreter extends Python-based coding environments with integrated data analysis, enabling developers to run scripts, visualize results, and prototype solutions inside supported platforms

Vendor: https://composio.dev

## Tools available

**5** tools available. First 5:

- `CODEINTERPRETER_CREATE_SANDBOX` — Create Sandbox — Create a sandbox to execute python code in a Jupyter notebook cell. This is useful for agents to communicate, execute code, see output, read files, write files, etc. It's like you own personal computer, but in the cloud. Use /home/user folder to write/read files.
- `CODEINTERPRETER_EXECUTE_CODE` — Execute Code — Execute python code in a sandbox and return any result, stdout, stderr, and error. Use /home/user folder to write/read files. Try to not use plt.show() as the code is executed remotely. Use files for image/chart output instead.
- `CODEINTERPRETER_GET_FILE_CMD` — Get File — Get a file from the sandbox and returns the file. The files should be read from /home/user folder.
- `CODEINTERPRETER_RUN_TERMINAL_CMD` — Run Terminal Command — Run a command in the terminal and returns the stdout, stderr, and error code. Use /home/user folder to write/read files.
- `CODEINTERPRETER_UPLOAD_FILE_CMD` — Upload File — Upload a file to the sandbox environment. The files should be uploaded to the /home/user folder.

## Auth

No auth required.

## How agents use Code Interpreter

Inside a Definable workflow, Code Interpreter is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Code Interpreter** — the Researcher (GPT-5.5) pulls context from Code Interpreter (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Code Interpreter** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Code Interpreter (create record, post message, draft email).
- **Designer / Engineer → Distributor → Code Interpreter** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Code Interpreter (attach file, open PR comment, post status).

The Verifier checks every Code Interpreter call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- developer tools — https://definable.ai/apps/category/developer-tools/
- analytics — https://definable.ai/apps/category/analytics/

## Related

- HTML page: https://definable.ai/apps/codeinterpreter/
- Same category (developer tools): https://definable.ai/apps/category/developer-tools/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
