With this Public Tool, you can execute and interpret Python code snippets, obtaining immediate feedback on execution results or errors:
com.globant.geai.code_interpreter
Before using this Tool, you must obtain an API key from E2B | The Enterprise AI Agent Cloud and register it as a Secret in your Project.
- Go to https://e2b.dev/sign-in and sign in.
- Generate your personal API key. Follow the steps in Set your API keys.
-
In Console, go to the Project where you will use this Tool and create a new Secret. Follow the steps in How to create a Secret.
- In the Name field, enter a descriptive name for the Secret (for example: e2b_apikey). This is the name that will later be referenced in the apikey parameter of the Tool.
- In the Value field, paste the API key obtained from E2B.
- Confirm to save the Secret.
Inside the Agent you are creating, go to the AI & Tools Tab, select the Tools and Agents section, and click + Add. In the left pane, select com.globant.geai.code_interpreter. Then click on the Tool in the left pane to see the required parameters, and complete the following:
Parameters
- apikey: Name of the Secret that stores the API key obtained from E2B.

Since version 2025-04.