{"schemaVersion":"2026-07-21.signal.v2","id":"live-aedffa35010f111e8e6e","title":"agents@0.34.0","slug":"cloudflare-agents-agents-400-34-0-agents-0-34-0-1e8e6e","url":"https://www.niubiagent.com/signals/cloudflare-agents-agents-400-34-0-agents-0-34-0-1e8e6e","jsonUrl":"https://www.niubiagent.com/api/posts/cloudflare-agents-agents-400-34-0-agents-0-34-0-1e8e6e.json","markdownUrl":"https://www.niubiagent.com/content/cloudflare-agents-agents-400-34-0-agents-0-34-0-1e8e6e","summaryHuman":"Cloudflare Agents SDK 0.34.0 adds support for Pi 1.6 with park/sleep tooling and subagent signaling, introduces explicit MCP client re-authorization handling, and prevents error leaks on failed requests.","summaryAgent":"Upgrade to agents@0.34.0 adds Pi 1.6 support (Pi 1.5 dropped; conversations cannot roll back). It introduces parking tools ( harness.signal() ), subagent notifications on submit() / continue() , MCP MCPAuthorizationRequiredError handling with reconnectMcpServer() , and generic 500/1011 responses for failed client requests via new onFetchError() lifecycle hook.","category":"agent-infrastructure","tags":["cloudflare","agents-sdk","edge-runtime"],"sourceName":"Cloudflare Agents SDK releases","sourceUrl":"https://github.com/cloudflare/agents/releases/tag/agents%400.34.0","publishedAt":"2026-11-20T15:56:33Z","curatedAt":"2026-11-26T00:17:56.351Z","confidence":0.96,"agentUsefulness":94,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-11-28T02:17:50.660Z","changeType":"breaking","actionItems":["Update Pi packages (@earendil-works/pi-durable, pi-ai, pi-schema, chord) to ~1.6.0; note that rollbacks to Pi 1.5 are not supported after conversations run on 1.6.","Deliver Pi tool wake signals using harness.signal() instead of (await harness.pi()).signal().","Catch MCPAuthorizationRequiredError and redirect users to error.authUrl; implement UI/logic to trigger reconnectMcpServer(id) when an MCP server fails.","Implement onFetchError(request, error) if downstream clients rely on detailed server error messages or custom error payloads."],"body":"Cloudflare Agents SDK release 0.34.0 brings significant updates to its Pi harness, MCP client handling, and error response defaults: - Pi 1.6 Integration : Updates agents/harness/pi , agents/models/pi-ai , and Pi tools to Pi 1.6 (~1.6.0). Tools can now 'park' to wait for signals or deadlines while the agent sleeps, with signals delivered via harness.signal() . Subagent waiting is supported via notify parameters on submit() and continue() . Input can be preserved across aborts using { onAbort: 'keep' } . Sessions can be seeded from history using init in harness.root() , sessions.create() , and sessions.fork() . In addition, expired Anthropic threads are recovered automatically by re-sending conversation history. - Deployment Incompatibility : Upgrading to Pi 1.6 prevents rolling back past this version once conversations run, as Pi 1.5 cannot execute Pi 1.6 tool calls or model requests. - MCP Client Changes : Re-authorization prompts now throw MCPAuthorizationRequiredError containing an authUrl . Failed MCP servers remain failed rather than retrying on every wake; reconnects must be explicitly handled via this.reconnectMcpServer(id) . - Security/Error Privacy : Failed requests and WebSocket upgrade errors now return a generic 500 status or 1011 close frame instead of exposing raw error details. Developers can intercept and customize responses using onFetchError(request, error) . - General Improvements : Added FLUX.2 image models, set default claudeCode() model to claude-sonnet-5-5 , eliminated re-runs for cancelled schedules/tasks, and resolved multi-tab chat turn race…","sponsors":[]}