Your AI agent writes code. Riza runs it safely.

Riza is the production-ready isolated runtime for agentic apps.

How it works

1

You prompt an LLM to write code.

TypeScript and Python tend to get the best results.

2

POST the code to the /v1/execute API endpoint.

Include command line args, stdin, files, and env vars.

3

Riza safely runs the code and returns the output.

Your response includes the exit code, stdout, and stderr.

What is the Code Interpreter API?

A service for executing untrusted Python, JavaScript, TypeScript, Ruby and PHP.

How are people using it today?

Teams are using it to run code generated by LLMs, power data transformations, and extend their products for enterprise customers.

Why is it secure?

Code is executed inside an isolated WebAssembly context. Learn more in our security documentation.

What are the limitations of the developer preview?

These limitations are temporary. See our roadmap for more details.
  • Code only has access to data you provide, which includes command-line arguments, environment variables, files and stdin.
  • Limited filesystem access.
  • Only the Python runtime supports external packages. Other interpreters have access to the language's standard library.
  • Network access is limited to HTTP.
  • No support for alternative interpreter versions.
  • Execution time is limited to 30 seconds per invocation.
  • Memory consumption is limited to 128Mib per invocation.

How much does it cost?

During the developer preview the Code Interpreter API is free. We plan to charge based on usage once the API reaches general availability.

Can I self-host the Code Interpreter API?

Yes! Here's a link to the quickstart: https://docs.riza.io/enterprise/quickstart.

What's coming next?

Our full roadmap is available in our documentation, but here are some highlights:
  • Allow further interpreter customization via third-party packages and dependencies.
  • Allow filesystem access, with customer-defined capability controls.
  • Add support for secrets and HTTP API credentials.
Please send us an email or join us on Discord if you have questions or suggestions.