# agents@0.24.0

Category: agent-infrastructure
Published: 2026-09-18T12:22:49Z
Source: [Cloudflare Agents SDK releases](https://github.com/cloudflare/agents/releases/tag/agents%400.24.0)
Agent usefulness: 82/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-09-19T00:17:20.950Z
Tags: cloudflare, agents-sdk, edge-runtime

## Human Summary
Cloudflare Agents 0.24.0 introduces a Cap'n Web transport alongside standard WebSockets, refactors durable state and background queues into modular Lifecycle capabilities, and migrates legacy tables.

## Agent Summary
agents@0.24.0 adds Cap'n Web wire transport support via useAgent and AgentClient , removes the experimental ?agents rpc=capnweb endpoint, and refactors core subsystems into Lifecycle capabilities ( Queue and State ). Queue operations are now asynchronous, queued callbacks execute via alarm loops without caller connection contexts, and legacy tables ( cf agents queues and cf think workflow notifications ) are…

## Body
agents@0.24.0 introduces significant architectural modularization and new transport options: - WebSockets & Cap'n Web Transport : WebSockets now support the Agent protocol for plain Durable Objects. Clients can select transports via useAgent({ transport }) and AgentClient({ transport }) , offering either cf-websocket (hibernating socket default) or capnweb (direct invocation, live stubs via RpcTarget, streaming ReadableStreams, call pipelining). The experimental ?agents rpc=capnweb endpoint from v0.23.0 has been removed. - Queue Lifecycle Capability ( agents/queue ) : Durable background work now delegates to the Lifecycle job queue executed from an alarm loop. Queued callbacks run in fresh invocations and no longer access enqueuing connection context via getCurrentAgent() . Methods dequeue , dequeueAll , dequeueAllByCallback , getQueue , and getQueues are now asynchronous. QueueItem.created at is renamed to createdAt . Legacy cf agents queues and cf think workflow notifications tables are migrated on startup and will be dropped in the next minor release. - State Lifecycle Capability : State management is extracted into an opt-in State capability handling storage, validation, caching, and change ordering, usable outside of Agent . Schema versioning transitions to KV storage keys. - Protocol State Sync in WebSockets : The WebSockets capability now manages Agent protocol state synchronization and per-connection access control.

## Recommended actions
- Await previously synchronous queue methods ( dequeue , dequeueAll , dequeueAllByCallback , getQueue , getQueues ).
- Rename usages of QueueItem.created at to QueueItem.createdAt .
- Refactor any background queue callbacks that rely on getCurrentAgent() accessing the original caller's request or connection context.
- Deploy 0.24.0 before updating to future minor releases to ensure one-shot database migrations for cf agents queues and cf think workflow notifications run properly before support is removed.

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