cf
cf is the agentic CLI for the entire Cloudflare API. It offers agent-friendly command search and steering, JSON output by default, cloudflare.config.ts configuration for Workers, and Vite as the default dev server.
Visit cloudflare/cfOverview
cf is the agentic CLI for the entire Cloudflare API. It is built for the next generation of software development, with bespoke search and steering for agents, JSON as the default interface, cloudflare.config.ts configuration, and Vite as the default local development server.
Key Features
- Bespoke search and steering to help agents find the command they need for Cloudflare tasks.
- JSON as the default interface, pretty printed for humans and condensed for agents to save context.
- cloudflare.config.ts as the configuration format for the whole of Cloudflare, starting with Workers, bringing TypeScript safety and accuracy to you and your agent's language server protocol (LSP).
- Vite as the default local development server, with a plugin suite for developers and framework authors.
- Installable globally via npm and runnable from anywhere.
Use Cases
- Agents finding and running Cloudflare API commands using bespoke CLI search and steering.
- Human developers using pretty-printed JSON output for Cloudflare API interactions.
- Configuring Cloudflare services with cloudflare.config.ts, starting with Workers.
- Developers and framework authors extending local development with Vite and its plugin suite.
Getting Started
- Install the open beta globally: npm i -g cf
- Run it from anywhere.
Before You Adopt
- License: Apache-2.0. Review its terms before using, modifying, or distributing the project.
- cf is offered as an open beta.