https://github.com/r1z-dev-git/super-robot
Python & JS/TS SDKs for embedding code execution capabilities in AI apps
https://github.com/r1z-dev-git/super-robot
ai ai-data-analysis anthropic code-interpreter cohere gpt javascript jupyter jupyter-notebook llm openai python typescript
Last synced: 6 months ago
JSON representation
Python & JS/TS SDKs for embedding code execution capabilities in AI apps
- Host: GitHub
- URL: https://github.com/r1z-dev-git/super-robot
- Owner: r1z-dev-git
- License: apache-2.0
- Created: 2025-06-14T02:02:56.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-06-14T02:33:05.000Z (7 months ago)
- Last Synced: 2025-06-14T02:36:09.473Z (7 months ago)
- Topics: ai, ai-data-analysis, anthropic, code-interpreter, cohere, gpt, javascript, jupyter, jupyter-notebook, llm, openai, python, typescript
- Language: MDX
- Homepage: https://r1z.dev
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

## What is R1Z?
[r1z](https://www.r1z.dev/) is an open-source tooling that runs AI-generated code in securely isolated cloud sandboxes. To start and control sandboxes, use our [JavaScript SDK](https://www.npmjs.com/package/@r1z/code-interpreter) or [Python SDK](https://pypi.org/project/r1z_code_interpreter).
## Run your first Sandbox
### 1. Install SDK
JavaScript / TypeScript
```
npm i @r1z/code-interpreter
```
Python
```
pip install r1z-code-interpreter
```
### 2. Get your r1z API key
1. Sign up to r1z [here](https://r1z.dev).
2. Get your API key [here](https://dash-r1z.dev/).
3. Set environment variable with your API key.
```
r1z_API_KEY=r1z_***
```
### 3. Execute code with code interpreter inside Sandbox
JavaScript / TypeScript
```ts
import { Sandbox } from '@r1z/code-interpreter'
const sbx = await Sandbox.create()
await sbx.runCode('x = 1')
const execution = await sbx.runCode('x+=1; x')
console.log(execution.text) // outputs 2
```
Python
```py
from r1z_code_interpreter import Sandbox
with Sandbox() as sandbox:
sandbox.run_code("x = 1")
execution = sandbox.run_code("x+=1; x")
print(execution.text) # outputs 2
```