NodeSandbox is now in alpha

Node Sandbox.In-Browser.

Run server-side Next.js or Vite on any device. Zero infrastructure, infinite compute, available instantly.

Built foryour Node stack.

Node.js
Next.js
Vite
React
Astro
TanStack Start
Express
Solid

The platform

Run AI-generated code securely in the browser.

Add terminals, previews, code execution, package installation, and AI coding agents without operating remote compute.

sandbox.ts
import { Sandbox } from "@nodesandbox-ai/client";

const sandbox = await Sandbox.create({
  apiKey: "ns_pub_...",
  source: {
    type: "git",
    url: "https://github.com/vercel/nextjs-template",
  },
});

const preview = await sandbox.start();
console.log(preview.url);

A real Node.js runtime, without server infrastructure.

Boot complete development environments inside the browser with a virtual filesystem, shell, package manager, and local server support.

Claude Code v2.1.276
Welcome back!
Fable 5.1
NodeSandbox
~/my-app
Tips for getting started
Build a Next.js app
What's new
Runs in the browser
Terminal and previews
/release-notes for more
Bash(bun run build)Compiled successfully in 1.2s(ctrl+o to expand)
▲ Next.js ✓ Compiled successfully
Thinking…(0s · esc to interrupt)
xhigh · /effort
auto mode on (shift+tab to cycle) · ← for agents

Run Claude Code in browser

Claude Code runs inside the sandbox on your users’ devices, with a terminal, files, and live previews. No remote compute to operate.

Controlled networkingAllowed domains · your proxy

Your stack. All in the browser.

A browser, Node runtime, Next.js, and virtual files. Configure allowed domains, route requests through your proxy, and keep credentials on infrastructure you control.

Unlimited compute. No meter.

Every plan includes unlimited browser runtime. Compute stays on your users’ devices, with no per-minute charges or idle virtual machines.

Node.js logo
Next.js logo
Vite logo
React logo
Astro logo
TanStack Start logo
Express logo
Solid logo

Run Next.js, Vite, and more.

Install npm packages and run modern development servers for React, Vite, Next.js, Astro, and more.

AI-code execution in the browser

Add terminals, previews, code execution, package installation, and AI coding agents without operating remote compute.

Code generation

Let users run and verify generated applications immediately.

Interactive learning

Teach real tooling in an isolated environment that starts instantly.

AI coding agents

Give agents a filesystem, shell, package manager, and live preview.

Embedded IDEs

Build custom development workflows without a remote workspace fleet.

Browser-native compute.

Run server-side Next.js or Vite on any device. Zero infrastructure, infinite compute, available instantly.

ZeroInfrastructure to run or scale
UnlimitedCompute, on every plan
EverywhereRuns on the user's device, worldwide

AI-code executionin the browser

Spend your budget on the product, not idle compute.

Start building