Ephemerality: scaling multi-agent development beyond imagination
Ephemeral Workspaces.Durable Shared History. LayerFS is the substrate under your agents. Each one mounts a complete, writable Workspace over shared committed history, does its work, commits what it changed, and goes away.
Ephemeral workspaces Durable results Massive parallelism LayerFS and DSH LayerFS and Pi soon
Compute exists only while a command runs.
fs · atomic write → Store write edit rm sandbox · workspace per bash mount exec commit unmount mount exec commit unmount mount exec commit unmount mount exec commit unmount mount exec commit unmount >_ mkdir out >_ cat log.txt >_ python train.py >_ node build.js UpToDate Store C41 C42 C43 C44 C45 C46
Compute: Agents spend ~80% thinking, ~10% in Bash.FS: Each file tool call is one atomic Store op.Sandbox: Each Bash tool call mounts an ephemeral workspace, then commits.Agents on different computers share one serverless Store.
store.db C41 C42 C43 C44 C45 C46 C47 computer 1 computer 2 computer 3 computer 4
Shared storage: Every agent commits to one Store, with no DB server.Distributed computing: Each agent runs on its own computer.One project, many branches. One branch, many agents.
main auth ui login.ts api.ts session.ts app.tsx token.ts app.tsx nav.tsx Conflict: app.tsx app.tsx · merge markers <<<<<<< head C44 <Cart /> ======= <Search /> >>>>>>> workspace blame app.tsx C12 import Nav C44 <Header /> C44 <Cart /> C46 <Search /> L3 · publish L4 · publish
Commits: Every tool call is a commit on its branch.Conflict: A same-file clash is refused with Conflict.Blame: Each line names the step that wrote it.Fork recursively any commit, at any depth.
publish 0.62 0.48 0.21 0.40 0.78 0.66 0.30 0.71 0.91 0.69 pruned pruned pruned pruned pruned ★ best 0.91 explorers ×3 explorers ×3 explorers ×4 explorers ×3 explorers ×1 fork: no files copied
Zero cost: A fork is metadata and copies no files.Recursive: A filesystem for RSI agents and recursive exploration for RL training.10 copies compress into 0.31.
commits 1 · dedupe 12 chunks 13 chunks 14 chunks 15 chunks 11 matched · +1 new 11 matched · +1 new 11 matched · +1 new dedup → ≈1.05 copies → 2 · compress ≈0.31 copies illustrative · store.stats
Dedup: Each content chunk is stored once.Compression: The stored chunks shrink further.Ratio: 10 copies → 1.05 dedup → 0.31 compression wtf???Dependencies come with every mount. No wasting time for re-installation.
1 · git / other AgentFS without .gitignore files oops! src/ package.json .git/ node_modules/ node_modules/ .cache/ .cache/ $ npm test ✗ Error: Cannot find module 'react' $ npm install $ npm test ✓ passed ⏱ 0:05 ⏱ 0:20 ⏱ 1:00 ⏱ 2:00 ⏱ 3:00 ⏱ 4:00 ⏱ 5:00 ⏱ ≈5 min before the first run clone + install, typical ⚠ wasting time · waiting on install ⌛ 2 · LayerFS npm install committed once, back then (C12) src/ package.json .git/ node_modules/ .cache/ $ mount → workspace ready $ npm test ✓ passed instant · no install ⚡ mount 0.05 s measured mounts: 5–20 ms ⚡ ⚡ ready the moment it mounts
Git / other AgentFS: Drops ignored files; reinstalls.LayerFS: Ignored files stay in every commit.Comparison: ~5 min to install vs 0.05 s to mount.