architecture9 min read

Introducing cf: The Agentic CLI for the Complete Cloudflare API

9 similar posts
  • Wrangler
  • cf
  • Forge
  • Vite
  • Workers
  • Cloudflare Access
  • Cloudflare WAF

AI Summary

Cloudflare introduces 'cf', a new CLI designed natively for AI agents, expanding coverage from Wrangler's ~280 commands to over 3,000 API operations. Built using an OpenAPI-driven pipeline called Forge, it defaults to JSON output, incorporates natural language command search, and adopts TypeScript-based configuration via cloudflare.config.ts.

Key Takeaways

  • AI agents generated nearly half of Wrangler commands by mid-2026.
  • The new CLI scales API operations from ~280 in Wrangler to over 3,000.
  • Configuration shifts to TypeScript using cloudflare.config.ts with Vite integration.

Why it matters

As AI agents increasingly handle code generation and infrastructure deployment, traditional human-centric CLIs introduce inefficiencies like unicode tables and fragmented command patterns. Standardizing the entire API surface into an agent-first tool like cf marks a significant shift in developer tooling architecture.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.