TL;DR
Get business pricing on networking and server gear
- Business-only prices and quantity discounts
- Tax-exempt purchasing
- Multiple users, one account, clear invoices
Cloudflare has launched cf, an open-beta CLI that exposes the company’s entire API surface — over 3,000 operations — to AI agents, replacing Wrangler’s roughly 280 commands. Agent traffic had reached 48% of Wrangler usage. JSON is the default output, with a new TypeScript config format and Vite-based local development.
Cloudflare has launched cf, a new command-line interface built for AI agents, in open beta. The tool gives agents access to Cloudflare’s entire API surface of over 3,000 operations, a roughly tenfold expansion over the approximately 280 commands available in the company’s existing CLI, Wrangler, according to a Cloudflare blog post announcing the release.
The launch responds to a sharp shift in how developers interact with Cloudflare tooling. The company said agents accounted for a quarter of Wrangler usage in March 2026, up from single-digit percentages a year earlier, and that agent usage reached 48% last week. Agents also use nearly twice as many distinct commands per day as human users, Cloudflare reported, and are almost four times as likely to use six or more commands in a session.
cf is built on Forge, Cloudflare’s new unified API generation pipeline, which generates CLI commands directly from the OpenAPI schemas that already power Cloudflare’s API documentation and SDKs. Cloudflare said this approach let it standardize inconsistent command patterns inherited from Wrangler — where different product teams had developed their own terminology, such as d1 info, hyperdrive get, and workflows describe — while expanding coverage at the same time.
The tool ships with several agent-oriented design decisions. JSON is the default output format, condensed for agents to save context tokens and pretty-printed for humans, replacing the unicode tables many Wrangler commands returned. Configuration moves to cloudflare.config.ts, a TypeScript format starting with Workers, and Vite becomes the default local development server. cf also includes search and steering mechanisms for command discovery and deconstructs complex API operations, such as domain purchases, into validated form-style inputs. Installation is global via npm i -g cf.
Why Cloudflare Rebuilt Its CLI for Agents
The release signals how major infrastructure providers are restructuring developer tools around AI agents rather than human typists. Cloudflare’s own usage data — agents approaching half of Wrangler traffic — suggests that for some platforms, automated clients are becoming the primary users of developer tooling, and tool design is following.
The change also has practical consequences for existing users. Wrangler’s command patterns were absorbed into the training data of large language models through years of documentation and third-party guides, which Cloudflare said makes significant changes to Wrangler itself risky: agents would revert to learned behavior. Launching a fresh CLI avoids that conflict, though it requires agents and developers to adopt a new tool.
The scope expansion matters for automation workflows: Cloudflare said a single agent session can now deploy a Worker, monitor it, protect it with Cloudflare Access, buy a domain, and place it behind the Cloudflare WAF — operations that previously required multiple tools or direct API calls.
Top picks for "agentic cloudflare"
As an affiliate, we earn on qualifying purchases.
From Wrangler’s Limits to Forge
: “Wrangler was built incrementally over years, with each Cloudflare product team contributing its own command implementations. According to the company, enforcing consistent patterns across roughly 280 command paths proved impractical, and some teams built custom experiences spanning thousands of lines of code that were rarely used.
Cloudflare had teased plans to address this earlier in 2026. The solution, Forge, generates CLI commands from the annotated OpenAPI schemas behind Cloudflare’s API documentation and SDK generation, allowing coverage to scale from about 280 operations to over 3,000 without hand-built commands for each endpoint.
“Agents are more prolific users, using almost twice as many distinct commands per day, and are almost four times as likely to use six or more commands.”
— Cloudflare blog post
Open Beta Gaps and Migration Questions
cf is in open beta, and Cloudflare has not published a timeline for general availability or for feature parity with Wrangler. The company said it is launching with “a couple” of agent-focused features and that more are coming, but did not specify which.
The blog post does not fully detail Wrangler’s future — whether it will be maintained long-term, deprecated, or run alongside cf indefinitely. Migration tooling for existing Wrangler projects, beyond the new cloudflare.config.ts format “starting with Workers,” is not described. Which Cloudflare products beyond Workers support the new configuration format at launch, and how cf handles authentication and permissions across 3,000 operations, are also not spelled out in the announcement.
Cloudflare’s usage figures for agent traffic are the company’s own and have not been independently verified.
Roadmap Ahead for cf
Cloudflare said it will add more agent-focused features to cf over time, including expanded context injections and AGENTS.md file support, and that its command-discovery mechanisms are intended to become standard in more CLIs. The cloudflare.config.ts format is expected to extend beyond Workers to cover additional Cloudflare products. Developers can install the open beta now and provide feedback; Cloudflare has not announced dates for a stable release or Wrangler transition milestones.
Key Questions
How do I install the cf CLI?
Install globally with npm i -g cf. The tool is available worldwide as an open beta, according to Cloudflare’s announcement.
Does cf replace Wrangler?
Cloudflare positions cf as the successor covering over 3,000 API operations versus Wrangler’s roughly 280 commands. However, the company has not announced a deprecation timeline for Wrangler, so both tools currently coexist.
Why did Cloudflare make JSON the default output?
Cloudflare said agents using Wrangler routinely appended –json and filtered results with jq, but many Wrangler commands returned human-oriented tables instead. Making condensed JSON the default saves agents time and tokens.
What is cloudflare.config.ts?
It is cf’s new TypeScript-based configuration format for Cloudflare services, starting with Workers. Cloudflare says it brings type safety to both developers and agents via the language server protocol.
How much of Cloudflare’s usage is now driven by agents?
Per Cloudflare’s own figures, agents accounted for about 25% of Wrangler usage in March 2026 and reached 48% in the week before the cf announcement, up from single-digit percentages a year earlier.
Source: hn
Halloween Picks
halloween
As an affiliate, we earn on qualifying purchases.
