Cloudflare 推出了專為 AI 代理設計的全新 CLI 工具「cf」,旨在突破舊有 Wrangler 工具的限制,實現對超過 3,000 個 API 的全面控制。
想像一下:早上醒來,你對人工智慧 (AI) 代理說:「請幫我設定網站安全性,部署一個新的 Worker(無伺服器應用程式),並進行監控。」過去,開發者為了完成這些複雜作業,必須手動輸入數十個指令,但現在,AI 已經能直接處理這些任務。
| Cloudflare 近期順應這股「代理時代 (Agentic Era)」的潮流,公開了全新的命令列工具 (CLI)——「cf」。這不僅僅是換了一個工具,更象徵著我們操作技術的方式即將發生根本性的轉變。[Introducing cf: the agentic CLI for the entire Cloudflare API | Cloudflare Blog](https://blog.cloudflare.com/cloudflare-cf-cli-launch/) |
為何這件事很重要? (Why It Matters)
我們平常使用的手機 App 或網站背後,需要無數的伺服器與設定,這就是所謂的雲端技術。過去,開發者為了修改這些設定,一直依賴「Wrangler」這個命令列工具。然而,現在情況已經徹底改變。
數據顯示,上週 Cloudflare 的 API 呼叫量中,竟有高達 48% 來自 AI 代理,而非人類。Cloudflare launches cf, an agentic CLI covering its entire … 僅僅在一年前,這個比例還只有個位數;現在,AI 不僅比人類更早觸及網頁基礎架構,呼叫頻率甚至更高。Cloudflare launches cf, an agentic CLI covering its entire … Cloudflare 打造這款新工具的原因很簡單:他們必須提供一個讓 AI 能更聰明、更便利地工作的環境。
簡單解釋 (The Explainer)
「cf」是一款設計用來一次控制 Cloudflare 幾乎所有功能的工具。
簡單比喻,如果原有的工具 Wrangler 是專注於特定料理的「小型廚具箱」,那麼「cf」就像是 Cloudflare 這間巨型餐廳中,「擁有所有食材與廚具的大型廚房系統」。現在,AI 可以更自由地在這個龐大廚房裡烹飪出想要的菜色。
| 具體運用了什麼技術?Cloudflare 開源了一項名為 「Forge」 的技術。[Introducing cf: the agentic CLI for the entire Cloudflare API | Cloudflare Blog](https://blog.cloudflare.com/cloudflare-cf-cli-launch/) 這就像是「自動化廚師製造機」,它能讀取複雜的 OpenAPI 架構(機器間溝通的規則資訊),並自動生成所需的指令。[Introducing cf: the agentic CLI for the entire Cloudflare API | Noise](https://noise.getoto.net/2026/09/28/introducing-cf-the-agentic-cli-for-the-entire-cloudflare-api/) |
| 得益於此,支援的功能從原先 Wrangler 的約 280 個,大幅提升至 3,000 個以上。[Introducing cf: the agentic CLI for the entire Cloudflare API | Noise](https://noise.getoto.net/2026/09/28/introducing-cf-the-agentic-cli-for-the-entire-cloudflare-api/) 捨棄人類眼中好看的表格 (Table),改採機器易於理解與處理的 JSON 格式作為預設,也是專為 AI 考量的貼心設計。[Introducing cf: the agentic CLI for the entire Cloudflare API | daily.dev](https://daily.dev/posts/introducing-cf-the-agentic-cli-for-the-entire-cloudflare-api-2x4miixan) |
現狀 (Where We Stand)
目前「cf」以公開測試或技術預覽的形式提供,任何人皆可試用。Cloudflare Agent: Day 2 - by Aaron Lee Cloudflare launches cf, an agentic CLI covering its entire …
不過,該工具並非設計給人類透過螢幕操作滑鼠點擊,而是為了讓 AI 透過指令直接控制系統。因此,相較於一般使用者,這將先為負責開發或營運 AI 自動化解決方案的技術專家帶來實質效益。
未來展望 (What’s Next)
「cf」的問世暗示了未來將有更多 IT 企業爭相推出專為 AI 代理設計的專屬介面。
| 開發者的角色將不再只是直接編寫程式碼,而是轉變為「AI 指揮家」,負責指示 AI 以何種方式執行作業。在一個由能靈活操作 3,000 多個 API 的 AI 共同打造的數位環境中,我們的數位生活將變得更加快速與安全,「cf」正為這個世界開啟大門。[Introducing cf: the agentic CLI for the entire Cloudflare API | Cloudflare Blog](https://blog.cloudflare.com/cloudflare-cf-cli-launch/) |
參考資料
-
[Introducing cf: the agentic CLI for the entire Cloudflare API Cloudflare Blog](https://blog.cloudflare.com/cloudflare-cf-cli-launch/) -
[Introducing cf: the agentic CLI for the entire Cloudflare API Noise](https://noise.getoto.net/2026/09/28/introducing-cf-the-agentic-cli-for-the-entire-cloudflare-api/) -
[Introducing cf: the agentic CLI for the entire Cloudflare API daily.dev](https://daily.dev/posts/introducing-cf-the-agentic-cli-for-the-entire-cloudflare-api-2x4miixan) -
[Building a CLI for all of Cloudflare Cloudflare Blog](https://blog.cloudflare.com/cf-cli-local-explorer/) - Cloudflare’s cf CLI: Agentic Design Patterns for Command-Line Tools - DEV Community
-
[Cloudflare CLI for AI Agents Composio](https://composio.dev/toolkits/cloudflare/framework/cli) - r/CloudFlare on Reddit: Building a CLI for all of Cloudflare
- Cloudflare Agent: Day 2 - by Aaron Lee
- r/SoftwareEngineering on Reddit: Building a CLI for all of Cloudflare
- Cloudflare launches cf, an agentic CLI covering its entire …
-
[Cf: The Agentic CLI for the Cloudflare API Hacker News](https://news.ycombinator.com/item?id=49879577) - Introducing cf: the agentic CLI for the entire Cloudflare API …
- Cloudflare overhauls its Wrangler CLI because its primary …
- 更美觀的圖形介面
- 整合超過 3,000 個 API 並針對 AI 代理進行優化
- 簡化了使用者帳號管理
- 人工逐一編寫所有指令
- 透過 Forge SDK 生成器從 OpenAPI 架構自動生成
- 透過外部開源社群貢獻製作
- HTML 表格
- JSON
- 文字報告