News: 1776113955

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Cloudflare revamps CLI as agents take over the internet

(2026/04/13)


Cloudflare is rebuilding Wrangler’s command-line tooling by adding commands for products and interfaces that still lack CLI support. And yes, AI agents are a big reason why.

A single CLI tool for Cloudflare's entire API surface and considerable software stack would be nice for human developers, undoubtedly. It doesn't appear that meatbags stuck typing on keyboards even entered into the equation, however, as Cloudflare [1]said Monday that AI agents are fast becoming its major API users.

"Increasingly, agents are the primary customer of our APIs," the company said. "We want to make every Cloudflare product available in all of the ways agents need."

[2]

Sorry, human developers, but it looks like the CLI is now AI agents' turf, and you just live in it.

[3]

[4]

"The next version of Wrangler is being rebuilt to give agents a consistent, programmable interface to configure and interact with Cloudflare's products," Cloudflare CTO Dane Knecht explained in an email to The Register . "This is about making it easier for agents to both build and operate applications on Cloudflare, from development environments to infrastructure configuration."

The company explained that, while Cloudflare's entire API is now available in a single Code Mode MCP server, "there's a lot more area to cover" in exposing Cloudflare's products to the command line. Among the areas Cloudflare wants to cover are Workers bindings, SDKs, configuration files, the Terraform provider, developer docs, OpenAPI schemas, agent skills, and more.

[5]

"Many Cloudflare products have no CLI commands in Wrangler," the company said. "And agents love CLIs … so we've been rebuilding Wrangler CLI to make it the CLI for all of Cloudflare."

As part of the process of Cloudflare rebuilding Wrangler for the agentic age, the company is releasing a technical preview that's available now. Interested parties can try it out by running npx cf or installing it globally via npm install -g cf.

Cloudflare said that a principal part of its redesign of Wrangler included the company rethinking its entire code generation pipeline, which led to the creation of a new TypeScript schema it says "can define the full scope of APIs, CLI commands and arguments, and context needed to generate any interface," making it easy to incorporate future Cloudflare products into the CLI to accommodate the needs of AI agents.

[6]

Also for the sake of robots and not humans, Cloudflare said that it's going to begin enforcing default CLI commands at the schema layer to ensure that AI agents using Wrangler don't fail due to a less standard command that the agent doesn't know.

"It's always get, never info. Always --force, never --skip-confirmations," the company said. "Agents expect CLIs to be consistent."

Throwing human developers a bone with Local Explorer

All of those new features are great for human developers too, but Cloudflare at least directed one new CLI feature toward its human users.

Local Explorer, available now in open beta for both Wrangler and the Cloudflare Vite plugin, lets users inspect Cloudflare Workers to see what bindings they have attached as well as what data is being stored against them. The idea here is to remove a blind spot in the Worker interface that made it difficult to figure out if the data they were accessing was local or not.

[7]Cloudflare turns websites into faster food for AI agents

[8]Cloudflare previews 'EmDash' – an AI-driven rebuild of WordPress in TypeScript

[9]Cloudflare goes big on serverless with new command line, lures devs with free account tier

[10]Cloudflare, GoDaddy team up to curb AI bot brigades

"Until now, working out what data was stored locally required you to reverse engineer, introspect the contents of the .wrangler/state directory, or install third-party tools," Cloudflare said. The API for Local Explorer is available at /cdn-cgi/explorer/api in any application compatible with Wrangler or the Vite plugin.

Cloudflare is fielding feedback for both Local Explorer and the new version of the Wrangler CLI, even from humans, and encourages feedback via its developer Discord channel for those who give it a shot.

As for when Cloudflare CLI users, human or otherwise, can expect more functionality to come to Wrangler beyond the limited features added to the preview so far, the company wouldn't get specific.

"We’re already testing a version that supports the full API surface," Knecht told us. "The current preview is an early step, and over the coming months we’ll expand coverage and bring it together with existing Wrangler functionality." ®

Get our [11]Tech Resources



[1] https://blog.cloudflare.com/cf-cli-local-explorer/

[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2ad1nhdYQDB8BJnXfZ0gzPwAAAVA&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ad1nhdYQDB8BJnXfZ0gzPwAAAVA&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ad1nhdYQDB8BJnXfZ0gzPwAAAVA&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[5] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ad1nhdYQDB8BJnXfZ0gzPwAAAVA&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/devops&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ad1nhdYQDB8BJnXfZ0gzPwAAAVA&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[7] https://www.theregister.com/2026/02/13/cloudflare_markdown_for_ai_crawlers/

[8] https://www.theregister.com/2026/04/02/cloudflare_previews_emdash_an_aidriven/

[9] https://www.theregister.com/2019/06/03/cloudflare_goes_big_on_serverless_with_new_command_line_free_accounts/

[10] https://www.theregister.com/2026/04/07/cloudflare_godaddy_ai_bot_blocking/

[11] https://whitepapers.theregister.com/



We decided it was night again, so we camped for twenty minutes and drank
another six beers at a Young Life campsite. O.C. got into the supervisory
adult's sleeping bag and ran around in it. "This is the judgment day and I'm
a terrifying apparition," he screamed. Then the heat made O.C. ralph in the
bag.
-- The Utterly Monstrous, Mind-Roasting Summer of O.C. and Stiggs,
National Lampoon, October 1982