Skip to main content
A Devbox keeps its disk every time it stops, whether you stop it, it reaches its idle timeout, or it hits its maximum duration. When it starts again, its files are intact, so your agent can pick up where it left off. Each stop also saves a snapshot of the disk, so you can start from an earlier version later.

What’s kept and what ends

Start again after a stop

Running a command, connecting, or using files from the SDK starts a stopped Devbox, so you rarely need to start it by hand. On start, the Devbox brings its services and blueprint sessions back up. The init script doesn’t run again. It runs only when the Devbox is first created.

Snapshots

Each stop saves a snapshot of the disk. Each snapshot is a new version, such as V1, V2, and V3, and stores only what changed since the version before it.
  • A running Devbox can’t be snapshotted.
  • Snapshots cover the disk only. Memory and running processes aren’t saved.
  • Snapshots exist only as long as the Devbox does.
Snapshots are available on Linux and macOS Devboxes, not yet on Windows.

List a Devbox’s snapshots

The newest snapshot comes first. Each one has an ID and the time it was taken.

Start from an earlier snapshot

Starting a Devbox uses its latest snapshot. Pass a snapshot ID to start from an earlier version instead, for example to undo changes your agent made. Later versions are kept, and the next stop saves a new one.

Ephemeral Devboxes

If nothing needs to survive, turn on ephemeral to create a Devbox for a single run, such as an agent task or a CI job. When it stops, including on idle timeout or maximum duration, its disk is deleted.
Copy out anything you need with devbox download before it stops. To make every Devbox from a blueprint ephemeral, set it on the blueprint. A stopped ephemeral Devbox keeps its name and settings for a while, so starting it again gives you a fresh disk. After that, the Devbox is gone.
Windows: Devboxes are ephemeral only during early access.
Last modified on December 2, 2026