Serverless Functions vs Persistent VMs for Browser Agent Backends Compared
Browser agents need environments that survive, so sleeping microVMs beat disposable functions.
Tobias Wrenfield
8 stories
Browser agents need environments that survive, so sleeping microVMs beat disposable functions.
Compute, state, and credentials must be isolated together, and cloud primitives don't do it.
Recorded steps, saved sessions, and VM snapshots let agents survive restarts.
Snapshot-restore scheduling stops idle browsers from draining compute.
Isolating agents in VMs with placeholder credentials prevents secret theft at scale.
Agents need filesystem-level safety controls, not just prompt-based guardrails.
Persistent state infrastructure is what separates functional browser agents from broken ones.
Agents need real browsers to navigate JavaScript-heavy sites and handle stateful interactions.