Cloudflare ships experimental Agents SDK example running the Codex agent loop on Workers
dinasaur_404 · x · 2026-11-11
Cloudflare published an experimental Agents SDK example that runs the Codex agent loop inside a Durable Object on Workers: conversations, files, and completed model/tool results persist across restarts so agents can recover from interruptions. The implementation compiles Codex's Rust turn-processing code to WebAssembly and combines four Agents SDK capabilities — Tasks (journaling calls, reusing completed results), Sessions (history storage and context compaction), Streams (ordered event replay), and Workspace (persistent file tools) — configured via AI Gateway with GPT-6.1 Sol.
More from coding & agent
- SAG2 builds RAG index 7000x faster with no embeddings or GPU, beats HippoRAG 2 — udmrzn · 2026-11-11
- One sentence makes Claude Fable 5.2 refactor boldly: say the codebase is its own — brandon_galang · 2026-11-11
- Visa tested 22 models on 15 shopping tasks: ~43% failure, agents bought wrong items anyway — Thick_Mulberry_2235 · 2026-11-11
- MCP or CLI? Yes — Sentry ships a unified experience bridging both — zeeg · 2026-11-11
- Stanford Launches CS329Z: Engineering AI Agents, Covering Memory, Evals and Proactive Agents — stanfordnlp · 2026-11-11
- Solo dev took down his multi-agent site for 8 hours by draining the shared model budget — wolfdogKC · 2026-11-11