Cloudflare is rebuilding its Wrangler command-rate interface (CLI) to expand API coverage and specifically accommodate the rise of AI agents. The company announced Monday that it is redesigning the tool to ensure its entire software stack is accessible to automated agents that are becoming primary users of its APIs.
Cloudflare CTO Dane Knecht stated that the next version of Wrangler aims to provide a consistent, programmable interface for these agents. The rebuild focuses on allowing agents to both build and operate applications on the Cloudflare platform, covering everything from development environments to infrastructure configuration.
"Increasingly, agents are the primary customer of our APIs," Cloudflare said in a statement. "We want to make every Cloudflare product available in all of the ways agents need."
Standardizing for machine readability
The redesign involves a complete overhaul of the company's code generation pipeline. Cloudflare has introduced a new TypeScript schema designed to define the full scope of APIs, CLI commands, and arguments. This schema allows the company to easily integrate future products into the CLI to meet the evolving needs of AI agents.
To prevent automation failures, Cloudflare is also enforcing strict command standardization at the schema layer. The company plans to eliminate non-standardized syntax to ensure agents do not encounter unexpected command variations.
"Agents expect CLIs to be consistent," the company noted, adding that the system will enforce uniform commands, such as using 'get' instead of 'info' and '--force' instead of '--skip-confirmations.'
While the primary driver is automation, the update includes new features for human developers. The company is currently testing a 'Local Explorer' feature in open beta for Wrangler and the Cloudflare Vite plugin. This tool allows developers to inspect Cloudflare Workers to view attached bindings and stored data, addressing a previous visibility gap in the development workflow.
A technical preview of the rebuilt Wrangler is available now via `npx cf` or through global installation via npm.