Feature
Run the Pi Durable harness on Cloudflare with the Agents SDK
The Agents SDK now provides first-class support for building agents using the Pi harness. You can build long-running agents using the combination of Pi 1.0, Pi Durable, and the new PiHarness class that the Cloudflare Agents SDK provides, ensuring your agent's work is durably persisted, even if interrupted mid-turn.
Built with Earendil, this integration is our first step toward first-class support for third-party agent harnesses on Cloudflare.
Beta
PiHarness is in beta. Pi Durable is a new, experimental package, and the PiHarness API will likely change as Pi Durable matures.
PiHarness is a new "Lifecycle capability" provided by the Cloudflare Agents SDK. Pi Durable provides the agent harness and the Lifecycle is responsible for keeping the agent running in the Durable Object. The Lifecycle is a core concept in the Agents SDK ensuring that long-running work can run in a Durable Object, surviving restarts, crashes, and network issues. We will share more on Lifecycle capabilities in the near future.
Install
Read the original announcement