Connect Hermes to Code Interpreter
Give your Hermes agent access to Code Interpreter in Melso — 5 tools it can call while it works through a task.
Set it up in Melso
- 1In Melso, open Settings → Agent Apps and hit Connect on Code Interpreter.
- 2Code Interpreter needs no sign-in, so it is ready as soon as it is connected.
- 3Open your Hermes agent, go to its Agent Apps tab, and allow Code Interpreter.
- 4Give the agent a task. It calls Code Interpreter itself when the work needs it.
What Code Interpreter gives your agent
The tools, permissions, and events Code Interpreter exposes — the same ones your agent can use once the app is authorized.
What you sign in with
Code Interpreter works without a user sign-in step.
Permissions
Code Interpreter does not break access down into granular permissions.
Tools Code Interpreter exposes
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.
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.
Get File
Get a file from the sandbox and returns the file. The files should be read from /home/user folder.
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.
Upload File
Upload a file to the sandbox environment. The files should be uploaded to the /home/user folder.