Code Execution
Specialists on the Pro plan can run Python and JavaScript in an isolated sandbox for data transforms, calculations, and lightweight automation—without you installing a runtime yourself.
What your specialists can do
Enable code execution on a specialist or thread and it can run short scripts to convert file formats, compute values, parse logs, and check its own work before reporting back. This is useful for data cleanup, quick calculations, and automation steps that are easier to verify by actually running code than by describing the answer in words. Output and any generated files are saved to your workspace, so a script's result is something you can open and inspect afterward, not just a claim in the chat thread.
How to enable it
- Confirm your plan includes code execution—it's a Pro-plan feature.
- Turn on code execution for the specialist or thread that needs it.
- Describe the inputs and the output you want clearly, including where a result file should be saved.
- Ask the specialist to show or print its output as it goes, rather than only reporting a final answer.
Examples
- “Convert this CSV to JSON and save it in my workspace as output.json.”
- “Run this Python snippet and show me the printed output.”
- “Parse this log file and count errors grouped by error type.”
- “Write a quick script to dedupe this list of email addresses and save the clean version.”
Honest limits
- This is a sandbox for short jobs, not a full CI cluster—long-running scripts may time out.
- Outbound network access is limited to what the task genuinely needs, not general internet access.
- There's no persistent state between separate runs beyond files you've asked to be saved into your workspace.
- It's meant for utility scripts and data work alongside a specialist's other tools, not for hosting a long-running application.
Plan availability
Code execution requires the Pro plan; Free and Growth don't include it. See pricing for the current plan lineup.
Common questions
Why is code execution limited to the Pro plan?
It's a more resource-intensive capability than most integrations, so it's reserved for specialists that genuinely need to run code rather than just call an API.
Can a script call out to the internet?
Outbound network access is limited to what a task needs—it isn't a general-purpose internet connection.