Cryo freezes running agents on Fly.io Sprites to disk and brings them back after the Sprite restarts, or on another Sprite. Same memory, same conversation.
Claude Code on a Fly.io Sprite, holding things only it knows.
Nobody types for a while. The Sprite pauses to save money.
The pause goes cold. Every process on the machine dies.
But seconds earlier, cryo froze its whole mind to disk.
The Sprite wakes. The agent is back, mid-sentence.
CRIU copies a running process, every page of its memory, to disk. cryo decides when, and puts it back.
After the agent does real work, cryo copies it to disk. It's paused for about 0.26 s.
The Sprite goes cold, moves host or is restored. Every process is gone. The disk isn't.
On boot, cryo restores the copy: same process, same memory, mid-sentence.
Or ship the copy to another Sprite and thaw it there. Only toward a Sprite whose clock is ahead.
Freezing a process on a Sprite with CRIU, and moving it to another one, hit seven walls. Here is each one, and the way around it. A few of them may be news to Fly too.
Sprites drop CAP_SYS_PTRACE, so CRIU can't freeze anything the sprite user owns.
No CAP_SYS_TIME, so restoring a time namespace fails outright.
No CAP_DAC_READ_SEARCH, so inotify watches can't be reopened by handle. Claude Code watches its settings.
On the overlay root, folders report one device and files another, so watched files can't be found. io_uring can't be dumped at all.
It restarts the container, not the kernel, so "did we reboot?" says no.
A paused Sprite freezes every process, so "every 60 seconds" can mean an hour.
Every Sprite's monotonic clock counts from its own boot, and without a time namespace a moved process can't be given its old clock. Land on a Sprite that booted later and every timer in the agent waits for hours. We moved Claude to a younger Sprite and it froze mid-sentence; moved toward the older one, it answered at once.
One Python file on top of CRIU and two Sprite services. When an agent comes back, or lands on another Sprite, cryo emails you through the Resend connector, and the key never touches the machine.
this page was frozen. nothing was lost.