Cloudflare releases Workers agents SDK

- Cloudflare said on April 15 it released Project Think, a preview of the next Workers Agents SDK for long-running, stateful AI agents. - The new toolkit adds durable execution, sub-agents, persistent sessions, and sandboxed code execution, tying agent state to Workers, SQLite, and WebSockets. - The launch extends Cloudflare’s push to make Workers an end-to-end agent runtime, not just stateless serverless compute. (blog.cloudflare.com)

Most web apps answer a request and forget it. Cloudflare’s new Workers Agents SDK update is aimed at agents that keep state, run for longer, and stay connected. (blog.cloudflare.com) Cloudflare introduced that update as Project Think on April 15, calling it the next generation of its Agents SDK for Workers. The preview bundles durable execution, sub-agents, persistent sessions, and sandboxed code execution into one framework. (blog.cloudflare.com) In plain terms, the software is meant to give an artificial intelligence agent a memory, a work queue, and a safe place to run code. Cloudflare says developers can use the primitives directly or start with a base class that wires them together. (blog.cloudflare.com) The company’s pitch is that current coding agents often live on a laptop or a virtual private server, cost money while idle, and are hard to share across teams. Cloudflare says agents are increasingly one-user, one-task systems, which changes the economics from the old model of one app serving many users. (blog.cloudflare.com 1) (blog.cloudflare.com 2) That scaling problem sits behind the rest of the release. Cloudflare’s Agents Week posts say a world with “tens of millions of simultaneous sessions” needs lighter infrastructure than traditional containers. (blog.cloudflare.com 1) (blog.cloudflare.com 2) One piece is persistent state. Cloudflare’s docs say Agents can keep memory across requests, schedule tasks, and sync state to clients in real time over WebSockets or HTTP. (developers.cloudflare.com 1) (developers.cloudflare.com 2) Another piece is durable background work. Cloudflare’s workflow docs split the job in two: Agents handle live communication and state, while Workflows handle long tasks, retries, and waiting for outside events. (developers.cloudflare.com) The sandboxing piece matters because many agents now write code to complete tasks instead of calling a fixed menu of tools. Cloudflare’s Dynamic Workers post says running that code in lightweight isolates can start much faster than containers and is now in open beta for paid Workers users. (blog.cloudflare.com) Cloudflare is also pushing a client side around the runtime. Its client SDK connects browsers, Node.js, Deno, Bun, or other edge functions to a named agent instance, with typed remote procedure calls, streaming responses, and automatic reconnection. (developers.cloudflare.com) The release is part of a broader April 12 to April 20 product blitz that Cloudflare called Agents Week 2026. In its recap, the company framed Workers, storage, networking, browser automation, and model access as pieces of a single “agentic cloud.” (blog.cloudflare.com) (blog.cloudflare.com) For developers, the immediate change is that Cloudflare is no longer describing Workers as only a stateless edge function platform. It is selling Workers as a place where an agent can remember, act, recover from failure, and keep talking to a user without leaving Cloudflare’s stack. (blog.cloudflare.com) (developers.cloudflare.com)

Get your own daily briefing

Scout delivers personalized news, insights, and conversations tailored to your role and industry.

Download on the App Store

Shared from Scout - Be the smartest in the room.