Momentary Cloudflare Accounts for AI brokers


Everybody’s writing code with AI brokers at the moment. However the second an agent must deploy one thing — and wishes to enroll and create an account — it slams face-first right into a wall constructed for people: a browser-based OAuth stream, a dashboard to click on by way of, an API token to copy-paste, a multi-factor authentication immediate to fulfill. For an interactive copilot sitting subsequent to a developer, that is annoying. For a background agent, it is a onerous cease.

Immediately we’re rolling out Momentary Cloudflare Accounts for Brokers.

Brokers can now deploy websites, APIs, and agents straight away, with out first needing to enroll in an account.


Any agent can now run wrangler deploy --temporary and deploy a Employee to Cloudflare. This non permanent deployment stays dwell for 60 minutes, throughout which era you may declare the non permanent account, making it completely your personal. Should you do not, it expires by itself.


Our purpose? Let your agent code and ship.

Why frictionless deployments matter for AI brokers

Frictionless non permanent accounts matter greater than it’d first appear:

  • Background AI classes don’t have any human within the loop, and have gotten the norm. Any auth step that wants a browser, a copy-paste, or “click on right here in 60 seconds” means an agent will get caught and will select to deploy elsewhere.

  • Trial-and-error is the agent’s superpower. Brokers want a good write → deploy → confirm loop. They want low-cost, throwaway deployment targets, to allow them to curl their very own output and determine whether or not they bought it proper.

  • Agent platforms are constructing their very own methods for deploying code to “simply work” with out additional steps or credentials. Individuals are beginning to count on that this course of simply works, with out the necessity to enroll in different companies that they’ve not used earlier than or heard of.

Momentary accounts are constructed round Wrangler, our Developer Platform command-line interface (CLI) device that lets builders bootstrap new tasks, handle their configurations and assets, and deploy and replace them.

Wrangler utilization is broadly documented on-line and brokers know find out how to use it very effectively. However for those who hadn’t but signed in and granted Wrangler permission to your Cloudflare account, when the agent tried to deploy, it might get caught on the sign-up and authentication step. And also you may rightly ask: How do brokers and LLMs know that this new --temporary flag in Wrangler exists, in order that they really use it and not using a human explicitly telling them to take action?

To resolve this, we up to date Wrangler to immediate the agent with a message that tells it in regards to the --temporary flag:


When the agent discovers this, after which runs wrangler deploy once more with the --temporary flag, Cloudflare provisions a brief account for the agent to make use of, provides Wrangler an API token to work with, and gives a declare URL that the agent may give again to the human.

Let’s go over each step of the stream

Deploying and iterating on a brand new undertaking

Be sure you’re utilizing the newest Wrangler release, fireplace up your favourite coding agent, and write a immediate to deploy a “good day world” app in construct mode:

Make a quite simple good day world Cloudflare Employee in TypeScript and deploy it utilizing wrangler, do not ask me questions, do the very best you may

The agent will run wrangler, decide up the --temporary flag from the output messages, construct your script, and deploy it immediately, no human within the loop required:


As you may see, the agent wrote the script, deployed it utilizing the --temporary flag, curled the preview hyperlink it bought from the output, and verified that the outcome matches the code.

That is nice, however agentic coding is commonly not about one single deployment. A session can undergo a cycle of a number of code adjustments. This isn’t an issue: the agent can iterate on the Employee script and redeploy the adjustments as many instances because it desires (throughout the 60-minute declare window). Kind this immediate:

Now change good day world to "good day cloudflare" and redeploy

Take a look at the agent altering the supply code, reusing the beforehand created non permanent account, redeploying a brand new model and rechecking the outcome:


At any level, you may declare the non permanent account and make it yours completely. Whenever you click on the declare hyperlink you may be taken to a web page the place you may both join or check in to Cloudflare, after which declare the non permanent account that your Employee was deployed to. This contains claiming not simply Staff, however assets like databases and different bindings, too.


If you don’t declare these non permanent accounts inside 60 minutes, they are going to be routinely deleted.

The street to frictionless agentic deployments 

This is only one manner we’re eliminating the signup barrier for brokers. We just lately announced a partnership with Stripe and a brand new protocol we co-designed that lets brokers provision Cloudflare on behalf of their customers — creating an account, beginning a subscription, registering a site, and getting an API token to deploy code, with no copy-pasting tokens or coming into bank card particulars. Final month, we collaborated with WorkOS on the launch of auth.md, which anybody can undertake, to let brokers provision new accounts utilizing well-established, present OAuth requirements. 

There’s a ton occurring on this area, and we’re excited to maintain making it simpler for brokers to make use of Cloudflare, and for builders to make their very own apps agent-ready. Momentary accounts are yet another step towards frictionless agentic deployments — keep tuned for extra. 

Momentary accounts have some limitations, and their capabilities might change over time; test the developer documentation for extra info after which go construct one thing. Level your agent at Cloudflare, see how far it will get, and inform us what we are able to enhance or what delights you — share what you’ve constructed on X or hop into the Cloudflare Community.