What I learned
Lessons and the model
Five lessons
- Cloudflare works as an agent runtime. A container, a Durable Object as its controller and disk snapshots give you agent machines that scale to zero, in the user's own account.
- The control plane is the product. Lifecycle, an idempotent op journal, a snapshot index, keep-alive, fencing and recovery were most of the work every time.
- Snapshots save the disk, not memory. So every harness has to survive a restart. Design for resume, not for staying up.
- Keeping secrets out of the box is Cloudflare's strongest card. Egress interception and Worker gates beat putting keys in the container's environment.
- Without a control plane you pick a failure. Keep the box on and pay 24/7, or let it sleep and lose state. Moltworker shows both.
The model: cell, fleet, adapter
Anthropic splits an agent into a harness (the loop), a session (the log) and a sandbox (the machine). Something still has to see every session, start and stop sandboxes, snapshot them and bring them back. Cloudflare gives you an excellent controller for one sandbox. The layer that sees the fleet, every team builds again.
- Front doorsAmp orb provider, OpenCode client, chat webhooks, Codex remoteharness vendorsexists
- Harness adapter, one per harnessboot, ready, attach, quiesce, export state, resume hook, activity signalecosystem, on a standard interfacepartial
- Fleet planesession registry, reconcile loop, op journal, quotas, rollout, events, list and inspectCloudflare librarymissing
- Cell: one Durable Object plus one containerlease and fencing, state machine, egress policy, snapshotsCloudflareexists
- Platform mechanismslist objects and snapshots, managed snapshot lifecycle, eviction notice, reliable timers, inbound TCP and SSH, stable credential injectionCloudflare platformmissing
Dashed layers are missing. The adapter layer is partial: Cloudflare's experimental ContainerHarness runs Claude Code and Codex headless, with no interactive attach and no fleet view.
Next: what I think Cloudflare should own.Read the RFC →