AI 编程 · 工具竞争

Spotify 73% PR由AI生成
AI原生开发时代来了

73% of Spotify PRs Are AI-Generated
The AI-Native Development Era Is Here

Claude Code之父与Spotify工程负责人对话披露:73%的PR由AI生成、每天部署4500次、2900名工程师实现AI原生开发。AI编程从"补全代码"进化到"生产流水线"。

A conversation between the creator of Claude Code (Anthropic's head of engineering) and Spotify's engineering leadership reveals: 73% of PRs are AI-generated, 4,500 deployments happen daily, and 2,900 engineers practice AI-native development. AI coding evolves from "code completion" to "production pipeline."

No.009 2026.07.06 约 5 分钟阅读 ~5 min read

73%。

这是Spotify现在所有代码PR(Pull Request)中,由AI直接生成的比例。在最近一场Claude Code之父(Anthropic工程负责人)与Spotify工程团队的对话中,这个数字一出来,整个开发者社区都炸了。更夸张的是其他配套数字:2900名工程师,每天部署4500次——平均每个工程师每天参与超过1.5次生产环境部署。

AI原生开发是什么样子?

很多人对AI编程的理解还停留在"Copilot帮我补全几行代码"的阶段。Spotify展示的是完全不同的图景:AI原生开发(AI-Native Development)。

在Spotify的工作流里,工程师不再是一行一行写代码的人,而是AI系统的管理者和审核者。一个典型的开发流程是这样的:工程师描述要做什么功能或修什么bug,AI Agent理解需求后自己去读代码库、写代码、写测试、跑测试、修bug,最后提交一个PR。工程师的工作是review这个PR,确认逻辑正确、没有安全问题、符合团队规范,然后点merge。

这就是为什么他们能做到一天部署4500次。传统开发模式下,一个工程师一天能写两三百行有效代码、提交一两个PR就算不错了;但在AI辅助下,一个工程师可以同时"管理"好几个AI任务并行推进,PR产出速度是原来的好几倍。而且因为AI写代码的同时也写测试,测试覆盖率反而比纯人工写的时候更高。

Claude Code之父在对话中提到一个关键变化:AI编程工具正在从"编辑器插件"变成"工程环境"。Claude Code不是一个IDE里的补全框,而是一个能直接访问命令行、文件系统、Git、测试框架的完整Agent环境——它不只是写代码,它能跑代码、测代码、debug代码,完成一个工程师从拿到需求到提交PR的全流程。

效率提升了,但工程师消失了吗?

GitLab上周的调研说"AI加快了编码速度但整体交付效率没提升",Spotify的案例给出了不同的答案。关键区别在于:你是把AI当"更聪明的自动补全",还是当"能独立完成任务的工程Agent"。

如果只是用Copilot补全几行代码,那确实瓶颈会转移到测试、集成、部署环节。但如果AI能端到端完成从需求到PR的完整闭环——包括写测试、跑测试、改bug——那整个交付流水线的速度都会提升。Spotify每天4500次部署不是神话,而是AI全流程渗透后的自然结果。

但这不意味着工程师要失业了。Spotify的工程师反而更忙了——只是忙的事情不一样了。他们不再花大量时间写样板代码、调API、修低级bug,而是花更多时间做系统设计、架构决策、代码审查、产品思考。InfoQ同期的一篇分析说得好:"前后端一起消失:AI Coding正在改写大厂工程师分工"。传统的前端/后端/测试边界在模糊,取而代之的是更贴近业务的端到端交付角色。

当然,这种模式也不是没有风险。AI生成的代码越多,代码审查的压力就越大——如果73%的PR是AI写的,那review代码的人必须比AI更懂这套系统,否则就是在盲审。Cloudflare CEO警告的"Agent时代每周一个Log4j级漏洞"也不是危言耸听。但趋势是明确的:AI编程工具的竞争已经从"谁补全代码更准"升级到了"谁能端到端完成工程任务"。今天是Spotify,明天会有更多公司加入AI原生开发的行列。

73%.

That's the share of all code PRs (Pull Requests) at Spotify that are now directly generated by AI. When this number came out in a recent conversation between the “father of Claude Code” (Anthropic's head of engineering) and Spotify's engineering team, the entire developer community was stunned. Even more staggering are the supporting numbers: 2,900 engineers, 4,500 deployments per day — meaning each engineer participates in over 1.5 production deployments per day on average.

