deeplethe/sandstorm

Run thousands of AI agent sandboxes on the cheapest machines.

What it solves

Sandstorm addresses the problem of high memory usage when running many isolated applications. Typically, keeping thousands of sandboxes active consumes excessive RAM. Sandstorm solves this by automatically pausing idle sandboxes and saving their state to disk, allowing a single machine to host far more sandboxes than it could keep running simultaneously.

How it works

Sandstorm uses an adaptive lifecycle with four tiers: hot (running), frozen (paused in memory), snapshot (saved to disk), and detached (only the volume remains). When a request arrives for a paused sandbox, the system quickly restores it from its saved state. It supports two backends—gVisor containers and Firecracker microVMs—and includes a master service that manages scheduling, monitors sandbox states, and provides a web console for fleet management.

Who it’s for

It is designed for developers and infrastructure engineers who need to run large numbers of isolated, event-driven, or intermittent applications on limited hardware, such as serverless platforms or high-density microservice environments.

Highlights

  • Supports both gVisor containers and Firecracker microVMs as sandbox backends.
  • Automatically wakes sandboxes on incoming traffic.
  • Includes a built-in web console to monitor sandbox tiers, node health, and latency.
  • Protects host stability by refusing new work when system memory is low.
  • Operates as a single binary that functions as both the master controller and the worker node.

Related

  • Project
  • Project
  • Project
  • Project