sunrise logo sunrise
Briefing 001 · November 9, 2026

Cloudflare wants coding agents that survive the crash

A new experimental harness runs the Codex agent loop on Cloudflare - and the caveats are the interesting part.

By David Šarlák · 4 min read
Listen to this briefing · 3 min
Rows of server racks inside a data center
Server racks in a data center. Photo: Carl Lender, CC BY 2.0, via Wikimedia Commons.

Today Cloudflare published an experimental example that runs OpenAI's Codex agent loop inside a Cloudflare Durable Object. Conversations, files, and completed model and tool results persist across restarts. After an interruption, the agent resumes from its saved state.

That matters more than it sounds. Coding agents fail in boring ways: timeouts, restarts, dropped connections. A demo that runs for five minutes is easy. An agent that survives a crash and keeps its state is the actual product problem.

How it works

The example adapts Codex's Rust turn-processing code to WebAssembly and builds on four pieces of Cloudflare's Agents SDK:

The caveats (read this part twice)

Our read

Editorial interpretation, not Cloudflare's claims. Durable execution used to be a backend niche. We read today's release as a signal that in the agent era it becomes a selling point: whoever makes long-running agents reliable - restarts, retries, replay - owns infrastructure every agent product needs. Cloudflare appears to be betting that this layer belongs at the edge.

If that read is right, today's release is less a product than a signal: a working coding agent assembled from primitives Cloudflare now ships. In our view, the moat is not the agent loop. It is the durability layer underneath it.

← All briefings

Get Sunrise in your inbox

Every briefing on this blog also goes out as the Sunrise newsletter on Substack. Free.

Subscribe on Substack