# agents@0.34.0

Category: agent-infrastructure
Published: 2026-11-20T15:56:33Z
Source: [Cloudflare Agents SDK releases](https://github.com/cloudflare/agents/releases/tag/agents%400.34.0)
Agent usefulness: 94/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-28T02:17:50.660Z
Tags: cloudflare, agents-sdk, edge-runtime

## Human Summary
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.

## Agent Summary
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.

## 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…

## Recommended actions
- 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.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.