Give AI real tools without giving it the host
Run shell commands, code, browsers and long-lived processes inside isolated environments with explicit compute, network and retention boundaries.
What you get
Shell and file access
Execute commands, stream output, read and write files, and inspect a live working environment through typed APIs.
Resource limits
Set CPU, memory, disk, timeout and retention behavior for each allocation.
Network policy
Allow, deny or whitelist outbound traffic. Inbound ports stay private until you expose one.
Signed previews
Turn a listening service into a signed, expiring preview while every other port stays private.
Stop and revive
Stop a sandbox to release compute and keep its workspace. Revive the same sandbox when the next task arrives.
Browser and computer use
Give an agent a graphical environment and a browser, with the desktop kept inside the sandbox boundary.
Sandbox compute is metered per second. Stop a sandbox when the machine is no longer needed.
Create a sandbox
Start from a prepared template or image, declare the resource and network limits, then hand the sandbox to a person, an application or an agent.
- The workload gets its own filesystem, process space, resource envelope and network policy.
- The host filesystem is not mounted.
- Commands, logs and lifecycle events stay tied to the sandbox they ran in.
import Everstack from "@everstack/node";
const client = new Everstack({
baseUrl: process.env.EVERSTACK_BASE_URL,
apiKey: process.env.EVERSTACK_API_KEY!,
});
const sandbox = await client.agents.createSandbox({
session_id: "run_review_42",
template_id: "node",
name: "review-app",
cpu_limit: 2,
memory_mb: 4096,
network_mode: "whitelist",
});
console.log(sandbox.id);Questions
Do application teams choose where a sandbox is placed?
No. Application code declares the template, resources, lifecycle, and network policy. Everstack handles placement and isolation behind the same sandbox API, while self-hosted operators control the deployment configuration.
Can a sandbox keep state between sessions?
Yes. Stopping a sandbox releases its runtime while preserving a workspace snapshot for revival. Terminating the sandbox permanently removes its sandbox workspace.
Can I block network access?
Yes. Set outbound traffic to allow, deny, or whitelist, and use block-all policy with explicit CIDR exceptions when the workload needs a narrower egress surface. Inbound ports remain private until you expose one.
Is a sandbox only for AI agents?
No. Agents use the same sandbox APIs as any application. Sandboxes also fit preview services, scheduled jobs, webhooks, data processing, browser automation, and direct human debugging.
Read further
The console page shows this part at work in its Run stage. The docs go into the detail.
Put Everstack in front of your next request
Run it yourself in a few minutes, or start on Everstack Cloud with your own provider keys.
Star on GitHubOpen source under Apache 2.0. A star helps others find it.

