Cloudflare `wrangler deploy --temporary` for AI agents

On 2026-06-19, Cloudflare shipped wrangler deploy --temporary — a Wrangler CLI flag that provisions a temporary Cloudflare account, deploys a Worker to a workers.dev URL, and prints a claim URL. No human in the loop. No API token. No OAuth. No Cloudflare account. The deployment stays live for 60 minutes; within that window a human can open the claim URL, sign in or sign up, and convert the temporary account into a permanent one. If nobody claims it, Cloudflare deletes the temporary account and its deployments automatically (Cloudflare blog, 2026-06-19; Cloudflare developer docs, 2026-06-19). On 2026-06-21, independent developer Simon Willison confirmed the flow end-to-end with GPT-5.5 xhigh in Codex Desktop.
This is the most concrete engineering response so far in 2026 to the auth wall that has stalled autonomous deploys. It is also, clearly, a Cloudflare product feature, not an industry standard.
What shipped
The blog post (2026-06-19). “Temporary Cloudflare Accounts for AI agents” was authored by Sid Chatterjee, Celso Martinho, and Brendan Irvine-Broque at Cloudflare. The framing: “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.” The technical core is the new wrangler deploy --temporary flag. When an agent runs wrangler deploy without credentials, the CLI now prints a message suggesting --temporary, so the agent can discover the flag without being told by a human. Cloudflare provisions a temporary account, gives Wrangler an API token, and prints a claim URL.
The developer docs (page last modified 2026-06-19). “Claim deployments (temporary accounts)” documents the full flow, the supported-products table, the limits, and the abuse-prevention posture. --temporary returns an error if the CLI can already use OAuth, CLOUDFLARE_API_TOKEN, or a global API key.
Simon Willison’s independent test (2026-06-21). Simon ran GPT-5.5 xhigh in Codex Desktop, had the agent build and deploy a cloudflare-redirect-resolver Worker. Verdict: “The temporary deployment worked as advertised.” His claim-UI screenshot shows the account-claim page with a 49:26 countdown timer.
The flow
- Update Wrangler to 4.102.0 or later (install-and-update docs).
- The agent runs
npx wrangler deploy --temporary. The CLI prints:Temporary account ready: Account:
example-name(created). Claim within: 60 minutes. Claim URL:https://dash.cloudflare.com/claim-preview?claimToken=<TOKEN>. Deployedexample-workertriggershttps://example-worker.example-name.workers.dev. - Within the 60-minute window, Wrangler caches the temporary account and reuses it for subsequent
wrangler deploy --temporaryruns. The cache is cleared bywrangler loginorwrangler logout. - A human opens the claim URL, signs in or signs up, and converts the temporary account into a permanent one. The Worker and its resources attach.
Supported products and limits
| Product | Temporary preview account limit |
|---|---|
| Workers | Deployments on workers.dev |
| Workers Static Assets | ≤1,000 files, each ≤5 MiB |
| Workers KV | Commands that use temporary credentials |
| D1 | One database, ≤100 MB |
| Durable Objects | Commands that use temporary credentials |
| Hyperdrive | ≤2 configs, ≤10 connections |
| Queues | ≤10 |
| SSL/TLS | Commands that use temporary credentials |
Anything outside this list (R2, Pages, Stream, Email Workers) is not yet supported via --temporary. The docs also call out four behaviors that are easy to miss: a proof-of-work check before account creation, rate limits on temporary account creation, opaque abuse prevention checks, and the fact that claim URLs are sensitive — the token in the URL is the credential.
Why it matters
- The auth wall is the single biggest visible blocker for autonomous agents in 2026. Browser-based OAuth flows, copy-paste of API tokens, and MFA prompts stop background agents cold.
--temporaryis the first widely-deployed CLI-level response from a major platform that does not require the agent to discover a custom protocol. - Tight write → deploy → verify loops are essential for agent productivity. An agent can write code, deploy, curl the result, and verify the output in a single session without any human interaction.
- The industry is converging on a few specific patterns. The blog references the Cloudflare + Stripe partnership for provisioning and the WorkOS
auth.mdcollaboration. Each is a different shape of the same problem: how does an agent get credentials in a world built for humans?
Practical implications
- The invocation is one line.
npx wrangler deploy --temporary. Wrangler 4.102.0+ is required. - Iteration is supported within the 60-minute window via cached credentials.
- The supported products table is the truth. R2, Pages, Stream, Email Workers are not yet supported.
- The production path is unchanged. Use
wrangler loginorCLOUDFLARE_API_TOKENfor production and CI/CD.
Risks and caveats
- This is a Cloudflare product, not an industry standard. Vercel, Netlify, Render, Fly, and Railway do not have a public
--temporary-equivalent flag as of 2026-06-22. - The 60-minute TTL is short for some real workloads. Long-running training or multi-day batch jobs will be reclaimed.
- Supported products and limits are narrow. D1 to one database, Hyperdrive to two configurations, Queues to ten.
- Claim URLs grant ownership of the temporary account. Treat them as sensitive credentials.
- Abuse prevention is opaque. Additional abuse checks and rate limits may silently block agents.
- Simon Willison’s test is a single user, single model, single project. Generalisation from one test is a classic pitfall.
- “For AI agents” is partly marketing. Simon’s own write-up flags: “the AI hook isn’t really necessary.”
What to watch
- Whether other platforms ship equivalent features and the rough shape (CLI flag vs. dashboard shortcut vs. protocol).
- Adoption in agent frameworks — Claude Code, Codex, Cursor, Aider, smolagents.
- Expansion of supported products and limits.
- Abuse and rate-limit behaviour at scale.
- Convergence with WorkOS
auth.mdand the Cloudflare + Stripe partnership.
Sources
- Cloudflare blog — “Temporary Cloudflare Accounts for AI agents” (2026-06-19)
- Cloudflare developer docs — “Claim deployments (temporary accounts)” (2026-06-19)
- Cloudflare developer docs — “Install and update” the Wrangler CLI
- Cloudflare developer docs — Wrangler
deploycommand reference - Cloudflare blog — Cloudflare + Stripe partnership for agent provisioning (2026-06-19)
- Simon Willison — “Temporary Cloudflare Accounts for AI agents” (2026-06-21)
- Simon Willison — GPT-5.5 xhigh in Codex Desktop session gist (2026-06-21)
- Simon Willison — cloudflare-redirect-resolver test repo (2026-06-21)
- WorkOS —
auth.md(2026-06-19) - Hacker News discussion on the temporary-accounts announcement (2026-06-21)