
Loading summary
Lenny Rachitsky
A lot of companies are trying to measure productivity for their teams.
Nicole Forsgren
Most productivity metrics are a lie. If the goal is more lines of code, I can prompt something to write the longest piece of code ever. It's just too easy to game that system.
Lenny Rachitsky
How do I know if my Edge team is moving fast enough, if they can move faster, if they're just not performing as well as they can?
Nicole Forsgren
Most teams can move faster, but faster for what? We can ship trash faster every single day. We need strategy and really smart decisions to know what to ship.
Lenny Rachitsky
One of the biggest issues we're going to probably have with AI is learning how much to trust code that it generates.
Nicole Forsgren
We can't just put in a command and get something back and accept it. We really need to evaluate it. Are we seeing hallucinations? What's the reliability? Does it meet the style that we would typically write?
Lenny Rachitsky
So much of the time is now going to be spent reviewing code versus writing code.
Nicole Forsgren
There's some real opportunity there to not just rethink workflows, but rethink how we structure our days and how we structure our work. Now we can also make a 45 minute work block useful because getting into the flow is actually kind of handed off, at least in part to the machine. Or the machine can help us get back into the flow by reminding us of context and generating diagrams of the.
Lenny Rachitsky
What'S just like one thing that you think an ENG team, a product team, can do this week, next week to get more done?
Nicole Forsgren
Honestly, I think the best thing you.
Lenny Rachitsky
Can do Today my guest is Nicole Forsgren. With so much talk about how AI is increasing developer productivity, more and more people are asking, how do we measure this productivity gain? And are these AI tools actually helping us or hurting how our developers work? Nicole has been at the forefront of this space longer than anyone. She created the most used frameworks for measuring developer experience called Dora and Space. She wrote the most important book in the space called Accelerate and is about to publish her newest book called Frictionless, which gives you a guide to helping your team move faster and do more in this emerging AI world. Her core thesis is that AI indeed accelerates coding. But developers aren't speeding up as much as you think because they still have to deal with broken builds and unreliable tools and processes and a bunch of new bottlenecks that are emerging. In our conversation, we chat about her current best and very specific advice for how to measure productivity gains from AI signs that your team could be moving faster, what companies get wrong when trying to measure engineering productivity, how AI tools are both helping and hurting engineers, including getting into Flow states her seven step process for setting up a developer experience team at your company, how to get, buy in and measure the impact a team like this and a ton more. This episode is for anyone looking to improve the performance of their engineering teams. If you enjoy this podcast, don't forget to subscribe and follow it in your favorite podcasting app or YouTube. It helps tremendously also to become an annual subscriber of my newsletter. You get a year free of 15 incredible products including lovable, replid, bolt, M8M, linear, superhuman, descript, Whisper Flow, Gamma, Perplexity, Warp, Granola, Magic Patterns, Raycast, Trapyrd and Mobin. Head on over to Lenny's newsletter.com and click product Pass. With that, I bring you Nicole for Screen this episode is brought to you by Mercury. I've been banking with Mercury for years and honestly I can't imagine banking any other way at this point. I switched from Chase and Holy moly what a difference. Sending wires, tracking spend, giving people on my team access to move money around. So freaking easy. Where most traditional banking websites and apps are clunky and hard to use, Mercury is meticulously designed to be an intuitive and simple experience. And Mercury brings all the ways that you use money into a single product, including credit cards, invoicing, bill pay, reimbursements for your teammates and capital. Whether you're a funded tech startup looking for ways to pay contractors and earn yield on your idle cash, or an agency that needs to invoice customers and keep them current, or an E commerce brand that needs to stay on top of cash flow and excess capital, Mercury can be tailored to help your business perform at its highest level. See what over 200,000 entrepreneurs love about Mercury. Visit mercury.com to apply online in 10 minutes. Mercury is a fintech, not a bank. Banking services provided through Mercury's FDIC insured partner banks. For more details, check out the Show Notes. Here's a puzzle for you. What do OpenAI, Cursor, Perplexity, Vercel, Plaid and hundreds of other winning companies have in common? The answer is they're all powered by today's sponsor workos. If you're building software for enterprises, you've probably felt the pain of integrating single sign on scim, rbac audit logs and other features required by big customers. Work OS turns those deal blockers into drop in APIs with a modern developer platform built specifically for B2B SaaS. Whether you're a seed stage startup trying to land your first enterprise customer or a unicorn expanding globally. WorkOS is the fastest path to becoming enterprise ready and unlocking growth. They're essentially stripe for enterprise features. Visit workos.com to get started or just hit up their slack support where they have real engineers in there who answer your questions. Super fast WorkOS allows you to build like the best with delightful APIs, comprehensive docs and a smooth developer experience. Go to workos.com to make your app enterprise ready today. Nicole, thank you so much for being here and welcome to the podcast.
Nicole Forsgren
Thank you. It's so good to be here.
Lenny Rachitsky
It's so good to have you back. I was just watching our first episode, which we did two and a half years ago. I was watching it and I was both shocked and not shocked that we barely talked about AI. The episode was called how to Measure and Improve Developer Productivity. And we got to AI barely like an hour in, and we're just like, I wonder what's going to happen with AI and productivity. Does that just blow your mind?
Nicole Forsgren
Yeah, because, I mean, it was just hitting the scene. It was the topic of so much conversation and at the same time, so many things don't change. Right. So many things are still important. So many things are the same. Yeah. It's also a little wild that it's been two and a half years. Where does time go? Time is a social construct.
Lenny Rachitsky
Yeah. It was like most of our conversation was just like questions like, well, how might this impact people? How will we change the way we build product? And now it basically was not. It was barely a thing back then. Now it's the only thing that I imagine people want to talk about when they talk about engineering productivity. That's already spending a lot of our time focusing on today. The reason I'm excited about this conversation, it feels like there's been so much money poured into AI tools, increasing productivity. All the fastest growing companies in the world are these engineering AI tools. And now more and more people are just asking this question of just like, what gains are we getting out of this? How much is this actually helping us be more productive? How do we become more productive? You've been at the center of this world for longer than anyone. You've invented so many of the frameworks that people rely on now. So I'm really excited to have you back in to talk about this stuff. I want to talk, I want to start with just like this term, devex, which is something that comes up a lot in this, in this whole space. So we're going to. And we're going to hear this term a bunch in this conversation. Can you just explain what is devex? This term devex.
Nicole Forsgren
So devex is developer experience. And when we think about developer experience, we're really talking about what it's like to build software day to day for a developer. Right. So the friction that they face, the workflows that they have to go through, any support that they have. And it's important because when devex is poor, everything else just isn't going to help. Right. The best processes, the best tools, the best whatever magic you have. Right. If, if the devex is bad, everything kind of tanks.
Lenny Rachitsky
And so within devex is productivity. And I think the key insight that you had and other folks in the space about is not just like productivity, but there's also engineering happiness. And, and we're going to get into a lot of these parts, but just maybe speak to if there's productivity and there's broader components to engineers being successful at a company.
Nicole Forsgren
Yeah, and I love that point. Right. Because productivity first of all is hard to define anyway. But if, if you're just looking at like output, you can get there in a lot of different ways. But if you're getting there in ways that are high toil or high friction, then at some point a developer's going to burn out. Or if it's super high cognitive load, if it's hard to even think about what you're doing because you're concentrating on the mechanics of the plumbing of something, then you don't have the brain space left to come up with really innovative solutions and questions. I love that. It's kind of this self reinforcing loop in terms of you do more work, you do better work and it's better for people, it's better for the systems, it's better for our customers.
Lenny Rachitsky
Something I was going to get this later, but I want to actually get to this right now. This idea of flow state for engineer. So I was an engineer actually early in my career. I went to school for computer science. I was an engineer for 10 years. The best part of the job is for me was just this flow state you enter when you're coding and building and just things feel like so fun. It feels like AI is making that harder in a lot of ways because there's all these agents you're working with now, there's all this code that's kind of being written for you. Talk about just the importance of flow state to a developer happiness, developer productivity. And just what you've seen AI impacting, how you've seen AI impacting, that a lot of Times.
Nicole Forsgren
Well, there are lots of different ways to talk about devex, right? One way to talk about it is kind of three key things that have components that are important of themselves. They also kind of reinforce each other. So flow state is one of them, cognitive load is another, and then feedback loops are another. And so I think, you know, when you touch on this, your question about flow state is a really good one. And I'll. I'll admit, you know, we're just a few years into this. We're still figuring out what the best flow state and like, cognitive requirements are for people in this because to your point, sometimes we're getting interrupted all the time, right? You don't just get in the flow and lock down and write a whole bunch of code and do like the typing of a whole bunch of code as much anymore. Instead, you're kind of creating a prompt, getting some code back and reviewing the code, trying to integrate what's happening in the system. And that can really interrupt. At the same time, though, it can contribute to flow. And I've seen some senior engineers pull together some toolchains that are really incredible where they figured out how to kind of keep the flow going, right? The fast feedback loops really, really work well for them. They can kind of assign out different pieces to agents. It helps them keep in the flow in terms of, instead of details and line by line writing, they're in the flow in terms of what's my goal, what are the pieces that I need to get there, how quickly can I get there so then I can step back and kind of evaluate everything and then dive back in and fix some pieces.
Lenny Rachitsky
Is there anything more you could say about this engineer that figured out this really cool workflow about just what that looks like?
Nicole Forsgren
So I've spoken with a handful of them and I've kind of watched them work. I haven't built it myself yet. It's on my list. So they've been able to set up this really incredible workspace and workflow where, like right now a lot of us, you know, play around with tools and we'll like put in a prompt and we'll get a few lines back, or maybe we'll put in a prompt and we'll get like whole programs back. Well, what they can do is they can, many times I'll feed them, say, to kind of help. Help prime it. You know, this is what I want to build. It needs to have these basic architectural components. It needs to have this kind of stack. It needs to follow like this general workflow. Help me think that through, and it'll kind of design it for it, and then for each piece, it'll assign an agent to go work on each piece in parallel. And then it'll say, oh, and up front, you know, these need to be able to work together, make sure it's architected correctly, make sure we use, you know, appropriate APIs and conventions. Then at the end, and then they can, like, let it run for a few minutes and they can think through something else that's interesting, or they anticipate it's going to be hairy and they come back to something that's, I mean, probably a little better than vibe coded. Right? Because, like, because they were so systematic about it up front, they're much closer to something that looks like production code.
Lenny Rachitsky
So what I'm hearing is spending a little more time up front planning what all these AIA engineers are doing versus just like powering through and just figuring out as you go. Yeah, okay, cool. Let me get to this. Quite a core question that I think on a lot of people's minds, a lot of companies are trying to measure productivity for their teams. Is this improving our productivity? Is this hurting your productivity? So let me just start with this question. How are people doing this wrong currently when they try to measure their productivity gains with AI?
Nicole Forsgren
I will say most productivity metrics are a lie. You know, it's really tricky because historically, now, look, lines of code has always been a bad metric. Right? But many folks still use lines of code as some proxy. Yeah, as some proxy for output or productivity or complexity or something. Right. Well, now, for many of the systems that they would sometimes whisper and not super talk about, that uses lines of code, it's just blown out of the water because what do you mean by lines of code? If the goal is more lines of code, I can prompt something to write the longest piece of code ever and add tons of comments. And we know that agents and LLMs tend to be very verbose by definition. And so it's just too easy to game that system and then introduce complexity and technical debt into all of the work that you're doing. I will say there are some things that we can kind of watch and pay attention to because. So lines of code as a productivity metric isn't great. Right? It's pretty bad. But now it's kind of more relevant if we can tease out which code came from people and which code came from AI, because now we can answer downstream questions. What is the code survivability rate? What is the quality of our code? Is our code being fed back into trained systems. And for that code, that's retraining systems later, especially if we're doing fine tuning and local tuning. How much of that is machine generated? What types of loops is that creating and what types of patterns or biases might it be in infirmly introducing? So on the one hand it's not good as a productivity metric, but it can be useful. And I'll even say the same for dora. I have done DORA metrics. They're speed metrics, their stability metrics. If that's all you're looking at, it's, it's not going to be sufficient anymore because AI has now changed the way we think about feedback loops. Right? They need to be much faster. Now what door is meant for, you know, kind of assessing the pipeline overall in terms of speed and stability? It's still that works. But we can't just blindly apply the existing metrics we've used before because we'll miss super important phenomenon and changes in the way people work.
Lenny Rachitsky
Interesting. So you invented dora. That was kind of the main framework people used for a long time to measure productivity. And then there's space, there's Core four, there's probably others. So what I'm hearing here is all these are kind of out of date now where AI is contributing large portions.
Nicole Forsgren
Of code, I will say if it is a prescriptive metric, it needs to be used only in the way it was prescribed. So Dora 4, there are four key metrics. There's two speed metrics, deployment frequency and lead time. So codecommit to code deploy. There's stability metrics, MTTR and change fail rate. If those are used to assess the speed of the pipeline and the general performance of the pipeline, that's great if you're trying to use those to understand because implied in that is feedback loops, right? Because you used to kind of like to get feedback from customers. But we can't just use that blindly now when we're using AI as an example, because we have feedback loops much earlier and not even just at like the local build and test phase. We have feedback loops throughout and even sometimes in the middle of some of the pipeline that we really want to leverage in ways that weren't as useful before. I won't say they weren't possible, but like we just didn't really focus there. So those are prescriptive metrics. When we think about space, space is a framework, it doesn't tell you what metric to use. So I'll say sometimes people get real frustrated because I didn't Tell them what to measure. Right. But now I think that's the power of it. We're actually seeing that space applies fairly well in these new emergent contexts like AI, because we still want to look at. So space is an acronym. Right. So we still want to look at satisfaction, we still want to look at performance. What's the outcome? We still want to look at activity. Yes. You know, in some ways lines of code and number of PRs can be useful for something. Right. Or number of alerts or number of things, activities or counts. C is communication and collaboration. This is also super important and useful because it's how our systems communicate with each other and also how our people do. You know, what proportion of work is being offloaded to a chatbot versus talking to a senior engineer on the team? More isn't always better. Less isn't always better. Depends. And then efficiency and flow. Can people get in the flow? How much time does it take to do things? What is the flow like through our system? And here I would probably add a couple dimensions. Right. So chatting with some of the early authors to say, you know, trust, not to say trust wasn't important before, but now it is very, very front of mind right before you build your code. Like if the, if the compile comes back, you're fine. And like that's the way it is. LLMs are non deterministic right now. We can't just put in a command and get something back and accept it. We really need to evaluate it. So, you know, are we seeing hallucinations? What's the reliability? Does it meet like the style that, that we would typically write and if it doesn't meet, is that fine? So that's my kind of. Kind of. It depends. Answer prescriptive. You got to make sure you're using it fit for purpose. Right.
Lenny Rachitsky
And we're going to get to your current thinking on the best way to do this stuff. You have a book coming out that explains how to do this well, so we're going to get to that. One thing I wanted to highlight in our last chat that we had, you highlighted, one of the biggest issues we're going to probably have with AI is trust, understanding and learning how much to trust code that it generates and also how much. You said this two and a half years ago. How that so much of the time is now going to be spent reviewing code versus writing code. That's exactly what I'm hearing.
Nicole Forsgren
I think it'll be interesting to see how that impacts the way we structure work moving forward. You know, we Were talking about flow state and cognitive load now that our attention has to focus on things at certain times and it's broken up from how we used to do it. I think there's some real opportunity there to not just rethink workflows, but rethink how we structure our days and how we structure our work.
Lenny Rachitsky
Can you say more about that? Just what is that? What are you thinking will be happening? Where do you think things go? What are you seeing working?
Nicole Forsgren
So purely speculative, but for example, Gloria, Mark has done some really good work on attention and deep work. And humans can get about four hours of good deep work a day. Like that's about it.
Lenny Rachitsky
Yeah, I feel that.
Nicole Forsgren
And that's like kind of the upper limit. Ish, for the most part. And I'm sure people are gonna be like, well, I am superhuman and I can do.
Lenny Rachitsky
What if you take 20 grams of creatine? Right?
Nicole Forsgren
What if we microdose? Yeah, exactly. Yeah. So in the context of knowing we have about four hours of good deep work, and I'm sure many of us have probably hit this, right? We're like, we have good periods, like, maybe it's morning, maybe it's afternoon for folks. And then you hit a time where you're like, I'm going to clean up my inbox because that is all I can do right now. Right. Like, I can be functional, but I'm not going to come up with my best innovative problem solving, authoring, code writing work. A lot of times the way to do that and to get into it is to have these long chunks to get into flow and to get that deep work. Right? It's usually this is, I'm making, I'm like hand waving, right? Two hours minimum. Right. Like an hour can be tricky because it could take time to get into that state. Okay, well, when we think about what it used to be like back in the olden days, three years ago, three and a half years ago, we could block off four hours of time and we could probably get two or three hours of really good work done now because we were just focused. There were no interruptions, minimal interruptions. Now, the nature of writing code in systems itself is interrupt driven or full of interruptions, at least, because you start something and then it interjects. And so how do we think about that? Does that mean that a four hour work block is still useful? I mean, probably. But does that mean that now we can also make a 45 minute workblock useful? Because getting into the flow is actually kind of handed off, at least in part to the machine. Or the machine can help us get back into the flow by reminding us of context and generating diagrams of the system and all the things. And so I think that's a really, really interesting area that's just ripe for questions and opportunity. And please folks, do this research and come back to me because it might not make my list, but it's such a great.
Lenny Rachitsky
That is so interesting. Essentially every engineer is turning into an EM engineering manager, coordinating all of these junior AI engineers. And so your point is, even if you have like a 30 hour block, you can't get deep into code, but you can unblock all these AI engineers that are running off doing tasks. Plus your point is they give you, they remind you of just like here's where you left off. Okay, you can just jump into this code, maybe make some tweaks. Yeah, so interesting. Let me zoom out a little bit. And before we get into your framework for how to approach developer experience, the latest thinking you've got beyond just like obviously engineering engineers doing more is great. What's your best pitch for why companies should really, really, really focus on developer experience?
Nicole Forsgren
I hate to say return on investment, but like the business value is, the opportunity here is huge, right? In general, we write software well for fun and for hobbies, right? But we also have software because it meets a business need. It helps us with market share, it helps us attract and retain customers, it helps us do all of these things. And you know, I think devex is important because it enables all of that software creation, it enables all of that problem solving, it enables the super rapid experimentation with customers that before, you know, you'd need a while for a prototype and maybe a little bit longer to actually flight it through an A B test on a production system. I mean, you can do it in.
Lenny Rachitsky
Hours right now getting maybe the opposite end of the spectrum, getting very tactical before we get into the larger framework. What's just like one thing that you think an ENG team, a product team can do this week, next week to help their developer experience, maybe get more done?
Nicole Forsgren
Honestly, I think the best thing you can do is go talk to people and listen. And I love that the audience in this podcast is primarily PMs because they tend to be really good at this. And I would say start with listening and not with tools and automation. So many times companies are like, well, I'm just going to build this tool or I'm going to build this thing. Often you build a thing that you yourself have had a challenge with or that is easy to do, easy to automate and if you just go talk to people and ask the developers, like, think of, think of yesterday. What did you do yesterday? Walk me through it. What were the points that were just delightful? What were the points that were really difficult? Where did you get frustrated? Where did you get slowed down? Where was there friction? If you go talk to a handful of people, a lot of times, you can surface a handful of things that are a relatively low lift and still have impact, or you can identify a process that's unnecessarily complex and slow.
Lenny Rachitsky
So the listening to our hero most is you want to help your teams move faster, be happier. Eng teams. Your advice is just before you do anything, just like, go ask them what is bothering you.
Nicole Forsgren
Go ask them. Yeah. And trust me, most developers are going to be more than happy to tell you what's broken and what's bad. And I mean, I'll. I'll say there was one company that I had worked with, I remember they. They had a process that was like, really difficult and it was on an old mainframe system and they were going to have to, like, replat the whole thing. And so they never went to work on it or talk about it. Everyone hated it because it was this huge delay. I mean, all they had to do was change a process. Sometimes all you have to do is change a process and they changed it so that instead of, I think it was, someone had to, like, print it out and walk it down three or four flights and then get approval and then someone else had to, like, walk it back up. And so it was just that interim. They didn't replat anything. They didn't redesign anything major. They just had it send an email.
Lenny Rachitsky
Let me push on that. And I'm curious, just what are the most common things people do? Like, if you're just starting on, okay, we need to focus on engineering experience. What do you find are the most, like, I don't know, two or three most common improvements companies need to make?
Nicole Forsgren
I will say, you know, I'll kind of echo that process. There's almost always a process that can be improved and that can be approved, improved without a lot of engineering lift or a lot of engineering headcount. Right. Most large companies in particular have something that is several, several steps. It's the way it is because it's the way it is, but that's no longer the way it is. Right. And even small companies, sometimes it's just a little too yolo and you don't know what it is and you're kind of chasing everyone around so if you can create a very lightweight process that can also be helpful, that can be one of the best places to start. Especially if you have limited exposure to the whole rest of the org. Right. Sometimes just a team process can help. I will say from a business leader standpoint, a lot of what you can do is provide structure and support for this organizational change, communicate what you're doing, communicate what the priorities are, communicate why this is important. Celebrate wins. Because if folks try to do this just like a one off side, fully isolated project, it's really challenging to get some good momentum and get people to care, to get them stay involved. Right. Because it feels like just another interim internal project that isn't going to matter or that isn't going to get celebrated. But it has these huge upside potential returns for the business.
Lenny Rachitsky
It's interesting, what I'm hearing here is nothing about tools or technologies. It's not like move to this cloud. It's not like install this new deployment system. It's processes and people and Oregon morale.
Nicole Forsgren
Yeah. Now there will be technical pieces that are very important. Right. Especially now with AI. Right. We're rethinking how build and test systems work. We're rethinking feedback to users so that it's very, very customized in terms of what is shared and when it is shared. There are a lot of technical pieces that are involved, but that's not the only thing. Right. It's necessary but not sufficient. And that doesn't have to be the place that you start.
Lenny Rachitsky
I'm going to ask you. I have a hard question I want to ask you that I thought of as you were talking. I feel like this is the question that most founders and heads think about. And the question is just like, how do I know if my edge team is moving fast enough, if they can move faster, if they're just not performing as well as they can, what are just maybe smells signs that tell you, yeah, my team should be moving faster versus like this is just the way it works. This is as fast as they can move.
Nicole Forsgren
Most teams can move faster. Right. So and also given what we know about cognitive load, not all speed gains are necessarily good.
Lenny Rachitsky
Right.
Nicole Forsgren
Or the upside is going to be kind of limited. Right. Once you hit kind of a certain point, most people are not even near that point. I don't know a single team, frankly. But how do you know? You know, if you're always hearing about bills breaking, flaky tests, overly long processes, if you have to request a new system or if you need to provision a new environment, or if it's really, really hard to switch tasks or switch projects. Right. So if someone has an opportunity to go work in another part of an org and they don't, for reasons that are unclear and not political and anyone says anything about the system, that's usually a pretty good smell that there's friction somewhere. Because once you finally figure out your system and you're able to get work done, you don't. The switching costs can often be really, really high to go anywhere else. And so sometimes people will do that. But you know, I've worked with companies where switching orgs within the company you had to basically pay the same tax as a new hire because the systems were so different and they were so full of friction and it was so difficult to do so many things.
Lenny Rachitsky
I love the first part of your answer especially which is you can always move faster. I think every founder is going to love hearing that. To your point that there's diminishing returns over time.
Nicole Forsgren
Yeah. And you don't know about the quality. Right. So like I think that's the other side is that you can always move faster. But faster for what? Are we making the right business decisions? And I think, you know, that's especially where PMs come in.
Lenny Rachitsky
You could.
Nicole Forsgren
We can ship trash faster every single day. We need strategy and really smart decisions to know what to ship, what to experiment with, what, what features we want to do in what order and what rollout. Right. The strategy is the core piece. And then think about speeding that up if we don't have the other pieces in place. I mean garbage in, garbage out.
Lenny Rachitsky
I'm going to follow that thread but before I do that, just to mirror back what you shared. So signs that your team. There's a lot of low hanging fruit to improve this. The productivity of your team is builds are always breaking. There's flaky tests that are constantly incorrect, false positives. It's hard to context switch between different projects. The system you just hear people talking about the system is just really hard to work with. Is that roughly right?
Nicole Forsgren
Yeah.
Lenny Rachitsky
Cool. Okay. So going back to the point you just made, there's a sense that AI is making teams so much faster because it's writing all this code for them. You're going to have all these asynchronous agents, engineers working for you. It feels like a core part of your message is that's just one part of engineering work. There's so much more, including figuring out what to build alignment internally. Maybe just speak to just like there is a lot of opportunity to improve engineering performance, productivity. But there's so many other elements that are not improved through AI.
Nicole Forsgren
Yes. Or could be in the future. Right. Like, I think there are a lot of ways that we can pull in AI tools to help us refine our strategy, refine our message, think about the experimentation methods or, you know, targets of experimentation, or think about our total addressable market. Right. But we need to have that strategy and plan fairly well aligned. Right. Or at least have like two or three alternatives that you want to test. Because now the engineering can go, or at least the prototyping especially can go much, much faster. Like. Right. We can throw out prototypes, we can run AB tests and experiments that are customer facing. Right. Assuming that, you know, we have the infrastructure in place which allows us to learn and progress much faster before. Right. Like it. Some places it used to take months to get something through production, to do a B testing and get feedback. We can do this in a day or two, definitely under a week. But we want to make sure that we're building and testing the right things. Are we partnering with the rep? Do we have the data that we need? And I will say AI can actually be a pretty good partner there if you have a good conversation with it. And then also check with your experts. Right. What type of data should I be looking at? What type of instrumentation do I need? What type of analysis can I do? Because then you can also go to your data science team and say, I'm planning on doing this. I'd like to. Because let's not just yellow a B test. Right. Because that can be. It's a shame to do a large test and end up disrupting users or disrupting customers or breaking the privacy or security protocols and also end up with data that's unusable. Right. Because you just can't get the signal that you're looking for. But now I'm also seeing people kind of accelerate that into a few days versus a few weeks, and so they can kind of start those key stakeholder discussions from much more informed, kind of filled out space.
Lenny Rachitsky
Today's episode is brought to you by coda. I personally use Coda every single day to manage my podcast and also to manage my community. It's where I put the questions that I plan to ask every guest that's coming on the podcast. It's where I put my community resources. It's how I manage my workflows. Here's how CODA can help you. Imagine starting a project at work and your vision is clear. You know exactly who's doing what and where to find the data that you need to do your part. In fact, you don't have to waste time searching for anything, because everything your team needs, from project trackers and okrs to documents and spreadsheets, lives in one tab, all in CODA. With CODA's collaborative all in one workspace, you get the flexibility of docs, the structure of spreadsheets, the power of applications, and the intelligence of AI all in one easy to organize tab. Like I mentioned earlier, I use CODA every single day and more than 50,000 teams trust CODA to keep them more aligned and focused. If you're a startup team looking to increase alignment and agility, Coda can help you move from planning to execution in record time. To try it for yourself, go to Coda IO Lenny today and get six months free of the team plan. For startups, that's C O D A IO Lenny to get started for free and get six months of the team plan. Coda IO Lenny. I love that you work with a bunch of different companies and a bunch of different types of businesses. I think very few people get to see inside a lot of different places. What kind of gains are you just seeing in terms of increased productivity with AI? Like, how real? Like, how big of a gain have you seen?
Nicole Forsgren
I'd say it's real, and I would also say we don't have great measures for it yet. We're still trying to figure out what to measure and what that looks like. One of the best is going to be velocity, right? All the way through the system. How quickly can you get a feature or a product or something through the system so that you can then experiment and test, right? Either from idea to final end or even kind of a feature and a piece through the system. So we can test. That's really good. Now, that's also hard to tie back directly to, like a particular AI tool in the hands of a particular developer. But there are some other things that we can look at and we can see, and that I've seen is again, this kind of rapid prototyping. I hate lines of code, but I'm going to use lines of code we do see. I know I worked with some folks who had kind of a whole set of companies they were looking at, and they found that AI was generating like, significantly more code for the people who were using it regularly. But then they also found that for folks who were like, you know, Regular users of AI coding environments, AI IDEs, the tool kind of gave them more code and then the engineers themselves, the increase was double what the coding agent had given them. And so one, I'd say probably it's kind of a secondary or knock on or just a smell. Right. Is it can unblock you, it can speed up the work that you would already do. Right. I know sometimes when I work it's like the first few minutes it's hard for me to start, but once I get started, I'm there. And so they're really good at unblocking and unlocking that.
Lenny Rachitsky
Something I've seen people on Twitter sharing is how good OpenAI codecs especially is at finding really gnarly bugs. And I think it was Karpathy that shared. He was like so stuck on a bug and no AI tool could figure it out. And then the latest version of Codex spent like an hour or something looking into it and found it for him.
Nicole Forsgren
Yeah, I'm hearing incredible things like that. Right? Well, and even also, you know, writing unit tests and spinning up unit tests and creating documentation and cleaning up documentation because I know now people are like, oh well, we have agents. I don't need to, I don't need to read the docs because there's the code there. Turns out agents rely on good data. Right. Because it's all about how they've been trained or how they've been grounded. And better data gives you better outcomes. And some of that data includes documentation and comments. And the better documentation, the better comments you have, the better performance you're going to get out of your AI tools.
Lenny Rachitsky
And AI can help you write that documentation. I've been working with Devin a little bit and it's really good at that stuff.
Nicole Forsgren
Yeah.
Lenny Rachitsky
Okay, let's talk about this framework, this book. So you're publishing a book called Frictionless, which sounds like a dream. How do you create a dev team that's Frictionless? So it's called Frictionless 7 Steps to Move barriers along value and outpace your competition in the age of AI. There's a seven step process to this. Walk us through this, maybe give us just context on this book. What a who is meant for what problem it solves and then the seven steps.
Nicole Forsgren
So I will say I also wrote this with Abhinoda who has just of dx. He has incredible experience in the space. Right. He's worked with hundreds of companies and so it was kind of nice bouncing ideas off of him. And you know, also thanks to all of the engineering leads and DEVEX leads and CTOs and engineers that we talked to to kind of make sure that we our smells were right. Right. And so who is this book for?
Lenny Rachitsky
Let me actually take a, let me take a tangent on ABHI ndx since you mentioned him. This is super interesting and I think it connects so directly with this conversation. Sabi started this company called dx which is such a great name for a company around developer experience. They just sold the company for a billion dollars to Atlassian. It's a very high multiple on their ar. It to me shows exactly why this conversation is so valuable, just how much value companies are putting into improving developer experience. Atlassian would spend a billion dollars on this. It's like a early stage startup that was doing really well and people loved it, but it was like early stage ish. A billion dollars and now. And the idea is they have all these companies working using Jira and all their products. They're all trying to figure out how do we measure productivity. It's worth a lot of money to them and I know you were an early advisor to them too. So it just shows us how important this is.
Nicole Forsgren
Yeah, well, and I think it also shows us how much value you can get out of this. Right. Like there's so much low hanging fruit, there's so much unlocked potential and it's hard to know where to start. A lot of times even in I've been at large companies that have a lot of expertise and a lot of really, really smart people. But if you haven't kind of been in this space and thinking about it this way, it's hard to know where to start or it's easy to make simple mistakes up front that mean like you kind of need to start over later. So I guess which kind of also brings us back to, you know, who is this book for? It's for anyone that cares about devex, definitely technology leaders, anyone who's trying to kick off a devex program or is working on a Devex improvement program. I think it's particularly relevant for PMs because if you're PMing something that involves software building and creating software, improving DEVEX will only help your team. And also you have key skills and insights and instincts that are so important to devex that many times I will say I've seen engineering teams just miss.
Lenny Rachitsky
Okay, what's the framework? What are the steps? Where do people start?
Nicole Forsgren
So the book goes through seven step process and then also kind of provides some key kind of principles at the end. Step one is to start the journey, right? So assuming you're kicking off, you can start the journey. And this involves what we have already talked about, right? Go talk to people Have a listening tour, Synthesize what you learn. Visualize the workload tools, right? Like get a handle on kind of what the current state is. Step two is to get a quick win, right? So start small, get a quick win. Pick the right projects, share out what you've done. Step three is using data to optimize the work. Establish some of your data foundation. Find the data that's there. Start collecting new data. Use some surveys for some really fast insights. And we include example surveys. Step four then is to decide strategy and priority. Once you have some data, then you need to know of all the things that are potentially broken and you've already gotten your quick win of all the things that are left. What should I do next? We walk through some evaluation frameworks there. Step five is to sell your strategy once you've decided. Now you have to convince everyone else. Now you want to get feedback. You want to share why this is the right strategy right now. Step six is to drive change at your scale. Here we address folks that have local scope of control. If you're starting on just a dev team, you want to do it yourself. Kind of grassroots effort or global scope of control. If you're the VP of developer experience or something, there are some things that you can leverage for a top down. And then how do you drive change when you're somewhere in the middle? Because you can leverage both types of strategies. Then step seven is to evaluate your progress and show value and then loop back around. I will say that we wrote this so that you could jump into any step wherever you are right now, right? Like if you're kicking off a team, you'll or an initiative, you'll probably want to start at step one. You should definitely start at step one. If you're joining an existing initiative, you could jump into picking the priority or implementing the changes. So those are. So there's a seven steps. There are a few practices that we also recommend. So thinking about resourcing it, change management, making technology sustainable and then also bringing a PM lens to this. Right? How can we think about developer experience as a product? And how do we think about the metrics that we have as a product?
Lenny Rachitsky
Awesome. Okay, I have questions. Point people to the book real quick. What's the URL? How do they get it? When does it come out? Yeah.
Nicole Forsgren
Developerexperiencebook.com so right now you can sign up for the mailing list. We'll let you know when it's out on pre order. And we'll also be sharing pieces of the workbook. So we've got almost 100 page workbook that goes along with the book and then it should be out by end of year.
Lenny Rachitsky
Okay, so one piece of this is just this term developer experience feels very intentional in that it's not developer productivity, developer work, it's how do we make developer experiences better at our company, which includes they get more done, but also they're happier, things like that. So I think that's an important element of this, right?
Nicole Forsgren
Yeah, absolutely. Because again, it's not just about productivity. Right. We talked about this from, from kind of the frame and the lens of we need to be building the right thing and you want to be productive, but you also want to be thinking about. And this is what engineers are also just really incredibly good at. Give them a problem and don't tell them how to solve it and then they can solve it better. Right? They have the freedom, they have the innovation, they have the creativity so that they can solve this problem. And if it's only about productivity, then it's just like lines of code or number of PRs or whatever. Right? But we really want to talk about value and how do we unlock value and how do we get value faster? And that involves, yes, making them more productive and removing friction because then they have the flow and the cognitive load and the things that we kind of talked about.
Lenny Rachitsky
Awesome. Okay, and then say someone wants to start this team. What does it usually look like at Airbnb? I remember this team forming and it was just like an engineer or two getting it started and taking charge. What do you recommend as the pilot team? And then what does it look like as it grows?
Nicole Forsgren
So there are a few ways to do this. Right? So if you're doing it yourself, you could do it with a couple engineers, maybe a PM or a PGM or a TPM to kind of help communicate because really comms plans are just so important here on a small, on a small scale, Right. What we want to do is look for those quick wins. Look for things that you can do at small scale. Are there, you know, some folks call them things like paper cuts. Are there small things that you can do to help people see the value and feel the benefit themselves? Right. How can a developer's work get better? How can their day to day work get better? Kind of build momentum from there. If you're working from a top down structure and you have the remit, you still want some, some quick wins. But those quick wins can look a little more global in scale because you have the, the infrastructure or the backing to make you Know different types of changes that aren't only local. So you know, an example of a small local change could be just cleaning up your tests near test suites, right? Any team could do that. Any team could do that. More, more global scale might be changing organization wide process that is just overly cumbersome or throwing some resourcing into, you know, cleaning up the provisioning environment.
Lenny Rachitsky
What kind of impact have you seen from teams like this forming on the engineering teams at their companies?
Nicole Forsgren
I, I'll say I've seen a huge impact, right? For, for smaller companies, hundreds of thousands of dollars. For large companies in the billions cut. Well also we need to learn how to communicate that, right? Like what does the math look like? Are we, many times we can look at saving time, we can look at saving costs, we can look at a lot of different things. We can look at speed to value and speed to market, we can look at risk reduction, but the gains really are there. I will mention that it tends to follow something like J curve. So you'll have a couple of quick wins and it'll look like a big win and then you'll hit a kind of a little divot where suddenly the really obvious projects, the low hanging fruit are handled. So now we need to do a little bit of work, right? We, we might need to build out a little bit more infrastructure, we might need to build out a little more telemetry so that we can capture the things we want to capture. And then once we get that done, then we start to see those benefits really compound.
Lenny Rachitsky
So going back to that measurement number, what do you recommend? How do people find these numbers? Because I think that's so much of the power of this is like we saved a million dollars doing this. What do you look at to do to figure that out?
Nicole Forsgren
I think there are a few different things to keep in mind. Who is our key audience and we usually have a few key audiences. We really want to be able to speak to developers because they're the ones that are going to be using the systems. They'll be partnering with you on either building them or at least providing feedback about what you're doing for them. We often want to frame this in terms of things they care about. So time savings, right? If something gets faster, they can save time. They can, you know, they don't spend time doing setup when they don't need to anymore. Related to that is reduced toil. Right. So compliance and security are super important. Also many times it requires several, several manual steps that I don't say they're not value Add, they are not value add. From an individual human perspective, right? If we can automate as much as possible, that's great. And improved focus time. So that's from the developer side of you. Leadership often cares about. They care about those things, right? But they often care more about other things. So we could talk about usually costs in dollars, right? So can we accelerate revenue? What is our time to value look like? What is our velocity? How quickly can we get feedback from customers? And for folks and organizations that are in really competitive environments, that can be really compelling because it's all about speed. We could talk about saving money, right? So here we can look at maybe quantifying savings. So, you know, one example is test and build. If we can clean up a test and build suite to a developer, they really want to hear about time saved and more reliable systems, right? There's less toil because they don't have to keep rerunning tests or kind of go clean up test suites. From the business perspective, cleaning up a test and a build suite can be cloud cost savings because all of those tests are running somewhere on a cloud. And if they always fail or if they're. If it's just kind of a waste of spend, that can be useful, right? Recovering some capacity, right. We can always talk about time and productivity gains, right? So how much equivalent developer time are we losing on things that are not necessarily value add? Right. And then sometimes we can correlate to business outcomes, and correlate is usually the best we can do here, but there can be some pretty compelling correlations in terms of speeding up time to value and increase market share, for example.
Lenny Rachitsky
So let me pull that thread and come back to this. What I think is the biggest question people have right now with AI and productivity, and I don't think anyone has the answer yet, but I'm curious to get your take of just what should people do today? What's the best approach to understanding what impact AI tools are having on their productivity? Because they're spending all this money on there. Like, I don't know, what are we getting out of this? And I guess things are moving faster, but I don't know. So if someone had to just like, okay, here's what I should probably try to do. What would be your best advice here for measuring the impact of AI tools on productivity?
Nicole Forsgren
I would say it depends. And in part, it depends on what your leadership chain really cares about. Right? Like, we're usually pretty good at, like, figuring out what matters to developers and we could communicate that to them. But if we're trying to just identify two or three data points to really kind of focus on. Because when we're first starting with data, sometimes it can be challenging. What do they care about? Think about the messaging you've been hearing. Have they been talking about market share, right? Losing market share or competitiveness in the marketplace? If that's it, focus on speed. Think about ways that you can capture metrics for speed from feature to production or feature to customer or feature to experiment, and what that feedback loop looks like. If they're talking about profit margin all the time right now, we always talk about money, right? Because this is business. But if that seems to be an overarching narrative, look for ways that you can save money and then translate that into recovered and recouped headcount, cost, right? Or sometimes you'll kind of like reinvent, change a process, and then you no longer need as many vendors, right? So reductions in vendor spend can also help there. And I, I say also, it depends because sometimes something will, they'll say something, right? Like leadership will say something. And it, it kind of comes up as a theme. If you can solve a problem that they have, or it's like something that they're focused on. If you can slightly reframe it even, right? Like if they're calling everything developer productivity, go ahead and call it productivity. If they're calling it velocity, and velocity is what matters to them, think about how to frame this in terms of velocity. If they're talking about transformation or disruption, right? How does this help with the disruption? Because then it will resonate with them. We don't want to make them work to understand what it is that we're doing and the value that we provide.
Lenny Rachitsky
That is such good advice. So just to reflect back, the advice here is if your company is trying to figure out what sort of impact are AI tools having on our company, first it's just like, what does the company care about most? What do leaders care about most? Could be market share, could be profit margin, could be velocity. We need higher velocity or we need a transform transformation. So your advice there is like, figure that out based on words and phrases you're hearing. Then figure out ways to measure that, ways to measure market share growing, profit margin increasing. So it could be, I love these examples, like time from feature idea to production or to experiment. So maybe start tracking that. If it's margin, it's like money saved by fewer tests, failing or some vendor. You don't have to pay for things like that. And then velocity, Velocity. I imagine that's where Things like DORA come in of just like speed of engineering, shipping, or what would you think about there for velocity?
Nicole Forsgren
I would say it's actually, you know, one of those. I would pick as. As broad a swath as you can. So if you can go from idea to customer or idea to experiment, how long does that take? How long does it typically take and how long can it take and does it take now with improved use of AI tooling and reduction in friction. Right, and that's where I will say we talk about this a little bit in the book. How do we deal with attribution challenges? So, like, what was responsible for this? Was it the devex or was it the AI? Go ahead and disclose that. Right? Say yes, we rolled out AI tools. We also had this effort in devex. They partnered very closely together. Both of them probably contributed to this, right? Like, if we had AI tools without the devex improvements, we probably would have had some improvements, but not nearly as much, right?
Lenny Rachitsky
If people were starting to do this today, say they're just like, I want to start measuring developer experience. Are there like a two or three metrics everybody basically needs? They should just start measuring asap.
Nicole Forsgren
If you're just starting today and if you have nothing at all, talk to people. Obviously, after that, I would do surveys, because surveys can give you a nice kind of overall view of the landscape quickly so that you know where the. The big kind of challenges are. And I say that because if. If you're just starting, you. You might not have instrumentation through your system, all the metrics. And if you do already, it might not be what you think you want, right? Metrics that were designed without purpose, questionable metrics that were designed for another purpose. They might work for what you want, but they might not. So we can't just assume we have them. So that's one reason I like surveys. And we include an example in the book. You can just ask a few questions, right? How satisfied are you? What are the biggest barriers to your productivity? Or what are the biggest challenges to getting work done? And let them pick either from a set of tools or maybe a set of processes, and then say let them pick three, just three of those three. How often does this affect you? Right? Is this hourly? Is this daily? Is this weekly? Is this quarterly? Right? Because sometimes it hits you every single day and you're just mad about it. Sometimes it only hits you once a quarter because it's end of quarter. But it's so onerous, right? And then kind of open text, right? Like, is there anything else we should Know that that can give you incredible signal because by making folks prioritize the top three things, if you let them pick everything like it makes the data super, super messy. But three things and how often you can just come up with a score or a weighted score if you want, and then go kind of dig into where should that data, where should that data be? What data do we need? But also then you've got at least some kind of baseline. Baseline, Right. It'll be a subjective baseline, but now you'll know what the biggest challenges are.
Lenny Rachitsky
I love how all this just comes back to starting by talking to people and asking them these things, which is very similar to product management and just building great products, is have you talked to your customers? And everyone thinks they're doing this, but most people are not doing this enough.
Nicole Forsgren
Yeah. And I will say, like one thing that's challenging when you're start when you think about getting data. Right. So interviews are data and that's important. Surveys are a little more quantified. Right. Because we can, we can turn into counts. But that's where we also want to be careful. Right. A lot of folks go to write a survey question and they'll say something like, were the build and test system slow or complicated? In the last week, you're asking four different questions there. If someone answers yes, was it the build? Was it the test? Was it slow? Or was it like flaky or complicated or something? Right. So it can be really difficult to untangle what the signal is you're actually getting there. And so it is worth time chatting with someone who's familiar with survey design, having a conversation with Claude or Gemini or ChatGPT around. Here are the survey questions or can you propose some and then make sure you take a couple rounds. Is this a good survey question? What questions can I answer from the data that I get? What problems could I solve? If you can't answer a question with data, don't get it.
Lenny Rachitsky
And you have example surveys in your book for folks that want to just copy and paste and not have to think about that.
Nicole Forsgren
Example surveys, a lot of example questions. We even recommend what the format like, how, what the flow should look like, how long it should be, how long it should not be.
Lenny Rachitsky
One thing that I was reading is that you don't love happiness surveys, specifically asking engineers how happy they are. Is that true? If so, why?
Nicole Forsgren
I don't now I will, I will say I don't love a happiness survey because there are too many things that contribute to happiness. Happiness is a lot. Right. So Happiness is work, happiness is family, happiness is hobbies, happiness is weekends, happiness. There's so many things that contribute to happiness. Now that doesn't mean I don't care about happiness. I think happiness surveys are not particularly useful here. What can be helpful is satisfaction. And people are like, what's the same thing? It's not because you can ask, are you satisfied with this tool? Right. And then ask some follow up questions. Now those two are related to because the more satisfied you are with your job and your tools and the work and your team, it contributes to happiness. And I used to joke, remember the old commercials like happy cows make happy cheese. How to California. That was the best. Happy devs make happy code. They write better programs, they do better work, they're better team members and collaborators. But capturing and trying to directly influence happiness, like that's, that's, that's not what we're here for, right? And it's just, it's too challenging. It's too all encompassing. Satisfaction can give us some signal in.
Lenny Rachitsky
A totally different direction. In terms of just tools you see people using, are there any that just like, oh yeah, this one's really commonly great for people. This is just like a tool people are finding a lot of success with. Like there's the common ones, Copilot, cursor. I don't know, is there anything that stands out that you want to share? Just like, hey, you should check this tool out. People seem to love it.
Nicole Forsgren
I think the huge. Right. Copilot, cursor, Gemini.
Lenny Rachitsky
Claude code.
Nicole Forsgren
Yep. Claude code. I love Claude code.
Lenny Rachitsky
I have a whole post coming on ways to use Claude code for non engineering use cases. It's so nice, it's so interesting. For example, Claude code find ways to clean up storage on my laptop. And it just tells you here's a bunch of files. It's just like ChatGPT running on your computer and you could do all kinds of crazy stuff on your computer for you, like a little mini mini God.
Nicole Forsgren
Well, I'm going to do that now. This is great.
Lenny Rachitsky
It's so good. It's. Yeah, that's why I'm writing this. I had a Dan Shipper's on the podcast and he said claw code is the most underrated AI tool out there because people don't realize what it's capable of. It's not just for coding and that's I'm trying to explore more and more. Okay. Is there anything else that you think would be valuable for people to hear to help people improve their developer experience, Help them adapt to this new world of AI and engineering that we haven't covered.
Nicole Forsgren
I think something that's important to think about in general is to bring a product mindset to any type of devex improvements that are happening. And also the metrics that we kind of collect and capture. And by that I mean we want to identify a problem, make sure we're solving a problem for a set of users. We want to think about creating MVPs and experiments and get fast feedback, do some rapid iteration. We want to have a strategy, we want to know who our addressable market is, we want to know what success is. We want to basically have a go to market function. We need to have comms, we need to get continuous feedback from our customers, we want to keep improving. And at some point we want to think about, you know, sunsetting something, right? Is it in maintenance mode? Is it sunsetting? And I think that's important in general, but I think it's extra important now because when we have AI tools, we're using AI tools, we're embedding AI into our products, things are changing so rapidly that it can be really important to take like half a beat and say, okay, what's the problem I'm trying to solve right here? Is this metric that we've had for the last 10 years still important or should this be sunset? Because it's not really important anymore. It's not driving the types of decisions and actions that I need.
Lenny Rachitsky
Before we get to our exciting lightning round, I want to take us to AI Corner, which is a recurring segment on this podcast. Is there some way that you've found a use for an AI tool in your life, in your work that you think might be fun to share, that you think might be useful to other people?
Nicole Forsgren
So I have been kind of working on some home design and like, like redecorating rooms and stuff. I'm working with a designer because I know what I like, but I don't know how to get there. I'm not good at this, but I've really been loving ChatGPT and Gemini, especially to render pictures for me, right? So I can give it the floor plan, I can give it one shot of the room that's like definitely not what it's supposed to look like. And then I can give it pictures of a couple different things and I can just tell it, change the walls or change the furniture layout or change something and it helps me and it's relatively quick. It helps me kind of visualize the things again. I know what I like, but I don't know how to get there, so I know if I like it or not. Which is probably a very random use, but it's fun for now.
Lenny Rachitsky
My wife does exactly the same thing. She's sending me constantly. Here's what this rug will look like in her living room. Here's this water feature. It's so good and it keeps getting better. It's just like, that's exactly our house with this new rug. Yeah. And all you do is just upload these two photos and just like, cool. How would this look in that room?
Nicole Forsgren
I've been impressed a couple times. I mean, definitely the machines are listening to us. It's given me a mockup of a room or something. And then it throws in a dog bed because I have dogs. I'm like, I did not tell you to do that. But yeah, that's probably the color and style of dog bed that I should have in this room.
Lenny Rachitsky
Speaking of that, have you tried this? Use case Ask ChatGPT. Generate an image of what you think my house looks like based on everything you know about me. I have it because it is memory and remembers everything you've talked about. And it's hilarious. You gotta do it.
Nicole Forsgren
Okay, that's. That's on my to do list.
Lenny Rachitsky
There we go. Bonus. Use case Nicole. With that, we've reached our very exciting lightning round. I've got five questions for you. You ready?
Nicole Forsgren
Awesome. Let's go.
Lenny Rachitsky
What are two or three books that you find yourself recommending most to other people?
Nicole Forsgren
Outlive by Peter Attia is fantastic. Another one that's maybe related. I Hurt My Back. So, like, it's not great. Back Mechanic by Stuart McGill is incredible. So shout out to anyone who has hurt lower back. It's for a layperson to read through and, like, figure out how to fix lower back problems.
Lenny Rachitsky
It's kind of a random one.
Nicole Forsgren
I will say. I love how big things get done. I can't pronounce the name. I think one's. They're Scandinavian. One is. But it kind of dissects really large projects through recent ish history and where they failed and why. And I think it's really interesting for us to think about, especially now in this AI moment where basically all of our at least software systems are going to be changing. So how do we think about approaching what is essentially going to be a very large project? And then, sorry, I'm going to throw in a bonus one. The Undoing Project by Michael Lewis. Matt Velozzo recommended it to me and it's so good. Yes, I gasped at the last sentence.
Lenny Rachitsky
Oh, of the book. Yeah, I read that and I do not remember that last sentence. Oh, man. Okay, cool. Next question. Do you have a favorite movie or TV show you recently watched and enjoyed?
Nicole Forsgren
I will say I watch Love is Blind. If I gotta, like, shut down at the end of the day, Love is Blind as fun.
Lenny Rachitsky
There's a new season out.
Nicole Forsgren
Yeah. Very excited. And shrinking. Shrinking? Have you seen shrinking?
Lenny Rachitsky
No. I think I started the therapists and yeah, I gave it a shot.
Nicole Forsgren
It's cute.
Lenny Rachitsky
Okay. Okay. Sweet. Is there a product you've recently discovered that you really love? Could be an app, could be some kitchen gadget, some clothing.
Nicole Forsgren
Yeah, the Ninja Creami Is.
Lenny Rachitsky
Did you say this last time?
Nicole Forsgren
I don't know.
Lenny Rachitsky
Somebody said this and I still remember it. It's like you make ice cream and stuff with it, right?
Nicole Forsgren
Yeah. And you can basically freeze a protein shake and then it turns it into ice cream.
Lenny Rachitsky
Oh, man.
Nicole Forsgren
Which is delicious. Another one is a Jura coffee maker. I love good coffee and I'm not great at making it, so I can just push the button and it'll give me anything I want, including, like, lattes, cappuccinos, or anything. So that's kind of fun.
Lenny Rachitsky
Sweet. Okay. Do you have a favorite?
Nicole Forsgren
Sugar and caffeine. I just need to power through the day.
Lenny Rachitsky
There's Engineering Productivity 101.
Nicole Forsgren
Yeah.
Lenny Rachitsky
Oh, man. Okay, two more questions. Do you have a favorite life motto that you often find useful in work or in life and come back to in various ways?
Nicole Forsgren
Yeah, I think one that's come up a couple times. It's not like a verbatim thing. It's. I think it's more Levi, but, like, hindsight is 20 20, but it's also really dumb. Right. I think if we made the best decision we could at the time with the information that we had available like that. It is what it is. Right. If you make a bad decision because you made a bad decision and you knew better, you had the information, not great. But I don't think we give ourselves or other people enough grace because we always end up finding more information out later.
Lenny Rachitsky
Hear, hear. Final question. I was going to ask you something else, but as we were preparing for this, you shared that you have a new role at Google. Maybe just talk about that, what you're up to there, why you joined Google. Anything folks, you know?
Nicole Forsgren
Sure. So I am Senior Director of Developer Intelligence in Core Developer. So it's super exciting and super fun because of all of these things we've been talking about. Right. It's like focused on Google and all their properties and their kind of underlying infrastructure. How can we improve developer experience, developer productivity, velocity, all of these things we've been talking about. And because I'm kind of the numbers person, right? How do we want to think about measuring it? How does measurement change? How do feedback loops change? How can we improve the experience throughout and then kind of drive that change through an organization in ways that are meaningful and impactful and faster than they've been before?
Lenny Rachitsky
Nice job Google getting, Nicole. What a win. I need to get some more Google stock asap. Okay to follow questions where can folks find you online if they want to, and find your book online if they want to dig deeper? And how can listeners be useful to you?
Nicole Forsgren
So online you can find the book@ developerexperiencebook.com I'm@ecolefv.com and LinkedIn occasionally. Sometimes it's a mess. I try to wade through all of the noise I get there to be useful. Sign up for the book and the workbooks. The workbooks are free. I'd love to get any kind of feedback on what works, what doesn't. I always love hearing those kind of stories.
Lenny Rachitsky
Nicole, thank you so much for being here.
Nicole Forsgren
Thanks for having me, Lenny.
Lenny Rachitsky
My pleasure. Thanks again. Bye everyone. Thank you so much for listening. If you found this valuable, you can subscribe to the show on Apple Podcasts, Spotify, or your favorite podcast app. Also, please consider giving us a rating or leaving a review, as that really helps other listeners find the podcast. You can find all past episodes or learn more about the show at lennyspodcast. Com. See you in the next episode.
Episode: How to measure AI developer productivity in 2025 | Nicole Forsgren
Host: Lenny Rachitsky
Guest: Nicole Forsgren (creator of DORA and SPACE frameworks, author of "Accelerate" and "Frictionless")
Date: October 19, 2025
This episode features a deep-dive conversation between Lenny Rachitsky and Nicole Forsgren on the realities, challenges, and evolving frameworks for measuring AI developer productivity. With AI tools rapidly reshaping software development, companies are seeking effective ways to determine whether these new technologies are genuinely boosting productivity or simply introducing new bottlenecks and complexities. Nicole, recognized as a leading thinker and researcher in developer productivity and experience, offers tactical, research-backed advice—culminating in her soon-to-be-released book, "Frictionless".
Lines of Code Is a Lie: Both Lenny and Nicole open by addressing the futility of legacy metrics:
"Most productivity metrics are a lie. If the goal is more lines of code, I can prompt something to write the longest piece of code ever. It's just too easy to game that system." — Nicole Forsgren (00:03)
AI's Impact: With AI, it's even easier to produce code that looks productive but may not be valuable.
Shift from Output to Experience: Productivity can't just be about output. Developer experience (DevEx) incorporates friction, workflows, cognitive load, and happiness.
Definition of DevEx:
"DevEx is developer experience. And when we think about developer experience, we're really talking about what it's like to build software day to day for a developer." — Nicole Forsgren (07:00)
AI has fragmented the “flow state” engineers value, as tasks move from direct code writing to highly interactive, interruption-driven review and collaboration with AI tools.
Opportunity in Review:
"Our attention has to focus on things at certain times and it's broken up from how we used to do it. There's some real opportunity to not just rethink workflows, but rethink how we structure our days and work." — Nicole Forsgren (18:10)
AI as Context Keeper: The right tools and processes may allow shorter work blocks to be productive, as AI helps engineers regain context.
Legacy Metrics Are Outdated: Lines of code, DORA metrics (speed, stability) are now insufficient, especially as code origin (AI vs. human) blurs.
SPACE Framework Remains Useful:
"[SPACE] doesn't tell you what metric to use ... but now I think that's the power of it. We're actually seeing that SPACE applies fairly well in these new emergent contexts like AI." — Nicole Forsgren (14:53)
New Considerations: Add dimensions like trust (e.g., how much can you trust AI-generated code?).
"Most teams can move faster ... But faster for what? Are we making the right business decisions? We can ship trash faster every single day." — Nicole Forsgren (27:16, 29:09)
"Honestly, I think the best thing you can do is go talk to people and listen... Start with listening and not with tools and automation." — Nicole Forsgren (22:35)
Productivity Gains Are Real, But Hard to Measure: Velocity (idea to customer/experiment) is a useful metric.
Documentation & Data Matters: AI tools perform better with high-quality, up-to-date docs and clean data.
Attribution Challenges: Real gains often come from both improved DevEx and AI—measuring the exact contributions is complex.
Nicole’s Framework for Measurements:
"If you're just starting today and if you have nothing at all, talk to people. Obviously, after that, I would do surveys..." — Nicole Forsgren (53:10)
Step-by-step framework for establishing and scaling a DevEx team:
"Bring a product mindset to any type of DevEx improvements... identify a problem, make sure we're solving a problem for a set of users... create MVPs and experiments...."
On AI-Generated Code Quality:
"We can't just put in a command and get something back and accept it. We really need to evaluate it. Are we seeing hallucinations? What's the reliability?" — Nicole Forsgren (00:32, 14:53)
On Process Over Tools:
"It's interesting... nothing about tools or technologies. It's not like move to this cloud. It's not like install this new deployment system. It's processes and people and org morale." — Lenny Rachitsky (26:10)
On Survey Design:
"If you let them pick everything... it makes the data super, super messy. But three things and how often, you can just come up with a score or weighted score if you want, and then dig into where should that data be." — Nicole Forsgren (54:30)
On Attributing Improvements:
"If we had AI tools without the DevEx improvements, we probably would have had some improvements, but not nearly as much." — Nicole Forsgren (52:16)
Nicole’s research points to a future where “developer productivity” is inseparable from overall experience, satisfaction, and seamless integration with new AI-powered workflows. The best teams blend people-focused process improvements, rigorous feedback loops, and agile experimentation with technical investments. Don’t chase after vanity metrics—start by listening, iterate fast, and measure what actually matters.
For more, visit developerexperiencebook.com and connect with Nicole at ecolefv.com or on LinkedIn.