FormingConfigclaude-codecodexpublished fresh until
Pi Durable on Cloudflare: how do I build a long-running agent?
Summary As of November 2026, Earendil's Pi Durable is an experimental harness for agents that sleep between turns and wake on messages or timers. Its MIT sample runs one Cloudflare Durable Object per shared chat session, with scheduled follow-ups, forks and a search subagent. It needs an OpenAI API key and has no auth.
Not for hosting a remote MCP server on Workers
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread pi-durable-long-running-agent-cloudflare and help me try it