BuildRiot
Sign in

AISource: Cloudflare

Cloudflare Agents 0.33.0 adds Pi 1.5 with a rollback limit for migrated conversations

Cloudflare Agents 0.33.0 adds Pi 1.5, which Cloudflare says reduces storage writes. Conversations that run on Pi 1.5 become unreadable by Pi 1.4, making migration a deployment decision.

Cloudflare logo
Cover: BuildRiot

Cloudflare released Cloudflare Agents 0.33.0 on November 3, 2026, adding Pi 1.5 with a compatibility limit: Pi 1.4 cannot read conversations after they run on Pi 1.5. Cloudflare advises rolling forward after deployment problems; reverting application code alone therefore does not restore compatibility with migrated conversations. These migration requirements affect the Pi harness, agents/models/pi-ai and Pi tools. Sources: Cloudflare

Cloudflare reports roughly 27-fold fewer SQLite transactions for long answers, 5.7-fold fewer for parallel-tool turns and about 25% less CPU use. These figures do not establish reduced storage capacity requirements or billing savings. Agentic Weekly repeats the compatibility warning but labels its report untested and provides no independent measurement of Cloudflare’s performance claims. Sources: Cloudflare, Agentic Weekly

Streaming remains immediately visible, but default batching can lose approximately one second of streamed output after a crash. Crash recovery resumes from the last checkpoint; the one-second figure describes potentially lost progress, not recovery time. Setting settings.progress.persistWithinMs to 0 replaces the default 1,000-millisecond interval with a storage write for every update, removing the batching delay without guaranteeing uninterrupted execution. Sources: Cloudflare

Replace session.events() with session.watch(), render initial and updated conversation views, and use session.entries() for older transcript entries. Pi dependencies move to ~1.5.0 with @earendil-works/pi-schema added; applications retaining Type must import it from typebox because Pi AI no longer exports it. The schema builder’s obj() rejects unlisted properties by default; remove retry() calls and parked handling because tasks reaching the restart limit now terminate. Sources: Cloudflare

Retaining Pi 1.4 with a compatible SDK defers conversation migration and the new batching benefits. Default Pi 1.5 persistence accepts approximately one second of potentially lost progress; persisting every update removes the configured delay at the cost of more writes. Both Pi 1.5 choices leave affected conversations unreadable by Pi 1.4. Sources: Cloudflare

What to do

  1. Before deploying Cloudflare Agents 0.33.0 with Pi 1.5, plan to roll forward after problems because Pi 1.4 cannot read migrated conversations.
  2. Replace session.events() with session.watch(), render initial and updated conversation views, and use session.entries() for older transcript entries.
  3. Update Pi dependencies to ~1.5.0, add @earendil-works/pi-schema, and import Type from typebox if the application retains it.
  4. Review obj() schemas and supply { open: true } where unlisted properties are needed, then remove retry() calls and parked handling for terminal tasks.
  5. Choose whether to retain Pi 1.5’s default 1,000-millisecond persistence interval or set settings.progress.persistWithinMs to 0 for a storage write on every update. Sources: Cloudflare

Why it matters

Users of the Pi integration face a data compatibility decision alongside Cloudflare’s claimed reduction in writes. Migrated conversations constrain rollback, while default batching trades fewer writes for a short window of potentially lost progress.

Attribution

Sources

  1. 1CloudflareRelease agents@0.33.0Source published (UTC)
  2. 2CloudflareAgents SDK now supports Pi 1.5 with fewer storage writes and lower memory useSource published (UTC)
  3. 3CloudflarePi
  4. 4Agentic WeeklyCloudflare Agents 0.33.0: Pi 1.5Source published (UTC)

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

More on AI

All AI stories
Cloudflare Agents 0.33.0 adds Pi 1.5 with a rollback limit for migrated conversations · BuildRiot