Cloudflare 开源面向非程序员的氛围编程平台
英文标题:Cloudflare open-sources vibe-coding platform for people who aren't coders
Cloudflare 将其供内部员工使用的 AI Agent 工作区 Cloudflare OS 开源,允许开发者在本地运行完整技术栈。该公司称,AI 编程工具的普及也带来了大量低质量代码风险,因此推出 Engineering Codex 以帮助人类工程师和 AI Agent 审查代码。过去四个月中,其 AI 代码审查器发现了近 25 万项偏离工程标准的问题,并阻止了 1.6 万次合并。需要注意的是,Cloudflare OS 后端部署要求用户订阅 Workers Paid plan,这一限制此前未在部署流程开始前明确提示。
45.3 KB
109.9 KB
74.5 KB
103.5 KB
21.7 KB
2.4 KB
137.2 KB
205.5 KB
中文
“如果给每个人都提供一个非常擅长编写代码的 harness 工作区,你最终会得到远超实际需要数量的代码,”Rhea 在其博客文章中写道。“结果就是,大量通过氛围编程(vibe coding)生成的应用涌现出来,却在寻找要解决的问题。”
组织内 AI Agent 使用量的增长也意味着,“借助 AI,Cloudflare 的任何人如今都能更快地写出糟糕代码,”Rhea 表示。因此,该组织创建了 Cloudflare Engineering Codex——一份“权威指南”,用于帮助人类工程师和 AI Agent 审查代码并发现潜在问题。
Cloudflare 系统工程师 Timo Reimann 在一篇介绍 Engineering Codex 及公司如何利用 AI Agent 维护工程标准的博客文章中表示,过去四个月里,该公司的 AI 代码审查器“标记了近 25 万项偏离 Cloudflare 工程标准的问题,并阻止了 1.6 万次合并”。
开源,但并非没有成本
如今,随着公司将 Cloudflare OS 开源供其他人使用,开发者可以尝试在自己的机器上运行整个技术栈。一个值得注意的限制是,Cloudflare OS 后端只能由订阅了 Workers Paid plan 的 Cloudflare 用户部署。
这一付费订阅要求起初并未在流程开始时明确说明。一名 GitHub 用户提出了该问题,并分享截图称,其 Workers Free plan 在部署 Cloudflare OS 后端的过程中被中途阻止。
GitHub 用户 mac2net 写道:“你们有权收费,但应当在开始部署流程之前就满足相关要求。我浪费了 20 分钟,而且永远无法找回。”
值得肯定的是,Cloudflare 很快更新了部署流程,在一开始就提醒用户付费套餐要求。公司代表也在 GitHub 上回应了该问题。
English / 原文
“If you give everyone a harness workspace that is great at writing code, you’ll wind up with way more code than you need,” Rhea wrote in his blog post. “The result became a flood of vibe coded apps looking for a problem to solve.”
The growing use of AI agents within the organization also meant “anyone at Cloudflare could now write bad code, faster, thanks to AI,” Rhea said. So the organization created the Cloudflare Engineering Codex, an “authoritative guide” to help both human engineers and AI agents review code and catch potential issues.
Over the past four months, the company’s AI code reviewer “flagged nearly a quarter of a million deviations from Cloudflare engineering standards and blocked 16,000 merges,” said Timo Reimann, a systems engineer at Cloudflare, in a blog post about the Engineering Codex and how the company uses AI agents to uphold engineering standards.
Open source but not free of cost
Now that the company is open-sourcing Cloudflare OS for others to use, developers can try to run the entire stack on their own machines. A notable caveat is that the Cloudflare OS backend can only be deployed by Cloudflare users who have subscribed to the Workers Paid plan.
The paid subscription requirement was not initially made clear up front. A GitHub user raised the issue and shared a screenshot showing that their Workers Free plan had been stopped from deploying the Cloudflare OS backend partway through the process.
“You have a right to charge but requirements should be completed before starting the deployment process,” wrote the GitHub user mac2net. “I wasted 20 minutes I will never get back.”
To Cloudflare’s credit, the company quickly updated the deployment process to alert users at the start about the paid plan requirements. A company representative also responded to the issue on GitHub.