Skip to content
InfoQ·

✨Cloudflare Unveils cf CLI, A New Agent-Focused Tool

Cloudflare's New CLI for Devs and AI Agents

TL;DR

Cloudflare introduces cf CLI, a TypeScript-based CLI for easier API access and agent-driven development. It covers over 3000 API operations and will replace Wrangler after an 18-month maintenance period.

Cloudflare just dropped the cf CLI, a TypeScript-based command-line interface designed for developer and AI agent workflows. This new CLI provides structured JSON output and command discovery, making Cloudflare's APIs more accessible and easier to work with. If you're tired of inconsistent terminology and practices in Wrangler, the cf CLI is a breath of fresh air. It supports over 3000 API operations, compared to Wrangler's 280 functions. Cloudflare plans to deprecate Wrangler after the cf CLI's open beta ends, offering 18 months of maintenance support for a smooth transition. The cf CLI is open-source under the Apache License 2.0 or MIT license, and it's optimized for both human and agent configurations.

Cloudflare Unveils cf CLI, A New Agent-Focused Tool — InfoQ

Key Points

1

Cloudflare's cf CLI is a TypeScript-based command-line interface for easier API access and agent-driven development.

2

The CLI supports over 3000 API operations, compared to Wrangler's 280 functions.

3

Cloudflare plans to deprecate Wrangler after the cf CLI's open beta ends, offering 18 months of maintenance support.

4

The cf CLI is released under the Apache License 2.0 or MIT license, making it open-source.

5

The CLI uses Cloudflare's OpenAPI schemas as the source, providing type safety and LSP support.

Why It Matters

If you're a Cloudflare user, the cf CLI is a must-watch. It standardizes and expands on existing CLI commands, making API access more consistent and easier for both developers and AI agents. The CLI's support for over 3000 API operations and its type safety and LSP support make it a powerful tool for anyone working with Cloudflare's APIs.

cloudflareclitypescriptapiai

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 3,555 builders reading daily.

Also get