Skip to main content
Navigator includes code execution so the assistant can calculate, transform data, prototype logic, and produce artifacts without leaving the chat.
Navigator JavaScript execution preview

Execution backends

Use the local browser worker for lightweight execution. Add E2B when you want server-side sandbox execution and richer preview flows.

Typical tasks

Parse CSV, normalize fields, calculate totals, and produce clean tables.
Run exact arithmetic, statistics, conversions, and small simulations.
Transform JSON into the structure expected by an API, webhook, or workflow.
Aggregate rows and prepare data for visualization tools.
Do not expose server-only secrets to browser-visible code execution. Keep private keys in server-side environment variables.