meir dick

What I learned

Lessons and the model

Five lessons

  1. 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.
  2. 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.
  3. Snapshots save the disk, not memory. So every harness has to survive a restart. Design for resume, not for staying up.
  4. Keeping secrets out of the box is Cloudflare's strongest card. Egress interception and Worker gates beat putting keys in the container's environment.
  5. 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.

  1. Front doors
    Amp orb provider, OpenCode client, chat webhooks, Codex remote
    harness vendors
    exists
  2. Harness adapter, one per harness
    boot, ready, attach, quiesce, export state, resume hook, activity signal
    ecosystem, on a standard interface
    partial
  3. Fleet plane
    session registry, reconcile loop, op journal, quotas, rollout, events, list and inspect
    Cloudflare library
    missing
  4. Cell: one Durable Object plus one container
    lease and fencing, state machine, egress policy, snapshots
    Cloudflare
    exists
  5. Platform mechanisms
    list objects and snapshots, managed snapshot lifecycle, eviction notice, reliable timers, inbound TCP and SSH, stable credential injection
    Cloudflare platform
    missing

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 →