Agent 基础设施官方公告自动监测

Agents - Agents SDK now supports Pi 1.6 with tools that wait without keeping your agent awake

Cloudflare Agents SDK v0.34.0 integrates Pi 1.6, introducing 'tool park' capabilities that let tools wait for signals, human approvals, or subagents without keeping Durable Objects awake.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

Agents SDK v0.34.0 updates PiHarness to Pi 1.6. A primary feature is 'Tools that wait', which allows tools to return a ToolPark type instead of a direct result. This registers waiting conditions (signals, deadlines, or subagent completion via notify in submit() / continue() ) and releases the invocation, enabling the underlying Durable Object to hibernate. Signals are delivered via harness.signal() . Pre-execution approval gates can be established via beforeTool hooks. Additionally, session management is enhanced: sessions can be initialized with existing message history using init in harness.root() , sessions.create() , and sessions.fork() . The release also introduces { onAbort: 'keep' } to preserve queued input when aborting responses, implements automatic retries and full conversation re-sending for Anthropic dropped connections, and adds PiHarness.dispose() for freeing per-session memory.

Agent 解析

可执行摘要

Cloudflare Agents SDK v0.34.0 upgrades to Pi 1.6. Key additions include ToolPark for hibernating tools pending external signals/deadlines/subagents via harness.signal() , init options for seeding sessions, { onAbort: 'keep' } for queue retention, and PiHarness.dispose() for state cleanup.

Agent 实用度
80/100
可信度
90%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • Upgrade Agents SDK to v0.34.0 to leverage Pi 1.6 features.
  • Refactor long-running or interactive tools to use ToolPark and harness.signal() to allow Durable Objects to hibernate.
  • Utilize the init parameter in harness.root() , sessions.create() , or sessions.fork() if pre-seeding session history from an external store.
  • Add PiHarness.dispose() calls when cleaning up sessions to properly free per-session memory.
分类

标签与路由

cloudflareagentschangelog
相关信号

继续阅读