{
  "id": 12304253,
  "title": "Cloudflare Introduces CLI for AI Agents, Sunsetting Wrangler",
  "url": "https://urgent.news/2026/10/06/cloudflare-introduces-cli-for-ai-agents-sunsetting-wrangler",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-06T04:59:00.000Z",
  "source": {
    "name": "InfoQ",
    "slug": "infoq",
    "url": "https://www.infoq.com/news/2026/10/cloudflare-cf-cli/"
  },
  "original_language": "en",
  "account": "Cloudflare has unveiled a new open-source command-line interface (CLI) called cf, designed to streamline interaction with its services through a unified CLI for both developers and AI agents. Written in TypeScript, cf offers structured output and command discovery, effectively avoiding compatibility issues that may have arisen from integrating with existing LLM-based tools like Wrangler.\n\nMatt Taylor, a senior product manager at Cloudflare, and Samuel Macleod, a senior systems engineer at Cloudflare, revealed that Wrangler, previously used for command developer experience, was built separately by various product teams. Due to this, enforcing consistent terminology and practices across teams proved challenging. As a result, cf has been designed with agent-driven development in mind, featuring command discovery, optimized JSON output for humans and agents alike, and a new TypeScript-based configuration format.\n\nThe cf CLI aims to standardize existing functionalities while expanding to cover over 3000 API operations, significantly more than the roughly 280 functions available in Wrangler. By generating CLI commands directly from Cloudflare's API schema, Forge, Cloudflare's unified API generation pipeline, has made this possible.\n\nCommunity reaction to the choice of TypeScript for a CLI has been mixed, with some questioning the need for a compiled language and its impact on startup time, portability, and dependency management. However, Cloudflare contends that TypeScript's type safety and Language Server Protocol (LSP) support facilitate configuration for both humans and agents, reducing the risk of duplication and improving accuracy in configuration understanding and modification.\n\nUnlike Wrangler, which defaulted to table output, cf has opted for JSON as the default output format. This decision enables agents to easily filter and transform the data to meet the needs of human users, rather than relying on a format that may be less intuitive for parsing. Cloudflare plans to sunset Wrangler following the cf open beta, releasing a final major version of Wrangler and providing 18 months of maintenance support for users to transition to the new CLI.",
  "summary": "Cloudflare recently launched the open beta of cf, a new open-source, agent-focused command-line interface for interacting with Cloudflare services through a unified CLI. Written in TypeScript, it provides structured output and command discovery to make Cloudflare’s APIs easier for both developers and AI agents. By Renato Losio",
  "key_points": [
    "Cloudflare introduces open-source CLI \"cf\" for unified developer and AI agent interaction.",
    "Wrangler, previously used for developer experience, is sunsetted in favor of cf."
  ],
  "editors_take": "Cloudflare's new unified CLI for developers and AI agents standardizes interactions with its services, replacing Wrangler and expanding access to over 3000 API operations with a more consistent and agent-friendly design.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}