The alpha, twice a week
That was 5 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
Lenny's Podcast · 5 min · Jun 5, 2025
AI-written code shifts bottlenecks beyond engineering
Mike Krieger explains how AI-generated code sped up building but overloaded review, merging, alignment and launch processes.
The episode’s best minutes
Full analysis- 12:23AI-written code shifts bottlenecks beyond engineering5 min
- 21:28Product teams create leverage by working with researchersPro pick 6 min
- 35:54Artifact closed after growth failed to justify the effortPro pick 7 min
- 5 more moments in the full episode
“I've just found all these new bottlenecks in our system.”
Mike Kriegerat 14:17 · Lenny's PodcastTakeaways
- PMs and designers can prototype ideas earlier with AI.
- More code created pressure on the merge queue and review.
- Decision-making and alignment are now key bottlenecks.
About this segment
Mike Krieger explains how AI-generated code sped up building but overloaded review, merging, alignment and launch processes. Teams need to redesign the whole path from idea to release.
Mike Krieger is chief product officer of Anthropic and co-founder of Instagram.
Co-leads Anthropic Labs incubating experimental Claude products; co-founded Instagram and was Anthropic's CPO.

Lenny Rachitsky, Host · Host, Lenny's Podcast
Spent seven years at Airbnb; his product newsletter has over 1M subscribers.
From “Anthropic's CPO on what comes next | Mike Krieger (co-founder of Instagram)”, Jun 5, 2025. Watch the full episode
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 12:30
So you guys are at the edge of where things are heading. I think most companies will get here. How has product development changed knowing so much of your code is not written by AI? So usually it's like PM. It's like, here's what we're building. Engineer builds it, ships it. Is it still kind of roughly that? Or is it now PMs are just going straight to claw to build this thing for me? Engineers are doing different things.
- 12:49
It's just what looks different in a world where 90% of your code is written by AI. Yeah, it's really interesting because I think the role of engineering has changed a lot, but the kind of suite of people that come together to produce a product hasn't yet. And I think for the worst in a lot of ways, because I think we're still holding on some assumptions. So I think the roles are still fairly similar, although we'll now get, and my favorite things that happen now are some nice PMs that have an idea that they want to express or designers that have an idea they want to express, will use Claude and maybe even artifacts to put together an actual functional demo.
- 13:24
And that has been very, very helpful. Like, no, this is what I mean. That makes it tangible. That's probably the biggest role shift is prototyping happening earlier in the process via more of this kind of code plus design piece. What I've learned, though, is the process of knowing what to ask the AI, how to compose the question, how to even think about structuring a change between the back end and the front end.
- 13:50
Those are still very difficult and specialized skills, and they still require the engineer to think about it. And we really rapidly became bottlenecked on other things, like our merge queue, which is the sort of get in line to get your change accepted by the system that then deploys it to production. We had to completely re-architect it because so much more code was being written and so many more pull requests were being submitted that it just completely blew out the expectations of it.
- 14:16
And so it's like, I don't know if you've ever read, is it the goal of the classic process optimization book? And you realize there's this critical path theory. I've just found all these new bottlenecks in our system. There's an upstream bottleneck, which is decision-making and alignment. A lot of things that I'm thinking about right now is how do I provide the minimum viable strategy to let people feel empowered to go run and prototype and build and explore at the edge of model capabilities?
- 14:40
I don't think I've gotten that right yet, but that's something I'm working on. And then once the building is happening, other bottlenecks emerge. Like, let's make sure we don't step on each other's toes. Let's think through all the edge cases here ahead of time so that we're not blocked on the engineering side. And then when the work is complete and we're getting ready to ship it, what are all those bottlenecks as well?
- 14:57
Like, let's do the air traffic control of landing the change. Like, how do we figure out launch strategy? So I think there hasn't been as much pressure on changing those until this year. But I would expect that like a year from now, the way that we are like conceiving of building and shipping software just changes a lot because it's going to be very painful to do it the current way wow that is extremely interesting so it used to be here's an idea let's go design it build it ship it merge it and then ship it and usually the bottleneck was engineering taking time to build the thing and then design and now you're saying the two bottlenecks you're finding are okay deciding what to build and aligning everyone and then it's actually like the cue to merge it into production and and and I mentioned review it too is probably a part of reviewing has really
- 15:43
changed too and in in many ways our most uh perhaps unsurprisingly the team that works in the most futuristic way is the cloud code team because they're using cloud code to build cloud code in a very self-improving kind of way and you know early on in that project they would do very line by line pull request reviews you know in the way that you would for any other you know project and they've just realized like clod is generally right and it's producing you know pull requests they're probably larger than most people are going to be able to review so can you use a different clod to review it and then do the human almost like acceptance testing more than trying to like review line by line there's definitely pros and cons and like so far it's gone well but i could also imagine it going off the rails and then having like a completely both unmaintainable or
- 16:25
even understandable by clod code base that hasn't happened but watching them like change their review processes definitely has uh has been has been interesting and yeah like the merge queue is one instance of the of the kind of bottom bottleneck that forms down there but there's other ones which is how do we make sure that we're still like building something coherent and like packaging it up into like a moment that we can share with people and whether that's around the launch moment whether that's about like then enabling people to use this thing and like talking about it like the the classic things of building something useful for people and then making it known that you've built it and then learning from their feedback like still exists we've just like made a portion of that whole process much more efficient.
- 17:02
I heard you describe this as you guys are patient zero for this way of working. Yes.