Overview
The Jina Code Interpreter tool is a tool that allows you to execute various programming languages using the AI Agents.How It Works
Getting Started
Simple Usage
- Install dependencies (see Overview above)
- Set required API keys in your environment
- Run the agent example in Overview
Best Practices
Keep RIZA_API_KEY in the environment
Keep RIZA_API_KEY in the environment
Set
RIZA_API_KEY in your shell or .env. ExecPython reads it automatically — never hard-code the key.Sandbox untrusted code
Sandbox untrusted code
Riza runs code in an isolated runtime, so agent-generated code cannot touch your machine. Prefer it over local
exec for untrusted input.Keep snippets self-contained
Keep snippets self-contained
Each execution is stateless. Include all imports and inputs in the snippet you pass so it runs without external state.
Related Tools
Python
Run Python code
Bearly Code Interpreter
Cloud code execution
Azure Code Interpreter
Azure sessions runtime

