Always on, mostly asleep
Cloud computers for agents that look always on but sleep between tasks. Who offers them, how they differ and what they're good for.
A standing goal spends most of its life waiting: for the next heartbeat, a CI run, a reply or a webhook. On a normal VM you pay for every hour of that waiting. A new class of hosts, built for agents, changes that. You get a full Linux machine per agent with a URL, a CLI and an API. You install your harness on it as you would on a laptop. When nothing is happening, the machine goes to sleep on its own, and the next request or command wakes it, usually in well under a second and often with its running processes intact.
From the outside it looks like an always-on computer. Underneath, it is a lightweight virtual machine (most often a Firecracker microVM) that the platform suspends, snapshots and resumes. This section is about using these hosts: how to sign up, how to put a harness like Claude Code, Codex, Hermes or OpenClaw on one, how to wake it, and where it saves money.
Hibernation saves on waiting, not on working
The one thing to remember
A hibernating host makes idle time cheap. It does nothing for busy time. A /goal run that refactors a codebase
for three hours, a Ralph loop restarting the agent over and over, or any other goal-driven
payload is busy the whole time, so the machine never sleeps and you pay for every minute, the same as on any VM.
Per hour, these hosts are often more expensive than a plain server, and some cap how long a machine may run
without a break.
It helps to separate two kinds of loops:
| Working loop | Waiting loop | |
|---|---|---|
| Examples | /goal until tests pass, a Ralph loop, a long migration, an overnight research run | A heartbeat every 30 min, "keep CI green", PR babysitting, inbox triage, waiting on a human |
| Layer | Layers 1 and 2: the inner loop and the goal loop | Layer 3: scheduled and ambient loops |
| Busy time | Close to 100% | Often under 5% |
| Does hibernation help? | No. Pick a fast machine and a hard budget. | Yes, and a lot if you run many of them |
| What matters most | Machine size, runtime caps, token spend | Wake triggers, sleep behaviour, retention, cold-start cost |
Most real setups mix the two: a waiting loop that wakes up, finds work and starts a working loop. The host saves money in the gaps between bursts. Costs works through the numbers.
The landscape, grouped by technology
You don't need to understand the virtualisation underneath, but it predicts a lot about how a host behaves. In particular, it predicts whether your agent's running processes survive a long sleep or only its files do.
| Technology | What it means for you | Hosts covered |
|---|---|---|
| Firecracker microVMs | A real VM with its own kernel that boots in a fraction of a second, which the platform can pause and snapshot. The most common base for agent hosts. | Fly.io Sprites, E2B, Blaxel, Vercel Sandbox |
| Custom VM stacks | Vendors that built their own layer for snapshots, branching or density, sometimes on top of Firecracker. Strong on parallel and branching work. | Morph Cloud, Unikraft Cloud, Daytona |
| gVisor and Kubernetes | A sandboxed kernel that can checkpoint a whole container. Used by Modal and by Google's Kubernetes projects, which you can run on your own cluster. | Modal, GKE Agent Sandbox, Agent Substrate with kagent |
| Local and self-hosted microVMs | The same isolation on your own laptop or servers, with no vendor control plane (or an optional one). | Docker Sandboxes, E2B self-hosted, Microsandbox, Kata Containers |
- AWS Bedrock AgentCore Runtime gives every agent session its own microVM, but sessions end after at most 8 hours and are not hibernated. It behaves more like a managed session service than a sleeping computer (AWS docs). AWS originally built Firecracker for Lambda.
- Azure Container Apps Sandboxes (Hyper-V isolation, built-in suspend and resume, reported GA in September 2026) and Foundry hosted agents (microVM isolation) (Azure Updates, Foundry blog). secondary reporting
- Cloudflare Sandbox runs containers next to Durable Objects. It sleeps after 10 minutes by default but keeps no memory, and you restore the workspace from an R2 backup on wake (docs). Cloudflare's real hibernation story is Durable Objects, which means writing your agent for that platform.
- Northflank, CodeSandbox SDK, Runloop and Koyeb also offer isolated, agent-oriented machines.
What actually differs between hosts
Every host on this list claims to be fast and secure. These are the differences that change how a loop behaves:
- Memory across sleep
- Does a sleeping machine wake with its processes still running (E2B, Blaxel, Morph, Unikraft in stateful mode, Daytona VMs, Sprites after a short nap), or does it reboot with only its disk (Vercel, Modal, Cloudflare, Sprites after a long sleep)? A harness that keeps important state only in memory needs the first kind.
- Idle timer
- How long until the machine sleeps: about a second (Unikraft), seconds (Sprites, Blaxel), minutes (Vercel, Daytona, Cloudflare), or a timeout you set yourself (E2B, Modal). A shorter timer saves money but means more wake-ups.
- Wake triggers
- What brings it back: an HTTP request to its URL, a command through the CLI or SDK, a schedule. This decides how your goal gets its next nudge.
- Public URL
- Whether webhooks from GitHub, Slack or Stripe can reach the machine directly, and how that URL is protected.
- Runtime caps
- Some hosts stop or pause a machine after a fixed time even if it is busy: 1 hour on E2B Hobby, 24 hours on E2B Pro and Modal. This matters for working loops.
- Retention
- How long a sleeping machine is kept. E2B keeps paused sandboxes indefinitely. Vercel and Modal snapshots expire after 30 days by default, Daytona archives stopped sandboxes after 7 days, and Blaxel's lower tiers enforce a TTL. A goal that sleeps longer than that loses its machine.
- Billing basis
- Per second of wall clock, per second of active CPU, or per hour. Storage is almost always billed while asleep.
Where to go next
Running a harness on a host
The general recipe, and which harnesses (Claude Code, Codex, Hermes, OpenClaw, Kimi, DeepSeek) fit which host.
Costs
A worked example, where hibernation wins, and where it doesn't.
Running them for months
Updates, secrets, retention, reconnects and the other chores of a fleet of sleeping agents.
Snapshot, not spec
These platforms change monthly, and many of the prices and limits quoted here come from the vendors' own pages or their competitors' comparisons. Check current docs before you commit. Every page has "Improve this page" at the bottom.
SDKs, frameworks and DIY
Build your own loop with agent SDKs, managed runtimes, graph frameworks or plain shell scripts, and the infrastructure every loop eventually needs.
Firecracker hosts
Fly.io Sprites, E2B, Blaxel and Vercel Sandbox give each agent a microVM that sleeps when idle. How to get one, put a harness on it and wake it.