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.
Why this signal matters
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.
Actionable summary
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 usefulness
- 80/100
- Confidence
- 90%
- Canonical data
- JSON + Markdown
What builders should check
- 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.