Hourglass
BetaOpen SourceApache-2.0Apache-2.0 sandbox router from Wind Stream that gives agents one interface to run commands, manage files and start workers across local Docker and nine cloud providers, routing by operating system, isolation tier and network policy, checking those requirements before dispatch, and recording a receipt with timing and estimated cost for each operation.
- Boot rank
- #82 / 119
- 31% of published starts are slower
- Idle billing
- Wall-clock billing
- 35 listings bill wall-clock while running
- State kept on pause
- Nothing survives
- Resume: No pause or resume: a job creates a sandbox, runs its commands and destroys it, and the receipt times provision, exec and teardown separately
Overview
Hourglass is the sandbox router Wind Stream built for its own Product Factory and then published: a Linux test suite, an isolated worker and a macOS build need different sandboxes, and the router makes that choice explicit rather than hiding it behind one vendor. A request names the workload, the operating system and a minimum isolation tier, optionally with a network policy, and Hourglass checks those requirements against the enabled providers before dispatch, so a microVM-only job cannot silently land in a container. The adapters cover local Docker plus Fly Machines, E2B, Cloudflare Containers, Modal, Daytona, Blaxel, Tensorlake, Boat and Namespace Cloud on virtualized Apple Silicon macOS. The same core is reachable from the CLI for single jobs, an HTTP/SSE gateway with an OpenAPI document, or a stdio MCP server for agent integrations, and every operation writes a receipt with timing and an estimated cost from a versioned rate card. The published benchmark is the most useful part of the project: five runs per provider with p50 provision, exec, teardown and full lifecycle, raw kernels and a separate teardown trace that caught a provider still sending traffic 13.87 seconds after its destroy call returned 200 OK. That finding shaped the design, and Hourglass now waits for a confirmed terminal state. The limits are maturity and ownership: v0.2.0, published days ago with no stars, a router rather than a runtime, no pause, no persistence contract across providers, provider-specific bridges for Cloudflare and Modal, and cost figures that remain estimates because the underlying invoices are the providers'. Read it as infrastructure for teams already using several sandbox vendors, and as unusually good public benchmark data even if you do not adopt the router.
Key capabilities
- One interface across Docker and nine cloud sandbox providers
- Routes by OS, isolation tier and outbound network policy
- Rejects a provider that cannot meet the requirement before dispatch
- Local Docker adapter works with no cloud keys
- macOS builds through Namespace Cloud on Apple Silicon
- CLI, HTTP/SSE gateway with OpenAPI, and stdio MCP server
- Per-operation receipts with timing and estimated cost
- Versioned provider rate card next to provider-reported cost
- Published p50 lifecycle benchmarks with raw data
- Teardown traces that wait for confirmed provider shutdown
- Worker mode for long-lived processes, health checks and drain
- Known limits: router not a runtime, v0.2.0, no pause or persistence
hourglass-route.sh
# Route to an enabled Linux microVM with outbound networking disabled
SBX=$(./target/release/hourglass sandbox --format json create \
--os linux --min-isolation micro-vm --egress none | jq -r '.data.sandbox_id')
./target/release/hourglass sandbox exec "$SBX" -- uname -srm
./target/release/hourglass sandbox destroy "$SBX"
# Route to virtualized Apple Silicon macOS
MAC_SBX=$(./target/release/hourglass sandbox --format json create \
--os macos | jq -r '.data.sandbox_id')
./target/release/hourglass sandbox exec "$MAC_SBX" -- sw_versSimilar alternatives
Technical specifications
- Runtime architecture
- Docker / Container
- Runtime notes
- Local Docker Engine adapter with container isolation, enabled by default so the router works with no cloud keys
- Cloud adapters for Fly Machines, E2B, Cloudflare Containers, Blaxel, Tensorlake and Boat (microVM), Modal (gVisor), Daytona (container) and Namespace Cloud (virtualized Apple Silicon macOS)
- Requests name a workload kind, an OS and a minimum isolation tier; providers that cannot meet the requirement are filtered out before dispatch
- Each adapter is a separate module with its own configuration and probe; Cloudflare and Modal have out-of-process bridges, and an additional provider is added by contributing an adapter
- Cold-start boot time
- The README publishes a five-run p50 lifecycle benchmark from 2026-11-30: local Docker start, exec and destroy sum to 228 ms, E2B 581 ms, Daytona 1,229 ms, Modal 1,347 ms, Blaxel 1,598 ms, Boat 1,715 ms, Cloudflare 1,724 ms, Tensorlake 2,503 ms, a Fly cold create 4,621 ms, and Namespace macOS 26.9 s end to end
- Max vCPU
- Not fixed by the router: limits are the chosen provider's and size is part of the routing request
- Max memory
- Not fixed by the router: limits are the chosen provider's and size is part of the routing request
- Storage model
- Not published by the router; the provider's disk rules apply, and some providers bill standby storage between tool calls
- Network isolation
- Containment differs by adapter and is part of what the router matches: Docker and Daytona are containers, Fly, E2B, Cloudflare, Blaxel, Tensorlake, Boat and Namespace are microVMs, and Modal is gVisor. Outbound networking can be requested on or off per job, and the README's provider table records which adapters support disabling it. The router is not itself an isolation boundary, and the benchmarks note that a provider's destroy response can precede real shutdown, which is why Hourglass waits for a confirmed terminal state.
Lifecycle & capabilities
- Filesystem persistence
- Not supported
- Memory / disk snapshot
- Not supported
- Instant forking
- Not supported
- GPU acceleration
- Unknown
- GUI desktop / VNC
- Not supported
- Mobile / cloud phone
- Not supported
- Browser automation
- Not supported
- Network egress control
- Supported
- Pause / auto-sleep
- Not supported
- MCP protocol server
- Supported
- REST API & SDKs
- Unknown
- Idle billing
- Wall-clock billing
- State kept on pause
- Nothing survives
- Resume latency
- No pause or resume: a job creates a sandbox, runs its commands and destroys it, and the receipt times provision, exec and teardown separately
- Session limit
- No published timeout; the router waits for the provider to confirm a terminal state before recording a successful teardown, rather than trusting the destroy API's response
Pricing model
Official VerifiedRate read 1 Dec 2026.
The router is Apache-2.0 with no account, plan or hosted tier: it runs on your machine and dispatches to sandbox providers you already pay. Sandbox time therefore bills to each provider at its own list price, in its own increments, with billing minimums, start fees and standby storage still applying. Hourglass ships a versioned rate card (providers.toml, catalog version 2026.11.2) that it uses to attach an estimated cost to every receipt next to the provider-reported cost, and the local Docker adapter is priced at zero. No vendor rate card exists because Hourglass sells nothing, so the router's own cost is Pending audit.