Workers - Temporary accounts for AI agent deployments
Key Points
- wrangler --temporary creates a 60-minute preview deployment
- agents can deploy without interactive signup or API tokens
- claim URL converts the temporary account to a permanent one
Summary
Cloudflare Workers now let AI agents deploy directly to a temporary preview account when no Cloudflare credentials are available. Wrangler (v4.102.0+) can instruct an agent to rerun with --temporary, creating a preview deployment that remains live for 60 minutes and returns both a live Worker URL and a claim URL to convert the account to a permanent Cloudflare account.
Key Points
- Requirements: Wrangler 4.102.0 or later and no active login (
wrangler logout). - How to trigger: run your agent to deploy; Wrangler will prompt the agent to rerun the deploy with
wrangler deploy --temporary. - Lifetime: temporary deployment stays live for 60 minutes; within that window you can verify, redeploy, and use the claim URL to make the account permanent.
- Supported products (preview): Workers, Workers Static Assets, Workers KV, D1, Durable Objects, Hyperdrive, Queues, and SSL/TLS certificates.
- Practical notes: suitable for demos, CI-driven or automated agent workflows where interactive OAuth or API-token creation is impractical; not intended as a long-term production account—claim within 60 minutes and review product-specific limits and claim behavior in the docs.
Actions for engineers
- Update Wrangler:
npm install -g @cloudflare/wrangler@^4.102.0(or your preferred install method). - Ensure you are logged out:
wrangler logoutbefore running agent-driven deploys. - Observe Wrangler output and ensure the agent reruns with
--temporary. - After deployment, capture the live Worker URL and claim URL; follow the claim URL to sign in or create an account to make the deployment permanent.
For details on limits and claim behavior, see the Cloudflare docs: "Claim deployments (temporary accounts)" and "Temporary Cloudflare Accounts for Agents."