The brief

Cloudflare Agents 0.33.0 moves its Pi harness and related tools to Pi 1.5. The release says streamed answers and tool output are now stored in batches rather than on every update, reducing storage transactions and CPU work in the maintainers' SQLite benchmarks. The change has a tradeoff: a crash can lose up to about a second of streamed output. Pi also changes how it handles many simultaneous sessions, and the maintainers report a substantial improvement in agent runs per second in their benchmark.

The API changes matter to existing applications. session.watch() replaces session.events() and provides the latest transcript entries with live state; session.entries() pages older entries. session.continue() can restart a run that ended without an answer, including after a model error or turn limit. Pi 1.4 cannot read a conversation once it has run on Pi 1.5, so the release says deployments cannot roll back across that point. Cloudflare provides explicit upgrade steps and code examples in the original notes.