Cloudflare Blog Try it →
Product · Workers · Agents

Temporary Cloudflare Accounts for AI agents

Agents can now run wrangler deploy --temporary and deploy a Worker to Cloudflare — no sign-up, no API token, no copy-paste. The temporary deployment stays live for 60 minutes; claim it to make it permanent, or let it expire on its own.

SC CM BI
By Sid Chatterjee, Celso Martinho & Brendan Irvine-Broque 2026-06-19 · 4 min read
~/agent-project — zsh
$ npx wrangler deploy --temporary
Total Upload: 1.24 KiB / gzip: 0.63 KiB
Worker Startup Time: 18 ms
Worker Sandbox: containers
Your Worker has access to the following bindings:
  env.ASSETS (Assets)
Uploaded temp-tan-adverb-7b3 (5.20 sec)
Deployed temp-tan-adverb-7b3 triggers (0.71 sec)
  https://temp-tan-adverb-7b3.workers.dev
Temporary Account URL:    https://temp.cloudflare.com/abc123
Current Version ID:      7f1a8b9c-3d2e-4a11-b5e6-9a8c0d1e2f30
Temporary account expires in 60 minutes. To make it permanent, claim it.

The problem

Built for humans. Stuck for agents.

Everyone's writing code with AI agents today. But the moment an agent needs to deploy something — and needs to sign up and create an account — it slams face-first into a wall built for humans: a browser-based OAuth flow, a dashboard to click through, an API token to copy-paste, a multi-factor authentication prompt to satisfy.

For an interactive copilot sitting next to a developer, that's annoying. For a background agent, it's a hard stop.

today

The fix

Today we're rolling out Temporary Cloudflare Accounts for Agents.

Any agent can now run wrangler deploy --temporary and deploy a Worker to Cloudflare. This temporary deployment stays live for 60 minutes, during which time you can claim the temporary account, making it permanently your own. If you don't, it expires on its own.

Our goal? Let your agent code and ship.

Why frictionless deployments matter

More important than it might first seem.

01

Background AI sessions have no human in the loop

And they're becoming the norm. Any auth step that needs a browser, a copy-paste, or "click here in 60 seconds" means an agent gets stuck — and may choose to deploy elsewhere.

02

Trial-and-error is the agent's superpower

Agents need a tight write → deploy → verify loop. They need cheap, throwaway deployment targets so they can curl their own output and decide whether they got it right.

03

"Just works" is the new bar

Agent platforms are building their own ways for code to "just work" without extra steps or credentials. People are starting to expect that this process just works, without needing to sign up for other services they've never used or heard of.

How it works

Built around Wrangler.

Temporary accounts are built around Wrangler, our Developer Platform command-line interface (CLI) tool that lets developers bootstrap new projects, manage their configurations and resources, and deploy and update them.

Wrangler usage is widely documented online and agents know how to use it very well. But if you hadn't yet signed in and granted Wrangler permission to your Cloudflare account, the agent would get stuck at the sign-up and authentication step. So how do agents and LLMs know that this new --temporary flag in Wrangler exists — and actually use it without a human telling them to?

The prompt

We updated Wrangler to prompt the agent with a message that tells it about the --temporary flag.

wrangler — when not signed in
 It looks like you are not signed in. Running wrangler as an agent?
  Try:  wrangler deploy --temporary
  It will give you a temporary Cloudflare account, deploy your Worker,
  and provide a URL your user can claim within 60 minutes.

$ wrangler deploy --temporary
Cloudflare provisions a temporary account, gives Wrangler an API token,
and provides a claim URL the agent hands back to the human.

Let's go over every step of the flow

Deploying and iterating on a new project

  1. Step 1

    Make sure you're on the latest Wrangler

    Fire up your favorite coding agent and write a prompt to deploy a "hello world" app in build mode:

    Agent prompt
    Make a very simple hello world Cloudflare Worker in TypeScript and deploy it using wrangler, don't ask me questions, do the best you can

    The agent will run Wrangler, pick up the --temporary flag from the output messages, build your script, and deploy it instantly — no human in the loop required.

    ~/hello-world — agent run
     wrangler deploy --temporary
     curl https://temp-tan-adverb-7b3.workers.dev
    Hello World!  ✓ verified against src/index.ts

    The agent wrote the script, deployed it with --temporary, curled the preview link, and verified the result matches the code.

  2. Step 2

    Iterate, iterate, iterate

    Agentic coding is often not about a single deployment. A session can go through a cycle of multiple code changes. Not a problem: the agent can iterate on the Worker script and redeploy the changes as many times as it wants — within the 60-minute claim window.

    Agent prompt
    Now change hello world to "hello cloudflare" and redeploy

    Watch the agent change the source code, reuse the previously created temporary account, redeploy a new version, and recheck the result.

    ~/hello-world — second iteration
     wrangler deploy --temporary   # reuses temp-tan-adverb-7b3
     curl https://temp-tan-adverb-7b3.workers.dev
    hello cloudflare  ✓

Claiming the account

Make it yours — before the clock runs out.

At any point, you can claim the temporary account and make it yours permanently. When you click the claim link you will be taken to a page where you can either sign up for or sign in to Cloudflare, and then claim the temporary account that your Worker was deployed to. This includes claiming not just Workers, but resources like databases and other bindings, too.

Claimed within 60 min

  • Worker, databases, bindings, all become permanent
  • API token survives the transition
  • You keep deploying from your own account

Not claimed in time

  • Temporary account is automatically deleted
  • Worker URL stops responding
  • Resources are cleaned up — nothing lingers
Auto-deletion window
60:00 minutes

The road to frictionless agentic deployments

This is one more step.

This is just one way we're eliminating the signup barrier for agents.

Partnership

Stripe

A new protocol we co-designed that lets agents provision Cloudflare on behalf of their users — creating an account, starting a subscription, registering a domain, and getting an API token to deploy code, with no copy-pasting tokens or entering credit card details.

Standard

WorkOS · auth.md

Last month, we collaborated with WorkOS on the launch of auth.md, which anyone can adopt, to let agents provision new accounts using well-established, existing OAuth standards.

Today

Temporary accounts

Frictionless, throwaway, self-expiring Cloudflare accounts that any agent can spin up with a single flag. One more step — and there's a lot more coming.

Heads up: Temporary accounts have some limitations, and their capabilities may change over time; check the developer documentation for more information and then go build something. Point your agent at Cloudflare, see how far it gets, and tell us what we can improve or what delights you.

Point your agent at Cloudflare. See how far it gets.

Update Wrangler, fire up your favorite coding agent, and let it ship a Worker in the time it takes you to read this paragraph.