Anthropic’s Code with Claude showed off coding’s future—whether you like it or not
Anthropic’s Code with Claude showed off coding’s future—whether you like it or not
Anthropic 的“Code with Claude”活动展示了编程的未来——无论你是否喜欢
The vibes were strong at Code with Claude, Anthropic’s two-day event for software developers in London that kicked off on May 19, the same day as Google’s I/O in Palo Alto. (A coincidence, not a flex, Anthropic staffers assured me.) 在伦敦举行的“Code with Claude”活动现场气氛热烈。这是 Anthropic 为软件开发者举办的为期两天的活动,于 5 月 19 日开幕,恰好与谷歌在帕洛阿尔托举行的 I/O 大会撞期。(Anthropic 的工作人员向我保证,这纯属巧合,并非刻意炫耀。)
“Who here has shipped a pull request in the last week that was completely written by Claude?” Jeremy Hadfield, an engineer at Anthropic, asked from the main stage. Almost half the people in the packed room—many sitting with laptops on their knees, coding or prompting as they watched the talks—raised their hands. “在座的各位,有谁在过去一周内提交过完全由 Claude 编写的合并请求(pull request)?”Anthropic 的工程师 Jeremy Hadfield 在主舞台上问道。挤满会场的观众中,近一半人举起了手——他们中的许多人膝盖上放着笔记本电脑,一边观看演讲,一边进行编码或输入提示词。
Pull requests are fixes or updates to existing software that are submitted for review before they go live. They are the bread and butter of software development, the chunks of code that most professional developers spend their lives writing—or did until now. 合并请求是指在软件上线前提交以供审查的修复或更新。它们是软件开发的核心工作,也是大多数专业开发者毕生都在编写的代码片段——或者说,直到现在为止还是这样。
“Who here has shipped a pull request that was completely written by Claude where they did not read the code at all?” Hadfield asked next. Nervous laughter. Most of the hands stayed up. “那么,有谁提交过完全由 Claude 编写、且自己完全没有阅读过代码的合并请求吗?”Hadfield 接着问道。现场响起了一阵紧张的笑声。大部分人依然举着手。
It’s not news that LLM-powered tools like Anthropic’s Claude Code and OpenAI’s Codex have upended the way software gets made. Top tech companies now like to boast of how little code their developers write by hand. (“Most software at Anthropic is now written by Claude,” Hadfield said. “Claude has written most of the code in Claude Code.”) OpenAI, Google, and Microsoft make similar claims. Many others wish they could. Even so, it is striking how normal this new paradigm already seems, and how fast it has set in. 由大语言模型驱动的工具(如 Anthropic 的 Claude Code 和 OpenAI 的 Codex)彻底颠覆了软件开发方式,这已不是什么新闻。顶级科技公司现在喜欢吹嘘他们的开发者手写代码的比例有多低。(Hadfield 说:“Anthropic 现在的大部分软件都是由 Claude 编写的。Claude 编写了 Claude Code 中大部分的代码。”)OpenAI、谷歌和微软也提出了类似的说法。许多其他公司也渴望做到这一点。即便如此,这种新范式看起来已经如此习以为常,且普及速度之快,依然令人震惊。
This was the second year that Anthropic has put on developer events, which also run in San Francisco and Tokyo. This time last year, the company had just released Claude 4. It could code, kind of. But with Anthropic’s latest string of updates—especially Claude 4.6 and then 4.7, released in February and April—Claude Code is a tool that more and more developers seem happy to hand their work off to. Let Claude cook. 这是 Anthropic 第二年举办开发者活动,该活动也在旧金山和东京举行。去年这个时候,该公司刚刚发布了 Claude 4。它当时勉强能写代码。但随着 Anthropic 最近的一系列更新——特别是 2 月和 4 月发布的 Claude 4.6 和 4.7——Claude Code 已经成为越来越多开发者乐于将工作交付给它的工具。让 Claude 大显身手吧(Let Claude cook)。
Anthropic says its goal is to push automation as far as it will go. Instead of using AI to generate code and then having humans clean it up and fix the mistakes, it wants Claude to check and correct its own work. “The default isn’t ‘I’m going to prompt Claude’—the default is now ‘I’m going to have Claude prompt itself,’” Boris Cherny, who heads Claude Code, said in the opening keynote. Anthropic 表示,其目标是将自动化推向极致。他们不想再使用 AI 生成代码,然后让人类去清理和修复错误,而是希望 Claude 能自行检查并纠正自己的工作。Claude Code 的负责人 Boris Cherny 在开幕主题演讲中说:“默认模式不再是‘我要提示 Claude’,现在的默认模式是‘我要让 Claude 自我提示’。”
If all goes well, human developers shouldn’t even see the error messages when something doesn’t work. That will all be handled by Claude, which will test and tweak, test and tweak, until everything runs as it should. As Ravi Trivedi, an engineer at Anthropic, put it in another talk: “The key principle is getting out of Claude’s way. We like to say: ‘Let it cook.’” 如果一切顺利,当出现问题时,人类开发者甚至不需要看到错误信息。这一切都将由 Claude 处理,它会不断测试和调整,直到一切运行正常。正如 Anthropic 的工程师 Ravi Trivedi 在另一场演讲中所说:“核心原则是不要妨碍 Claude。我们喜欢说:‘让它大显身手吧。’”
Trivedi presented a new feature in Claude Code, announced two weeks ago, which Anthropic calls dreaming. Claude Code agents write notes to themselves, recording and saving useful information about specific tasks. When another coding agent later starts to work on the same code, it can use the notes to get up to speed faster and learn from any errors that previous agents may have made. Dreaming is a system that Claude Code uses to read through all these notes and consolidate the information they contain, spotting patterns and common issues across different tasks. In theory, dreaming should help Claude Code learn about a particular code base and get better and better at working on it. Trivedi 展示了 Claude Code 的一项新功能,该功能于两周前宣布,Anthropic 将其称为“做梦”(dreaming)。Claude Code 代理会给自己写笔记,记录并保存有关特定任务的有用信息。当另一个编码代理随后开始处理相同的代码时,它可以利用这些笔记更快地进入状态,并从之前代理可能犯的任何错误中吸取教训。Dreaming 是 Claude Code 用来通读所有这些笔记并整合其中信息,从而发现不同任务间模式和常见问题的系统。理论上,Dreaming 应该能帮助 Claude Code 了解特定的代码库,并在处理该代码库时变得越来越出色。
Success stories
成功案例
Code with Claude is an event aimed at developers. As well as product showcases and hands-on workshops from Anthropic, there were how-tos from a range of companies that had reshaped their software development teams around Claude Code, including Spotify and Delivery Hero as well as Lovable, Base44, and Monday.com—three startups vibe-coding apps that help people vibe-code apps. “Code with Claude”是一场面向开发者的活动。除了 Anthropic 的产品展示和实践研讨会外,还有来自多家围绕 Claude Code 重塑其软件开发团队的公司的经验分享,包括 Spotify、Delivery Hero,以及 Lovable、Base44 和 Monday.com——这三家初创公司正在开发帮助人们进行“氛围编程”(vibe-coding)的应用程序。
There were no signs of unease at Code with Claude. Everybody I met wanted in. And yet outside the conference there have been a number of reports that many coders are starting to question this bright new future. Some gripe in online forums like Reddit and Hacker News that AI coding tools are being pushed by managers chasing productivity gains, when in practice the technology makes software development harder because of all the extra code developers now have to review. 在“Code with Claude”现场,没有任何不安的迹象。我遇到的每个人都想参与其中。然而,在会议之外,有许多报道称,许多程序员开始质疑这个光明的未来。一些人在 Reddit 和 Hacker News 等在线论坛上抱怨说,AI 编码工具是被追求生产力提升的管理者强推的,但实际上,由于开发者现在必须审查所有额外的代码,这项技术反而让软件开发变得更加困难。
“The only people I’ve heard saying that generated code is fine are those who don’t read it,” a user called pron posted on Hacker News last week. Others claim that their coding abilities have fallen off as they hand more tasks to AI. And researchers have warned that AI tools can produce unsafe code that will make software more vulnerable to attacks. “我听过说生成代码没问题的人,都是那些根本不读代码的人,”一位名为 pron 的用户上周在 Hacker News 上发帖称。其他人则声称,随着他们将更多任务交给 AI,他们的编码能力有所下降。研究人员也警告说,AI 工具可能会产生不安全的代码,从而使软件更容易受到攻击。
I sat down with Claude engineering lead Katelyn Lesse and Claude product lead Angela Jiang and asked them what they made of the concerns that a sudden flood of code generated (and shipped) without proper human oversight was kicking serious security and maintenance problems down the road. 我与 Claude 工程负责人 Katelyn Lesse 和 Claude 产品负责人 Angela Jiang 坐下来交谈,询问她们如何看待这种担忧:即在没有适当人工监督的情况下,突然涌入的大量生成(并发布)的代码,是否会将严重的安全性与维护问题推迟到未来爆发。
“All of the old software development best practices still apply. They’ve applied this entire time,” said Lesse. “I think there are a lot of people and teams that may have lost sight of them in this moment.” And yet as Anthropic and others push for greater automation and tools like Claude Code improve, the temptation increases to offload more and more tasks, including oversight. “所有旧的软件开发最佳实践依然适用。它们一直都适用,”Lesse 说。“我认为现在有很多个人和团队可能在这一刻忽视了它们。”然而,随着 Anthropic 等公司推动更高程度的自动化,以及 Claude Code 等工具的改进,人们将越来越多的任务(包括监督工作)外包出去的诱惑也随之增加。
Lesse told me that some of the technical managers at Anthropic are exhausted by keeping up with all the code their teams now produce. “Part of things happening so much more quickly is just managing your time,” she said. “I think that right now Claude is probably as good as a midlevel engineer at writing code,” she added. You still need expert engineers to design a system and troubleshoot harder problems, she said, “But over time we want Claude to get better and better at all different types of engineering.” Jiang agreed: “I think the absolute end state we’re trying to get to is Claude basically being able to build itself.” Lesse 告诉我,Anthropic 的一些技术经理对跟上团队现在产生的所有代码感到精疲力竭。“事情发生得如此之快,部分原因在于如何管理你的时间,”她说。“我认为目前的 Claude 在编写代码方面可能已经达到了中级工程师的水平,”她补充道。她说,你仍然需要专家级工程师来设计系统和解决更棘手的问题,“但随着时间的推移,我们希望 Claude 在各种工程领域都能变得越来越好。”Jiang 表示赞同:“我认为我们试图达到的最终状态是,Claude 基本上能够构建它自己。”