Cloudflare Agents SDK 0.34.0 released
A major release adding Pi 1.6 support with tools that can wait without keeping the agent awake, plus MCP re-authorization and improved error handling.
What changed in 0.34.0
- Pi tools can now park until a signal, deadline or another session's input arrives, letting the agent sleep meanwhile; use harness.signal() to deliver signals.
- MCP clients now receive MCPAuthorizationRequiredError when re-authorization is needed, and failed servers require explicit reconnectMcpServer() to retry.
- Failed requests return a generic 500 or WebSocket close 1011 instead of sending error details; use onFetchError() to customize the response.
- Sessions can now start from an existing history via init parameter in harness.root(), sessions.create() and sessions.fork().
- Claude Code now defaults to claude-sonnet-5-5; FLUX.2 image models available in ai.image() and pi-ai's ai.images().
Check before you update
- Pi 1.5 no longer supported; conversations running on Pi 1.6 cannot roll back to earlier versions.
- Call harness.root() before accessing the root through harness.pi() to ensure proper initialization.
- Use harness.signal() instead of (await harness.pi()).signal() to deliver signals to parked tools.
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 is the latest stable release we track. |
| Release pace | 6 stable releases in the last 30 days; 0.34.0 came 17 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