What Kind of File Volume Does an Agent Runtime Need?
When a coding agent’s container is replaced, what does it need to pick up where it left off? I’d start by separating the session from the runtime. Keep session state outside the runtime volume, and make sure the next runtime can recover the work the agent has already done, including uncommitted edits. A dependency cache can be rebuilt. Whether it’s worth keeping depends on how much time that saves.
That distinction changes how I’d choose storage. Git checkout and npm install touch a lot of small files, which makes local disk attractive for active work. A network filesystem makes it easier to recover a workspace on another machine, but metadata latency can slow those same operations even when throughput is high. I’d keep hot data and metadata local where possible, with durable workspace data backed by object storage.
- Agent Sandboxes
- POSIX