cloudflare

Temporary Cloudflare Accounts for AI agents (opens in new tab)

Cloudflare introduced Temporary Cloudflare Accounts for AI agents, allowing them to deploy Workers without human-driven signup or authentication. With wrangler deploy --temporary, an agent receives a temporary account, API token, and deployment URL, then has 60 minutes to claim the account. If unclaimed, the account and its resources are automatically deleted.

Why Frictionless Deployment Matters

  • Background agents often operate without a human available to complete OAuth, copy tokens, or approve MFA.
  • Temporary deployments support the agent’s rapid write → deploy → verify iteration cycle.
  • Throwaway environments let agents test code cheaply and independently.
  • Agent platforms increasingly need deployment workflows that work without requiring users to create accounts on unfamiliar services.

How Temporary Accounts Work

  • The feature is integrated into Wrangler, Cloudflare’s CLI for creating, configuring, and deploying projects.
  • When an unauthenticated deployment encounters the normal signup barrier, Wrangler informs the agent about the --temporary option.
  • Running wrangler deploy --temporary provisions:
    • A temporary Cloudflare account
    • An API token for Wrangler
    • A claim URL that can be returned to the user
  • The temporary account can be reused for multiple deployments during the 60-minute window.

Agent Deployment and Iteration

  • An agent can create a TypeScript “Hello World” Worker, deploy it, and use the returned preview URL to verify the result.
  • It can then modify the source and redeploy without repeating account setup.
  • Agents can use this loop to test and refine applications autonomously.

Claiming or Expiring the Account

  • Users can open the claim link, sign up for or sign in to Cloudflare, and permanently take ownership of the temporary account.
  • Claiming includes associated Workers, databases, and other bindings.
  • Unclaimed accounts are automatically deleted after 60 minutes.

Broader Agent Provisioning Efforts

  • Cloudflare is also working with Stripe on protocols for agents to create accounts, start subscriptions, register domains, and obtain deployment credentials without manual token or payment entry.
  • Its collaboration with WorkOS on auth.md aims to support agent-driven account creation through established OAuth standards.
  • Temporary accounts are positioned as one step toward making Cloudflare and other services easier for AI agents to use.

Developers should update Wrangler and try wrangler deploy --temporary for autonomous, short-lived deployments, while consulting Cloudflare’s documentation for current limitations.