I favor ephemeral sandboxes for agent tasks over tying an agent permanently to a VM. My view is that task isolation and horizontal scale-out offer a better foundation, while persistent disks and deliberate state management can still be useful.
I argue that cloud agents are massively superior even without memory when each task uses a sandbox.
I argue that if you're using persistent VMs with agents you're doing it wrong.
I see ephemeral sandboxes as not only the future but already the present.
I say ephemeral sandboxes provide numerous and superior capabilities to single or small quantity persistent VMs.
I allow that you might find value in persistent disks, and say that you cannot ignore state.
I call the idea of a VM that has permanent state coupled to it a waste of calories.
I draw on the same principles we've applied to scaling web infrastructure for decades: removing constraints and allowing horizontal scale-out gives more leverage.
I say worktrees are a waste of time as a substitute.
I took dozens of hours to get our remote agent behaving well with sandboxes.
I push back on treating sandboxes as too hard, saying that we are paid to solve hard problems.