# agents@0.34.1

Category: agent-infrastructure
Published: 2026-11-25T20:07:38Z
Source: [Cloudflare Agents SDK releases](https://github.com/cloudflare/agents/releases/tag/agents%400.34.1)
Agent usefulness: 72/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-28T02:17:49.185Z
Tags: cloudflare, agents-sdk, edge-runtime

## Human Summary
Cloudflare Agents SDK 0.34.1 adds support for Pi 1.6.1, updating tool parking payloads, stream error handling, and SSE decoder performance.

## Agent Summary
agents@0.34.1 aligns with Pi 1.6.1 and pi-ai 1.6.1. It introduces breaking data shapes for tool parking ({ kind: 'sleep', signals, until }) and signal states, while improving retry semantics for chat-completion streams, OpenRouter errors, and optimizing SSE decoding to linear time.

## Body
agents@0.34.1 brings compatibility with Pi 1.6.1 and pi-ai 1.6.1. Pi tools now require parking with { kind: "sleep", signals, until } rather than { sleep: { ... } } , and signal states now use { kind: "value", value } or { kind: "expired" } . Tools returning the legacy shape still compile but will yield empty results. The agents/models/pi-ai adapter now marks chat-completion streams ending with finish reason: "error" as retriable errors under the Pi harness settings, captures native OpenRouter finish reasons in rawStopReason , treats empty OpenRouter stops with failing native reasons as retriable errors, and ensures onResponse captures all responses including failures. Additionally, the SSE decoder in agents/models has been optimized to process large streamed events in linear time.

## Recommended actions
- Update any Pi tools that park execution to use the new payload shape { kind: "sleep", signals, until } and signal state format { kind: "value", value } or { kind: "expired" } to avoid empty results.
- Verify error-handling and retry logic in agents/models/pi-ai integrations, especially when consuming OpenRouter or stream completions that finish with error reasons.

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