Skip to main content

Cloudflare now lets AI agents deploy Workers without an account

· Do Minh Tuan · Tech Made Simple 💡

Cloudflare now lets AI agents deploy Workers without an account

Cloudflare introduced temporary accounts, a feature that lets an AI agent deploy a Cloudflare Worker without an existing account or API key. The Worker, a small unit of serverless code, runs for a while and can be claimed later. If nobody claims it, the account expires after 60 minutes.

I have mixed feelings, and they are the interesting part.

The problem it solves is real. Until now, an agent that wanted to build or test something had to be handed credentials, which means a long-lived key sitting in a config file where an agent can read it and, if the agent is confused or compromised, leak it. Anyone who has spent a Friday rotating a token will recognise the appeal of a guest pass that self-destructs.

Why serverless makes this workable

A Worker is a good fit for ephemeral deployment because there is no server to provision and nothing to clean up afterwards. You push code, the platform runs it when a request arrives, and you stop paying when the requests stop. Traditional hosting is closer to renting a shop: you pay whether or not anyone walks in.

That model is what makes a one-hour sandbox plausible. Spinning up an environment for an agent on a normal VM would leave a machine running somewhere, and forgotten machines are how cloud bills get weird. A Worker that expires costs almost nothing if nobody calls it.

The security argument is containment. If an agent writes buggy code, the blast radius is a temporary endpoint that disappears. It cannot touch your production account because it never had access to it. For teams experimenting with autonomous coding tools, that is a meaningful reduction in the worst case.

Where my scepticism starts

An unclaimed account that expires in an hour is a tidy story. The hard part is the claim step. At some point a person has to decide that the thing the agent built is worth keeping and attach it to a real billing relationship. That moment is a security boundary, and it is the part I would want documented in detail before I let an agent anywhere near it.

I also want to know what the temporary account can reach. If it can only host code and nothing else, fine. If it can call other Cloudflare services, or if the deployed Worker can make outbound requests to internal systems, then 'temporary' describes the account and not the risk. The announcement did not answer that in the material I read, and it is the first question I would put to the team.

And then there is the obvious one. A feature designed to let autonomous software deploy code without credentials is also a feature that lets autonomous software deploy code without credentials. The barrier that used to exist, a human pasting a token, was annoying and slow and it also forced a decision. Removing friction from deployment is good until the friction was the only review step.

How I would use it

I would use temporary accounts for exactly one thing: preview environments. An agent proposes a change, deploys it to a throwaway URL, and a human opens the URL and looks at it. The preview is the artefact under review, not the code. That works because a preview cannot charge a customer or write to a database, assuming the sandbox really is isolated.

What I would not do is let an agent claim accounts on its own. Claiming should require a person with billing rights, and it should produce a record of what was claimed and why. That is a policy decision, not a technical one, and it is the kind of decision that gets skipped when a team is moving fast.

For a founder, the practical upside is cheaper experimentation. A team can stand up many test versions of a page or an endpoint without paying for idle staging infrastructure, and without an engineer babysitting each one. The risk is the same as any other automation: more artefacts than anyone can review, and a queue of previews nobody opens. If you build this into a workflow, put a limit on how many live previews exist at once. The quota question is the one nobody asks until it bites. An agent that can create accounts without a human is an agent that can create them in a loop, and the platform will need per-user limits. The announcement does not describe them, which means the first version of your workflow should assume none exist.

There is a quota question nobody has answered yet either. An agent that can create accounts without a human is an agent that can create them in a loop, and the limits that stop that are not described in the release. I would want to know whether a temporary account can call other Cloudflare services, because if it can, the blast radius argument needs revisiting.

The part I actually like

The design admits something most security advice avoids. Agents will hold credentials, and pretending otherwise just pushes the secret into a worse place. A short-lived, scoped, self-expiring identity is a better answer than a permanent key with a note asking everyone to be careful.

That pattern is worth copying even if you never touch Cloudflare. For internal tools, issue credentials that expire in an hour and are scoped to one action. The operational cost is low, and it turns a breach from an incident into a non-event.

What I would watch next is whether the claim flow becomes a real audit trail or stays a convenience. If a year from now the interesting question is 'who approved this Worker', the feature will have grown up. If the answer is 'nobody knows', it will have become another quiet gap.

Written with AI assistance, reviewed and edited by Do Minh Tuan.