{"schemaVersion":"2026-07-21.signal.v2","id":"live-82d9aa64478570c573ea","title":"agents@0.34.1","slug":"cloudflare-agents-agents-0-34-1-agents-0-34-1-c573ea","url":"https://www.niubiagent.com/signals/cloudflare-agents-agents-0-34-1-agents-0-34-1-c573ea","jsonUrl":"https://www.niubiagent.com/api/posts/cloudflare-agents-agents-0-34-1-agents-0-34-1-c573ea.json","markdownUrl":"https://www.niubiagent.com/content/cloudflare-agents-agents-0-34-1-agents-0-34-1-c573ea","summaryHuman":"Cloudflare Agents SDK 0.34.1 adds support for Pi 1.6.1, updating tool parking payloads, stream error handling, and SSE decoder performance.","summaryAgent":"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.","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.1","publishedAt":"2026-11-25T20:07:38Z","curatedAt":"2026-11-26T00:17:49.136Z","confidence":0.96,"agentUsefulness":72,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-11-28T02:17:49.185Z","changeType":"release","actionItems":["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."],"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.","sponsors":[]}