Cloudflare Agents SDK 0.34: tools that can wait for a person
What is new in Cloudflare Agents SDK 0.34? The release, published on November 20, lets a tool inside an agent wait for a person, a deadline or another session while the agent itself sleeps. That comes from the move to Pi 1.6. The MCP client now also reports when a user has to sign in again, and failed requests no longer send error details to the client. After upgrading you cannot roll back to an earlier version.
We read the agents 0.34.0 release notes on GitHub and the Pi 1.6 changelog. Cloudflare's changelog account announced the release in a post on X.
What happened
The Agents SDK is the library for building agents on Cloudflare that keep their state between requests. Version 0.34.0 appeared on GitHub on November 20. Most of it concerns Pi, the harness the SDK uses to let a model work with tools. The SDK now supports Pi 1.6; Pi 1.5 is no longer supported.
The main changes
- Tools that wait. A tool can park until a signal arrives or a deadline passes, while the agent sleeps. You deliver a signal with
harness.signal(). - Waiting for a subagent.
submit()andcontinue()take anotifyoption, so a parked tool wakes when another session settles. - Keeping input on abort. With
onAbort: "keep", a message the user already sent stays queued when an answer is stopped. - Starting a session from existing history. A new or forked session can begin with an earlier conversation.
- MCP re-authorization. A request that needs a new sign-in throws an error with a link. A failed server stays failed until you call
reconnectMcpServer(id). - Fewer leaking errors. A failed request gives the client a generic 500, or close code 1011 for a WebSocket.
onFetchError()lets you choose the response. - Other. Conversations with Anthropic models recover when the message thread expires, chat races across tabs are fixed, FLUX.2 image models are added and
claudeCode()defaults toclaude-sonnet-5-5.
What to watch when upgrading
According to the release notes you only need to act if you use the Pi harness, the Pi models or tools, an MCP client, or error details in responses. The key point: once a conversation runs on Pi 1.6, Pi 1.5 can no longer run its tool calls. A deployment therefore cannot roll back past this release. Cloudflare advises fixing a bad deploy by rolling forward. If you relied on error details in responses, for example only in local development, implement onFetchError.
What this means
An agent waiting for human approval used to need something that stayed active or set its own alarm. With this release, waiting is an ordinary state of a tool. That makes an approval step cheaper and simpler to build, a pattern that also shows up in other agents, for example in the approval step in OpenClaw 2026.11.4.
The MCP client change is a quiet security improvement: a failing server is no longer retried on every wake, and the user gets a clear request to sign in again. We wrote about risks around MCP servers in our article on a vulnerability in a Git MCP server. If you already use Cloudflare for agents, see an earlier test in our article on Browser Run Snapshot.
What we did not verify
We did not install or deploy the new version ourselves; that requires a Cloudflare account with Durable Objects. Posts on X also mention a Minecraft server running on Cloudflare and a sharp drop in MCP tokens with Code Mode; those are not in these release notes and we did not check them.
Checked on November 22, 2026.
This article was written with AI (Claude) and checked against the sources below.
Sources
- Cloudflare, [email protected] release notes (November 20, 2026): github.com
- Earendil, pi-durable 1.6.0 changelog: github.com
- Cloudflare, Pi harness documentation: developers.cloudflare.com
- @CFchangelog on X about Agents SDK v0.34.0: x.com


