Hasty Briefsbeta

Bilingual

Cf: The Agentic CLI for the Cloudflare API

5 hours ago
  • Agent usage of Wrangler surged to 48% of all use, with agents using more commands per day and being more likely to use six or more commands.
  • Cloudflare introduced cf, a new CLI built for agents that provides access to the entire Cloudflare API (over 3,000 operations), compared to Wrangler's ~280.
  • cf is designed with agents in mind: JSON output by default for efficient parsing, natural language command search via 'cf cli search', and TypeScript-based configuration for type safety.
  • The new configuration format (cloudflare.config.ts) uses TypeScript, reduces configuration size by up to 40%, and supports programmatic environment definitions with helpers like bindings and triggers.
  • cf uses Vite as the default build tool, offering HMR, Rolldown bundling, and a plugin ecosystem, while still delegating to Wrangler for legacy Workers.
  • Migration from Wrangler is done via 'cf migrate', with ongoing Wrangler maintenance for 18 months after beta ends.
  • cf is open source and available as an npm package; new projects can be started with 'cf init' and static sites deploy with 'cf deploy'.