Four Use Cases for Pi Durable and Cloudflare Durable Objects

X postSuperlinearResource

Superlinear outlines four practical ideas for building with Pi Durable and Cloudflare Durable Objects, focusing on crash-resilient agents, multiplayer coding sessions, and inspectable execution state.

Key points

  1. Resilience for high-stakes workflows: Pi Durable records checkpoints for tool calls and prevents interrupted operations, such as payment refunds, from being blindly replayed after a crash.
  2. Multiplayer team agents: Durable Objects store persistent session state, allowing multiple team members to steer, monitor, and stream updates from the same agent across terminals, browsers, and mobile devices.
  3. Run-anywhere harness: Decoupling execution from state allows the agent harness to run across different JavaScript environments, including locally on mobile devices, whilst models or tools run elsewhere.
  4. Tooling built on execution state: Persisted structured tasks and checkpoints make it possible to build debugging dashboards, reliability metrics, and audit tools without re-activating the agent.

Why it matters

AI agent reliability often breaks down during side-effecting operations or system restarts. By formalising step-by-step checkpoints and separating state persistence from runtime execution, developers can build safer and collaborative autonomous workflows.

Analysis

The core insight shared by Superlinear is treating durable execution state as a primary architectural primitive rather than just a crash recovery mechanism. Inspecting this state without rehydrating or waking the LLM opens up opportunities for external observability tools, while still requiring developers to manage tool permissions and external idempotency keys.

Original post

Superlinear

@superlinear_fm · 22 October 2026

4 things worth building with @pidotdev's Pi Durable + @CloudflareDev Durable Objects: #1 Durable agents for high-stakes workflows Pi Durable can identify interrupted operations and avoid automatically replaying unsafe calls. Imagine an agent refunding a customer, then crashing t.co/wCQpZULcfi t.co/1mY7o72QiZ

135 likes18 replies288 bookmarks31.8k views

View on X
More posts in the thread (7)
  1. Watch on - YouTube: t.co/ANfWDlYAQA - Apple Podcasts: t.co/7YOCyGRMB7 - Spotify: t.co/JoSr6fmjGf Newsletter: t.co/IhoZTLjNtf
  2. @deeponailabs @pidotdev @CloudflareDev Yeah you still need that to safely retry the refund, and the good thing about pi durable is that it makes sure an interrupted tool call isn't blindly repeated.
  3. @melvindvivas @pidotdev @CloudflareDev Thanks, Melvin! Hope it sparked some ideas for things to build with Pi Durable!
  4. @catmanyau @pidotdev @CloudflareDev Yeah, we thought so too! The inspectable execution state is pretty unique to Pi Durable. Good point about "runnable everywhere" too. We wanted to say it's easy to deploy across different environments, but you're right that things like tool permissions and side effects still need
  5. @melvindvivas @pidotdev @CloudflareDev Nice! Curious what you're planning to build
  6. @melvindvivas @pidotdev @CloudflareDev Yeah, I can imagine Pi Durable being especially useful for businesses with high-stakes actions. Good luck!
  7. @_TheCodeTalker @pidotdev @CloudflareDev Thank you, glad you enjoyed it!
Selected replies (5)
  • @bkase_ @superlinear_fm @pidotdev @CloudflareDev How cool is this! You can co-opt crash-safety to have full malleable software (edit your own source code and then crash yourself and restart). This is only one of the non-obvious things you can do with Pi Durable that we share in this episode. t.co/OyvzmvWG3s
  • @SublimeCoderX @superlinear_fm @pidotdev @CloudflareDev retries are fine right up until the tool call has side effects
  • @christinetyip @superlinear_fm @pidotdev @CloudflareDev I've seen so many people building #1-3, but no one yet who've tried #4!
  • @catmanyau @superlinear_fm @pidotdev @CloudflareDev The inspectable execution state is the strongest idea here. I’d be careful calling the harness runnable anywhere, though: tool permissions and side effects still need to be enforced where those tools actually execute.
  • @melvindvivas @superlinear_fm @pidotdev @CloudflareDev awesome! thanks for this!

Links and tools from this entry

Summary generated by AI (Gemini 3.8 Flash, 27 October 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • X post:Mario Zechner

    Pi Durable and Cloudflare Durable Objects: Use Cases for Resilient AI Agents

    Mario Zechner highlights an in-depth breakdown by Superlinear exploring Pi Durable. The episode examines how pairing Pi Durable with Cloudflare Durable Objects enables crash-resilient, stateful AI agents without relying on event sourcing.

    230bookmarks13.3kviews

    AI & LLMs· Resource

  • Link:superlinear.fm

    Superlinear: Podcast and Blog for Builders Using Coding Agents

    Superlinear is a podcast and blog platform designed for engineers building with coding agents. It covers emerging practices, runtime architectures, and performance optimisations for persistent AI workflows.

    AI & LLMs· Resource

  • X post:dex

    EffectTS Agent Harness with Append-Only Log and Durable Objects

    Dex Horthy highlights an EffectTS agent harness built by @0xblacklight. The tool stores agent state in a portable append-only log, runs out of the box on Cloudflare Durable Objects, and includes an OpenTUI terminal interface.

    132bookmarks11.6kviews

    AI & LLMs· Tool

  • X post:Wes Bos

    Wes Bos highlights Scott's video on Pi Durable

    Developer Wes Bos recommends a new video by Scott covering Pi Durable. Bos notes that Scott was two months early on identifying OpenClaw, suggesting developers pay close attention to his coverage of Pi Durable.

    346bookmarks20.4kviews

    AI & LLMs· Resource

  • Link:Temporal Technologies

    Temporal: Open-Source Platform for Durable Execution and Resilient Workflows

    Temporal is an open-source platform (MIT license) designed for durable execution. It allows developers to author business workflows directly in standard code via native SDKs. The platform automatically tracks state across steps, ensuring processes resume seamlessly from the point of interruption following network flakes, crashes, or API failures.

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.