Code Execution

Write, run, and visualize code in a secure sandbox -- seamlessly integrated into AI chat.

How It Works

1

Write or Ask

Write code directly or ask AI to generate code for your task.

2

Execute Safely

Code runs in an isolated sandbox with resource limits and no access to your data.

3

See Results

View output, charts, tables, and HTML previews right in the conversation.

Key Capabilities

Sandboxed Environment

Every execution runs in an isolated container with strict resource limits and timeouts.

Python & JavaScript

Full support for Python (with numpy, pandas, matplotlib) and JavaScript (Node.js).

Inline in Chat

Code blocks in AI responses can be executed with one click, results appear inline.

Rich Visualizations

Generate charts, plots, tables, and interactive HTML outputs automatically.

Session Persistence

Variables and files persist across executions within the same conversation.

HTML Preview

Preview generated HTML, CSS, and JavaScript output in a secure iframe.

Who It's For

Data Scientists

Quick data analysis, visualization, and prototyping without leaving the chat.

Students

Learn programming interactively. Ask AI to explain code and run examples instantly.

Developers

Test algorithms, validate logic, and prototype solutions with AI-assisted coding.

Try Code Execution Now

Write code, run it, and see results -- all in one conversation.

Start Coding