What Does AI-Native Development Look Like?

Many people's understanding of AI coding is still stuck at the “Copilot completes a few lines for me” stage. What Spotify demonstrates is a completely different picture: AI-Native Development.

In Spotify's workflow, engineers no longer write code line by line — they are managers and reviewers of AI systems. A typical development flow goes like this: the engineer describes what feature to build or what bug to fix; the AI Agent understands the requirement, reads the codebase, writes code, writes tests, runs tests, fixes bugs, and finally submits a PR. The engineer's job is to review that PR — confirm the logic is correct, there are no security issues, and it meets team standards — then hit merge.

That's how they achieve 4,500 deployments per day. In traditional development, an engineer writing two to three hundred lines of effective code and submitting one or two PRs per day is considered good; but with AI assistance, an engineer can “manage” multiple AI tasks in parallel, multiplying PR output severalfold. And because AI writes tests alongside code, test coverage is actually higher than when written purely by humans.

The father of Claude Code raised a key change in the conversation: AI coding tools are evolving from ‘editor plugins’ to ‘engineering environments’. Claude Code isn't a completion box inside an IDE — it's a complete Agent environment with direct access to the command line, filesystem, Git, and test frameworks. It doesn't just write code; it runs code, tests code, debugs code, completing the full flow an engineer goes through from receiving a requirement to submitting a PR.

Productivity Up, But Are Engineers Disappearing?

GitLab's survey last week claimed “AI speeds up coding but hasn't improved overall delivery efficiency,” and Spotify's case offers a different answer. The key distinction is: are you treating AI as “smarter autocomplete,” or as an “engineering Agent that can complete tasks independently”?

If you're only using Copilot to complete a few lines, bottlenecks indeed shift to testing, integration, and deployment. But if AI can complete the full closed loop from requirement to PR end-to-end — including writing tests, running tests, fixing bugs — then the entire delivery pipeline accelerates. Spotify's 4,500 daily deployments aren't a myth; they're the natural result of AI permeating the full workflow.

But that doesn't mean engineers are becoming unemployed. Spotify's engineers are actually busier — just busy with different things. They no longer spend large amounts of time writing boilerplate, tweaking APIs, or fixing trivial bugs; instead they spend more time on system design, architecture decisions, code review, and product thinking. An InfoQ analysis from the same period put it well: “Frontend and backend disappear together: AI Coding is rewriting Big Tech engineer roles”. Traditional frontend/backend/testing boundaries are blurring, replaced by end-to-end delivery roles closer to the business.

Of course, this model isn't without risks. The more code AI generates, the greater the pressure on code review — if 73% of PRs are written by AI, the person reviewing must understand the system better than the AI, or they're reviewing blindly. Cloudflare CEO's warning about “a Log4j-level vulnerability every week in the Agent era” isn't alarmist. But the trend is clear: AI coding tool competition has upgraded from ‘who completes code more accurately’ to ‘who can complete engineering tasks end-to-end’. Today it's Spotify; tomorrow more companies will join the AI-native development ranks.

以前一个工程师一天写300行代码,现在一个工程师一天审3000行AI写的代码——你说效率提升了还是下降了?取决于你会不会审。

—— Hacker News热评

An engineer used to write 300 lines of code a day; now an engineer reviews 3,000 lines of AI-written code a day — did productivity go up or down? Depends on whether you know how to review.

— Top Hacker News comment
Spotify · AI编程 · Claude Code · AI原生开发 · PR生成 · 软件交付 · 73% · 工程师分工 · Agent编程
Spotify · AI coding · Claude Code · AI-native development · PR generation · software delivery · 73% · engineer roles · Agent programming
Sources · 信源 Sources

本文基于 Dawn Vision 认知引擎处理的 8 个源信号生成,经编辑部人工审核。素材来源:InfoQ中文。

This article was generated from 8 source signals processed by the Dawn Vision cognitive engine, with editorial review. Sources: InfoQ China.