npm install @leaningtech/browserpod

Run AI code securely on any device

Sandboxed server runtimes that run directly in the browser. Free for 1,000 hours p/m and $0.01 per extra hour.

Editor
Loading...
Preview
Offline
Loading preview...

Built by Leaning Technologies, the tech company trusted by leading organisations worldwide.

NASA Siemens Moody's Euronext Ticketmaster Leonardo ADP Dalkia US Customs
Features

Browser-based runtimes for secure code execution

Isolate AI slop and malicious code

Agentic code can't escape the browser's sandbox to access local files, or unauthorised network calls.

A boot time barely measurable in milliseconds.

Sandboxes launch instantly in-browser, eliminating cloud-based roundtrip latency.

Cut sandbox costs by up to 94%

BrowserPod is free for up to 1,000 hours p/m and $0.01 per additional hour.

Compute hours 1,000hrs

Data doesn't leave the device

Sandboxes boot in the browser directly, meaning files are secure on device.

Your browser
chat.log
model.bin
code.py
Server

Instant, interactive demos

Share your real app instantly via a secure private link with just a few lines of code.

A real filesystem, in the browser

Sandboxed POSIX-style filesystem for you to execute agentic code.

Name Size
JS index.js 0.9 KB
{} package.json 1.2 KB
data
{} config.json 0.4 KB
{} output.json 2.1 KB
node_modules

Expansive dev toolchain

Install packages from npm, clone repos with git, manage files and more with bash.

Unlimited concurrent sandboxes

BrowserPod works on-device, meaning you can run an infinite sandboxes at the same time. And without incurring additional cloud costs.

Languages

A universal execution layer for the browser.

Node.js is fully supported today, with Python, Ruby, Go, and Rust coming soon.

Loading editor...

import { BrowserPod } from "@leaningtech/browserpod";

// Initialize a Pod.
const pod = await BrowserPod.boot({ apiKey: "your-api-key" });

// Create a Terminal
const terminal = await pod.createDefaultTerminal(
  document.getElementById("console"),
);

// Define the payload
const script = `
console.log("Payload running on Node.js:", process.version);
`;

// Write the script into the Pod's filesystem
const scriptFile = await pod.createFile("/script.js", "utf-8");
await scriptFile.write(script);
await scriptFile.close();

// Run the script
await pod.run("node", ["script.js"], { terminal });
Compare

See how BrowserPod stacks up.

In-browser sandboxes mean zero infrastructure costs and unlimited concurrency.

BrowserPod

Run locally in browser
Public URLs for services
Full-stack environment support
Max concurrent environments Unlimited
Price per hour of compute* $0.01
Free usage 1,000 free hrs/mo
Storage Unlimited

Daytona

Run locally in browser
Public URLs for services
Full-stack environment support
Max concurrent environments Limited by quota
Price per hour of compute* from $0.13
Free usage $200 free credit
Storage First 5GB free

Blaxel

Run locally in browser
Public URLs for services
Full-stack environment support
Max concurrent environments Limited by quota
Price per hour of compute* from $0.08
Free usage Up to $200 free credit
Storage Charged per GiB/h

Modal

Run locally in browser
Public URLs for services
Full-stack environment support
Max concurrent environments Limited by quota
Price per hour of compute* from $0.19
Free usage $30 free credits/mo
Storage Charged per GiB/h

* Based on 2 vCPUs and 2 GB RAM configuration.

Ready to get started?

Spin up your first sandbox in minutes. No credit card required.