Virtual Machines

Full machines your agent can drive.

Full microVMs with their own kernel, a real desktop your agent can see, click and type on. Linux today, Windows in preview; macOS VMs (commands, swift build and test) on a Mac leased to you. Warm through a working day, paused to $0 between bursts, back in about 1-2.5 seconds with everything exactly where it was.

drive-a-machine.tsCreate → see → click → pause
import { Sandal } from "@sandal-dev/sdk";
const sandal = new Sandal({ baseUrl, apiToken, organizationId, projectId });
// A full machine with its own kernel and a desktop.
const { sandbox, operation } = await sandal.sandboxes.create({
idempotencyKey: crypto.randomUUID(), kind: "virtual-machine",
templateId, templateDigest, profile, architecture, size: "l",
desktop: true, lifecycle: { expiresAt },
});
await sandal.sandboxes.waitForOperation(operation.id);
const id = sandbox.id;
// Drive it like a person: see the screen, move, click, type.
const shot = await sandal.computer.screenshot(id);
await sandal.computer.click(id, 640, 360);
await sandal.computer.typeText(id, "hello world");
~1-2.5sresume
$0while paused
1kernel per VM
Linux+ Windows preview
16 vCPUmax shape
Computer use

A whole desktop, as an API.

A container gives your agent a shell. A VM gives it a computer, a real windowing system it can see and operate. The same loop a person runs, driven from your code. Desktop and computer use are in private beta.

See

The pixels an agent reasons over.

Full-resolution screenshots on demand, or a live view for a person watching along. The screen the agent reads is the screen it just acted on.

computer-use.ts
// see the screen the way the agent does
const shot = await sandal.computer.screenshot(id);
await model.observe(shot.data);
// or hand a person a short-lived live view
const view = await sandal.computer.view(id, { ttlSeconds: 900 });
Act

Move, click, type, at OS level.

Move, click, drag, type, key-combo and scroll against the real windowing system, not through a browser shim. Desktop apps, installers, legacy software, a browser, if it runs on a machine, the agent can drive it.

await sandal.computer.move(id, 420, 220);
await sandal.computer.click(id, 420, 220);
await sandal.computer.typeText(id, "quarterly-report.xlsx");
await sandal.computer.pressKey(id, "Return");
// drag, scroll, key-combos, all first class
await sandal.computer.hotkey(id, ["ctrl", "s"]);
Remote desktop

Hand the machine to a person, too.

Mint a short-lived view URL for a desktop and drop it into your product, or send it to a reviewer who takes the wheel for a moment, human-in-the-loop without an RDP client or a VPN. An embeddable component is coming soon.

Windows VMs (preview) connect over RDP through sandal rdp if you would rather use an existing client.

desktop-view.tsx
// a short-lived URL for one desktop, never your org key
const view = await sandal.computer.view(id, { ttlSeconds: 900 });
// watch or drive it in a browser tab, or frame it in your app
<iframe src={view.url} title="Agent desktop" />;
Stream
Live viewIn a browser tab, watch or drive
Scoped tokenOne VM, the scopes you set, dies with the TTL
RDPWindows VMs (preview), via sandal rdp
Pause

Stays warm. Costs nothing paused.

Pausing keeps exact in-memory state on the same machine and stops both meters. Resume returns in about 1-2.5 seconds with your windows still open, your cursor where it was, your session still logged in.

const rev = async () => (await sandal.sandboxes.get(id)).revision;
await sandal.sandboxes.pause(id, {
idempotencyKey: crypto.randomUUID(), expectedRevision: await rev(),
});
// … later …
await sandal.sandboxes.resume(id, {
idempotencyKey: crypto.randomUUID(), expectedRevision: await rev(),
});
// or branch it for the next task
await sandal.sandboxes.fork(id, {
idempotencyKey: crypto.randomUUID(), expectedRevision: await rev(),
});
Every OS

Linux today. Windows in preview. macOS on a leased Mac.

Linux VMs share one lifecycle: pause, snapshot and fork. Windows VMs (preview) are their own RDP-only API with a lifetime cap; macOS VMs run on a Mac leased to your organisation alone.

Linux

Ubuntu 24.04 and friends, with or without a desktop. Up to 16 vCPU, its own kernel, running in about 15-19 seconds, per-second billing.

ubuntu-24.04 · ubuntu-desktop · from $0.036 / VM-hr

Windows

Preview: a real Windows Server desktop, the OS agents struggle to get anywhere else. Running in about 30-60 seconds, RDP ready in about 2.5-3 minutes through sandal rdp, admin password shown once and never stored. No snapshots, forks or pause yet.

preview · win-4x16 (4 vCPU / 16 GiB) · RDP

macOS

macOS 27.2 with Xcode 27.0 on a Mac leased to your organisation alone: 24 h minimum, up to 2 VMs per Mac, running in about a minute. Run swift build and swift test for Mac-only tools and Apple workflows.

on request · eu-central · 4 vCPU / 7 GiB
Persistence

A machine worth
keeping around.

A configured desktop, a logged-in session, an installed toolchain. Set it up once, then pause, resume, snapshot and fork it like a repo.

