Cloudflare Agents SDK 0.30.0 released
A major release adding Pi 1.4 support and improving PiHarness recovery from errors, crashes, and evictions.
What changed in 0.30.0
- PiHarness now supports Pi 1.4, which migrates session storage to a new schema incompatible with Pi 1.3.
- Durable Objects can hibernate while Pi tasks sleep by passing onWake to Harness.open in your harness factory.
- Tasks stopped by Pi's restart limit appear as parked in pending() and can be retried; wake jobs no longer keep objects awake.
- PiHarness recovers from storage errors by reopening Pi instead of failing all calls, and persists wake jobs with backoff retry up to 10 minutes.
- pi-ai reports cut-off model streams as transient so Pi retries turns; Lifecycle no longer keeps evicted objects in memory.
Check before you update
- Update Pi packages to ~1.4.0; Pi 1.4 storage schema cannot be read by Pi 1.3, so you cannot roll back past this release.
- Move Pi registry from module scope into your class as a field or create it in the factory to prevent memory leaks from evicted objects.
- Pass onWake to Harness.open in your harness factory; without it the harness works but logs a warning and stays in memory.
Summarised by AgentGid from Cloudflare's official release notes on GitHub, as reported there; read the original before relying on it. Price, status and release dates come from our daily data.
Cloudflare Agents SDK at a glance
| What it is | Cloudflare's SDK for building stateful agents that run on Workers and Durable Objects. Its optional Pi harness support (Pi Durable) is experimental, and each agents release supports one Pi minor version. |
|---|---|
| Latest version | 0.34.0, Nov 20, 2026. This page is about an earlier release. |
| Release pace | 6 stable releases in the last 30 days; 0.30.0 came 2 days after the previous one |
| Price | Free (OSS). The SDK is open source and free; running agents is billed through Cloudflare Workers and Durable Objects usage. (checked Nov 4, 2026) |
| Downloads, last 7 days | 3.4M up 3.3% |
| Gid Score | 60 #7 in Agent frameworks and SDKs |
Cloudflare Agents SDK overview Monthly changelogAlternatives