Cloudflare launches cf, an agent-first CLI covering every API operation
Cf: The Agentic CLI for the Cloudflare API
Cloudflare released cf, a new CLI built for AI agents that spans over 3,000 API operations, up from Wrangler's 280. It defaults to JSON output, includes natural-language command search, and uses a TypeScript config file that type-checks. The move follows a surge in agent usage of Wrangler, which hit 48% last week. cf is available in open beta via npm.
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.
- slowin
I don't understand why this is written in Typescript. This is a great example of how agents can write code (I'm sure they wrote `cf`), yet having fundamental computer science knowledge is still critical. Do not force your users to manage the dependencies of your cli. Do write your cli in a compiled language. Understand the reason for those decisions and tell your agents to use the correct architecture.
- emadabdulrahim
It's crazy that some of the best product launches nowadays are CLIs.
- alasano
I don't know what it is about wrangler that made me dislike it so much but I welcome this change since it's meant to replace wrangler.
- smithclay
This is a lot to like here as someone who pretty much exclusively uses the Cloudflare API via agents. Hoping (since it's built on top of Forge), some kind of native terraform support is also in the works.
Great when you're a solo dev deploying a worker, but would be incredible for production deployments if this could also just natively output terraform code.
- recroad
This is cool, but I've never had an issue with agents working on Cloudflare by just making REST calls. With the rest docs, it knows pretty much everything about what kind of operations it can do. Is the CLI a subset of that or does in encompass everything?