persistence.ts
const rev = async () => (await sandal.sandboxes.get(id)).revision;
const key = () => crypto.randomUUID();
// snapshot the configured machine
await sandal.sandboxes.createSnapshot(id, {
idempotencyKey: key(), expectedSandboxRevision: await rev(),
});
// same disk, new identity
const twin = await sandal.sandboxes.fork(id, {
idempotencyKey: key(), expectedRevision: await rev(),
});
// stop between sessions; start brings the disk back
await sandal.sandboxes.stop(id, { idempotencyKey: key(), expectedRevision: await rev() });
  1. 01

    Pause to $0

    Keep RAM and disk on the same machine, release the CPU. A paused VM is not billed.

  2. 02

    Resume in ~1-2.5s

    Come back to the exact desktop, open apps, cursor position, in-memory state.

  3. 03

    Snapshot & fork

    Branch a configured machine’s disk like a repo. Set one up once, fork it per task, and each child gets its own clock and tokens. Running processes do not carry over.

  4. 04

    Volumes

    Named storage that outlives any VM. Mount a home directory or a build cache and a fresh machine starts where the last left off.

Need short-lived, high-concurrency machines instead? Containers →

Plans

One balance. Every machine you run.

Virtual machines draw from the same credit pool as your containers and runners, billed by the second at one published rate card.

Starter

For a solo build or a first agent in production.

$20/ month

$20 of usage credits

≈ 550 VM-hours or 33,000 CI minutes

Contact us
  • 20 concurrent machines
  • Committed in-plan rates on every product
  • Linux sandboxes, VMs, runners; Windows in preview
  • Per-second billing, paused is free
  • Full API, SDKs, CLI & local MCP server
  • Unlimited seats
  • Community support
Most popular

Team

Apple silicon on request, and a balance that rolls over.

$100/ month

$100 of usage credits

≈ 2,700 VM-hours or 10,000 Mac build minutes

Contact us
  • 100 concurrent machines
  • Everything in Starter, plus:
  • macOS VMs & iOS simulators (on request), Xcode builds (coming); Android (preview)
  • Unused credits roll over one month
  • Usage exports & per-second line items (coming)
  • Email support

Business

Higher ceilings for a team leaning on the fleet daily.

$250/ month

$250 of usage credits

≈ 6,900 VM-hours or 25,000 Mac build minutes

Contact us
  • 300 concurrent machines
  • Everything in Team, plus:
  • Raised concurrency
  • Priority support & shared Slack channel
  • Single sign-on, SAML / OIDC (coming)
  • Volume credit rate

Enterprise

Dedicated capacity, your compliance surface, one invoice.

Custom

Committed volume rate

Committed volume rate, negotiated per account

Talk to sales
  • Reserved bare-metal capacity
  • BYOC or self-host the control plane (coming)
  • SSO & SCIM (coming), audit events, EU data residency
  • Annual invoicing, MSA, DPA
  • Support SLA (coming) & solutions engineering
  • More regions (coming; EU today)

Every plan spends its credit pool first, then usage keeps flowing and bills per second at your committed in-plan rate, no hard stop mid-run, no forced upgrade. Without a plan you pay the on-demand rate instead. Prices are illustrative pending final list pricing; the per-second billing model is final.

Rate card

The virtual machine rate card.

Linux

MachineIn-plan / VM-hrOn-demand / VM-hr
1 vCPU / 2 GB$0.009$0.013
2 vCPU / 4 GB$0.018$0.027
2 vCPU / 8 GB$0.023$0.035
4 vCPU / 8 GB$0.036$0.054
4 vCPU / 16 GB$0.046$0.069
8 vCPU / 16 GB$0.072$0.108
8 vCPU / 32 GB$0.092$0.138
16 vCPU / 32 GB$0.144$0.216
16 vCPU / 64 GB$0.184$0.276
32 vCPU / 64 GB$0.288$0.432
32 vCPU / 128 GB$0.368$0.552
64 vCPU / 128 GB$0.576$0.864
64 vCPU / 256 GB$0.736$1.104

Windows

MachineIn-plan / VM-hrOn-demand / VM-hr
1 vCPU / 2 GB$0.018$0.027
2 vCPU / 4 GB$0.036$0.054
2 vCPU / 8 GB$0.046$0.069
4 vCPU / 8 GB$0.072$0.108
4 vCPU / 16 GB$0.092$0.138
8 vCPU / 16 GB$0.144$0.216
8 vCPU / 32 GB$0.184$0.276
16 vCPU / 32 GB$0.288$0.432
16 vCPU / 64 GB$0.368$0.552
32 vCPU / 64 GB$0.576$0.864
32 vCPU / 128 GB$0.736$1.104
64 vCPU / 128 GB$1.152$1.728
64 vCPU / 256 GB$1.472$2.208

macOS

One fixed instance, billed at $0.01 / minute.
MachineIn-plan / VM-hrOn-demand / VM-hr
4 cores / 8 GB · Apple silicon$0.60$0.90

Linux from $0.0065 / vCPU-hr + $0.00125 / GB-hr; Windows is the same machine plus licensing at 2x. macOS VMs run on a Mac leased to your organisation alone (24 h minimum block); the lease block price is not published yet. On-demand is 1.5× the in-plan rate. All usage bills by the second; paused machines are not billed.

Get started

Give your AI agents somewhere to run today.

Your agents get their own machines on Linux today, Windows and Android in preview, macOS VMs and iOS simulators on request, and you stop paying for idle.

Private beta · request access