Skip to content
Podcast

Where does the time gained from using AI really go? | Nathan Hunt (Snowflake)

AI is saving developers more time than ever, but those gains aren't necessarily translating into more innovation. In this episode of Engineering Enablement, DX Distinguished Scientist, Eirini Kalliamvakou, talks with Nathan Hunt, a Principal Software Engineer at Snowflake, about where AI-driven time savings are going, how bottlenecks are shifting from coding to code review, and what these changes mean for developer experience. Nathan shares how Snowflake is adapting its engineering workflows, using AI to reduce operational work, and encouraging innovation. They also explore the challenges of measuring AI's impact on business outcomes.

Show notes

Where AI time savings are going

  • Developers are saving more time with AI, but that isn’t necessarily translating into more innovation. DX research shows that weekly time savings have doubled from three to six hours, while the share of time spent on new work remains unchanged.
  • Rising expectations are absorbing some of those productivity gains. Engineers are taking on more work, expanding existing features, and managing multiple AI agents simultaneously.
  • AI can make engineers feel more productive while actually increasing their workload. Generating code is faster, but reviewing, verifying, and completing that work still takes time.

How AI is changing code review

  • AI is shifting engineering bottlenecks from code generation to code review. The growing volume of PRs is putting more pressure on senior engineers responsible for maintaining code quality.
  • AI reviewers are effective at catching bugs, security vulnerabilities, and common issues. Human reviewers remain essential for evaluating intent, architectural decisions, and whether added complexity is justified.
  • Code review requirements should reflect the risk of the change. Snowflake is experimenting with risk classifiers that allow low-risk PRs to bypass human review while maintaining greater scrutiny for critical code.

Preparing engineering infrastructure for AI

  • Snowflake invested heavily in improving its development workflows before AI adoption accelerated. Improvements to build systems, CI, and testing increased reliability, reduced friction, and improved developer satisfaction.
  • AI-driven development is creating unprecedented demands on engineering infrastructure. Snowflake saw PR volume increase by roughly 20% in a single month, making incremental capacity improvements insufficient.
  • Engineering teams need to plan for much greater scale. Snowflake is considering how to support 10 or even 30 times more PRs rather than simply accommodating modest increases in volume.

Turning AI productivity into innovation

  • Snowflake encourages engineers to experiment and pursue ambitious ideas. AI makes it possible for smaller teams to tackle projects that previously required far more engineering resources.
  • AI is helping reduce operational work and free engineers for higher-value tasks. Snowflake uses AI bots in Slack to handle routine support requests, with engineers verifying the responses.
  • Reducing operational overhead requires upfront investment. Teaching AI systems the right context and learning from their mistakes can create substantial efficiency gains over time.

Improving AI-assisted development workflows

  • The quality of AI-generated code depends heavily on the quality of the initial specification. Unclear requirements and inadequate context can create problems that faster code generation cannot solve.
  • Context engineering and feedback loops help agents produce better results. Teams can improve agent performance by refining repository instructions, reusing established patterns, and incorporating lessons from failures.
  • There is no universally accepted framework for AI code review. Teams are experimenting with higher-level reviews, automated verification, and risk-based approaches to maintain quality as PR volume grows.

Measuring AI’s impact on engineering

  • Developer sentiment can provide valuable signals alongside operational metrics. Snowflake has seen significant improvements in developer velocity and sentiment, alongside growing frustration around code review.
  • More engineering output doesn’t necessarily mean proportional business value. Metrics like PR volume, tickets closed, and lines of code provide useful signals but cannot reliably measure actual outcomes.
  • Connecting AI investments to business value remains a major challenge. Snowflake tracks token usage and costs, but determining how much additional value AI creates is far more difficult than measuring activity.

Timestamps

(00:00) Intro

(02:45) Introducing Nathan Hunt, Principal Software Engineer II, Snowflake

(03:39) Where developers’ AI time savings are going

(10:20) The pros and cons of AI code review

(16:51) How Snowflake improved developer workflows before AI

(21:13) How developer sentiment is changing as AI accelerates productivity

(23:47) Snowflake’s AI goals and how they show up in engineers’ day-to-day work

(28:41) Why discovery and planning are becoming bottlenecks in AI-assisted development

(31:59) Best practices for maintaining code quality with AI

(37:25) Tracking AI token usage and measuring outcomes

Listen to this episode on:

Transcript

Eirini:

Well, hi everyone. I’m Eirini Kalliamvakou, I’m a Distinguished Scientist at DX. What I do here is run studies that show us what affects developer productivity, developer experience. Of course, now with AI, a lot of the focus is on the impact that AI is having on all of these experiences.

I’m going to start us off a little bit with what we’re going to be talking about today, set the stage a little bit, because we have a little bit of a mystery on our hands where AI is definitely saving developers time. We hear a lot about that part. And I think that many of us hope that some of that time is going to turn into new things, new ideas, new features. But if you’ve been asked what your AI investment has delivered or if you are looking for an answer to that, you probably are hearing and are finding that it’s just the time that we’re saving is not necessarily going always where we planned it, and it can be just hard to see.

So I’m really glad to be having this discussion with Nathan. We are going to get into where the time is going, how things are working, how you can tell, what teams can do to steer towards what they want more of. And Nathan, welcome. Would you want to take a moment to introduce yourself?

Nathan:

Yes, for sure. First off, let me just say thank you for hosting this, Eirini, you and DX. I’m happy to talk about this topic. I spend a lot of my time thinking about it, so it’ll be a good fit. As far as my background, I currently work at Snowflake. I’ve been at Snowflake for four years. My role there is as the area architect for our engineering systems team. So this is broadly speaking a lot of developer productivity and internal tooling. So how do we make engineers more efficient at Snowflake? I would say over the last couple of years as AI has really started to take off, a lot more of my energy and effort has been focused on that piece, AI enablement and capabilities and so on. And then before Snowflake, I worked at Snap for four years and I worked at Google for 10 years, so been around for a little bit.

Eirini:

Yeah, and a lot of experience accumulating that helps you see things in perspective of that experience. So I’m going to start us off with setting the stage I treat it a little bit as a mystery and us trying to pull clues together. There is in latest DX data, what we’ve seen is that the time developers save with AI has roughly doubled over the past year, going from about three hours to about six hours a week. And at the same time, over the same period, the share of time that people tell us goes towards new work hasn’t gone up. That’s a metric that we’re tracking about the share of the work and what people report. It’s called the innovation ratio that hasn’t really moved. So when you hear those two numbers side by side, the available time, the time saved doubling, but then the share that goes towards new work not having really budged, what’s your first guess about what is happening there and where the time is going?

Nathan:

Yeah, those do sound like they ought to be telling the same story and the fact that they aren’t. I do wonder if some people are, maybe it’s in how they’re interpreting the question. So let’s think about what we mean by new work, for instance. Let’s say I’m building a feature, takes a week to do some unit of work for this feature, and this is in the pre-AI era. Now let’s say it takes less time. I can get it done in half the time, maybe much less than that. So what am I going to do with the extra time? Maybe I would go add more enhancements to the same feature area. Maybe there’s a whole bunch of slightly lower priority things that I couldn’t have gotten to before, but now I do get to and I just make that feature better. So the perception of this might be, I’m still working on the same feature.

Maybe the volume of stuff is a little higher, but otherwise it’s the same kind of feature. Now, it’s also possible a lot of these things vary a little bit by company. Some people might use the time differently. A little bit of this is tied up in, I guess, how people are incentivized and what they work on and so on. But another part of this is when we first started seeing super useful AI tools, people probably did think in terms of like, oh, that’s really saved me whatever, an hour or two this week. But now the time to generate code is so fast, it’s approaching zero. I mean, it’s just a prompt away and a whole bunch of code gets output that I don’t think the perception is, hey, this is saving me time. It’s what is it enabling me to do now instead that again, maybe it’s more of the same, maybe it is expanding into different features, maybe it gets filled up with other parts of the development life cycle.

I think little bit of all of those things are true. But I would also say it’s clear now that expectations of engineers have gone up really steeply. If you’re doing the same stuff you were doing, if you’re working at the same speed you were a year ago or maybe even six months ago, it’s maybe a little bit conspicuous, right? Maybe your peers around you are, it’s feeling like they’re moving much faster. So now it’s just expected of everyone. So it’s faster compared to what? It’s starting to seem like a distant memory you had to write all the code yourself. Most people are writing no code at this point by hand. So as these expectations go up, it just makes people feel like, okay, that’s just my job now. I’m just doing lots more to deliver features and value. I just do it differently now and the agents do a lot of the guts and the heavy lifting.

Eirini:

And I don’t know if you hear this at all, the point that you’re making about the expectations keep moving, right? We hear from people where it’s like, well, I’ll just do one more thing and one more thing. It doesn’t necessarily count as a new thing or an old thing or people don’t necessarily think of it in such a granular way, but some of the time comes back as room to take on more, as you’re saying, the expectations are certainly expanding. And I have to say, I have started to wonder about whether all of those hours are actually the same kind of hour or the same kind of time. If you save time writing a test, maybe it’s different from an hour or two hours or however long that you save or that you would need to work out something else that you want to build. So I think we’re trying, because it’s time, we treat it in exactly the same way, but it’s not really neither in the way that it is saved or how we spend it.

Nathan:

Yeah, I would say it’s shifted considerably. The role of a software engineer before, the key was to get long stretches of deep concentration time. You need to really carefully work through your PR, make sure it’s doing all the right things, verify it and test it. That kind of concentration just looks completely different now, and it almost feels like we’re in this opposite world where the way you are effectively delivering is by time slicing and lots of little slices. How do I keep many agents busy at the same time? Ideally, an agent runs for a while, but nevertheless, you’re cycling through many things now. So it’s this big, I guess, pipeline of tasks that you take on. And this aspect of because people are able to get more done with less of their human time now, it can have quite an empowering effect, I think. People are like, “Wow, never felt so productive.” And so I’ll know some days something pops into my head and I just kick off a worker to do that thing.

Great. I do that, maybe I’m busy and I do that for five or 10 things in a day. Now, a whole bunch of code gets written, those things still do require some follow-up. Sometimes you have to go back and do more turns, you have to verify, you have to deal with the code review aspects of all of this. So it’s a lot of stuff that you kick off all this work, but then you have to get it over the finish line so that stuff is part of this equation of the chaos of, okay, I’m juggling all these things and that style of work just looks different. I think a lot of people end up working even a little more than they did before because of this cycle. It can be a positive and a negative. The positive is my time spent feels so productive now like it never has before.

So you fall into this trap of just a little more, just a little more. But yeah, to your original question about saving time in some ways kind of the opposite. You’re not saving time, you end up spending more time.

Nathan:

You just feel like you’re getting way, way more stuff done because you are.

Eirini:

So since you mentioned the code review and all the things that happened after you very cheaply generated the code or very quickly, so one place a lot of leaders say that extra work piles up now is review. And I think that maybe we should even be stepping back a little bit and looking at the whole system and the whole life cycle because it’s not just review, things pile up before and after the code generation, but a lot of organizations say that things stall now at review rather than coding. You are thinking about this, I’m assuming, right, with your purview and your team, this is something that you’re thinking about. So when the bottleneck moves from coding down to review and further down, what does that mean for the time that it was saved during coding? And have you experimented with AI review, automating reviews, and what does that mean?

How does that fold into trying to accelerate and trying to not have the bottleneck move, but actually continue saving time?

Nathan:

Yeah. The nature of these AI workflows has seriously transformed how code reviews work and how the economics of this system play out. I mean, look, there’s a lot of positives for sure. Let’s start with the things that are way better now with AI in the code review phase. The models are really good at finding bugs in your code. They can look through the logic, they can spot all kinds of edge cases that you probably wouldn’t have spotted, and even a lot of code reviewers wouldn’t have spotted. Perhaps at least as importantly, they can find security vulnerabilities. You can just have a security reviewer bot look at every single PR.

Nathan:

You can just have a security reviewer bot look at every single PR, things that it maybe wouldn’t have even occurred to people before. So some of these things are just significantly better, like linters or other system invariants that you can describe, that is just not a big thing for human consideration or concern anymore.

So that part’s great, but there are things that they still struggle with and it feels like they’re just not as good as experienced people are. A lot of this is about intent and motivation like, “Why are we building this PR? Do you need to build this thing at all? Is it worth it? Is the complexity that it adds to the code base worth the value that it brings?” Because it’s really easy to have the PR generated, and maybe it is adding some tiny increment of value, but if it’s taking a thousand lines of code to do that, you got to think pretty hard. I don’t know what happens when that keeps piling into the code base. So there needs to be some of that style of pushback.

And then there’s also, is this solved in the right way? Are you solving it in an if else case or do you need to solve this at a different layer or more in an architectural fashion? I think AI is getting better at that part, but there’s definitely a struggle. You got to keep a close eye on these things.

Now, what does this mean in terms of how it affects the way people spend time? Yeah, I think people who are more senior and established and are responsible for large portions of code are kind of getting burned more in this world because now it is so much easier for people to quickly spin something up, send it off for review. And these folks who are stewards of the code quality now feel like, “Okay, this is coming at me way faster and way harder.” Meanwhile, the person that’s sending those PRs and not reviewing that much feels like, “Well, it’s all net positive. Everything’s better for me other than I have to wait more.”

And so a lot of these folks are not surprisingly raising their hands and saying like, “Look, this is too much. We need other ways to get the quality higher earlier on.” So it leads us to things like, “What can we do for the original authors who are using agents to author? How can they do more at their end before it gets to the actual review stage? How can we help the agents get it right the first time based on setting up code base?” That’s actually a really big area of investment.

So these are playing a role in how these get distributed. But in terms of changing the fundamentals of code review, the aspect of this, it’s kind of split into two now. It’s an oversimplification a little, but the way I see it is when you take more experimental code, code that’s not in the core product, maybe it’s stuff you’re trying to innovate on, it’s new code bases, it isn’t powering critical workloads yet.

I think the code reviews have slimmed way down. It’s like, “Okay, is the individual lines of code are not as important?” Again, they’re passing security reviews, so we know they’re not huge security holes and they’re not likely to create customer-impacting negative outcomes. Okay, maybe it’s fine to just look at things at a very high level. But then this mode of the core code base, the keys to the kingdom still needs to be looked at pretty carefully. It’s really tough to crack that nut.

We’re experimenting along all these dimensions that I’m talking about, things like better context in the code base, maybe more signals that let a reviewer make the determination and decision more quickly, but they’re all works in progress. They just take time, they take experimentation, and you have to be very cautious with experimentation at this part of the code base.

Eirini:

Do you find that review focuses then not so much on the individual lines of code, but rather than checking the intent, checking the plan, checking the spec that generated the code? Is that a shift in focus?

Nathan:

Definitely, yeah. So now, there’s this question of like, “Okay, how do you encompass this in a PR description, for instance, so somebody can quickly understand from the PR description these high level concepts?” That’s also tough. Agents are very good at writing lots of volume of stuff, which can also, it just takes so long to wade through. So you wanted to tell it in fewer words, so that’s a big part of it. So, yeah, I would say people are looking a lot more at that.

And then there are still cases though where they need to go through and look more at lines of code, maybe not quite as closely as before, but it’s still like if this is mission-critical, then yeah, you have to be so cautious. A customer incident breaks trust, so we have to go out of our way to avoid those happening.

Eirini:

Yes. And I’m with you 100% with the wall of text that we seem to be getting back from other AI tools. Because we said maybe we should be looking at this a little bit more holistically on the system level, I wanted to hear your thoughts based on some of the work that Snowflake did even before AI or agents arrived.

So as far as I know, Snowflake really invested in replacing its whole build, CI, dev environments, test systems. You saw considerable speed gains and higher developer satisfaction, and it’s very nice whenever you can get both of those things at the same time. So where did that work? Where do you think that made the biggest difference to what we’re talking about in terms of saved time?

Nathan:

Well, I would say when that mission started to significantly improve our core workflows, we kicked off a big internal initiative about this probably three-ish years ago now, give or take a little, I can’t remember the exact date, but things were tough. It was really tough to get code merged. Our systems were being overwhelmed, they were occasionally flaky and unreliable. So people had a lot of frustration, and I actually think they were just slowed down. They were like, “Okay, I’m spending some percentage of my time writing the code, and then a bunch of additional times just babysitting and trying to get it merged,” which is not rewarding time at all, super frustrating.

So we really wanted to solve that problem. So reliability rates of merging a PR, we got them much, much higher into the high 90s percentage-wise. So a lot of that went away. We made them much faster by just running fewer tests, picking the right tests. So this was a big initiative. There were dozens and dozens of people involved in doing this across, I mean, probably the better part of a year, maybe a little more, and it really helped.

And people, they generally trust the system now. The way we know is that they complain a lot less about our space and our work. There’s always some complaints, there’s always room for improvement, but a lot of that just cleared up. And we did this the hard way without AI tools to solve these problems for us. And I think we could have done all of those things, all those improvements we made could have been done faster with the tools that our AI makes available today, but of course it wasn’t wasted time because there’s all the development that’s happened between now and then. We’ve been able to build on top of it.

It also helped us focus on things that not everything’s about AI. It really helped us focus on key metrics for latency and reliability for everything, really set aggressive goals on this, goals that you think can’t be done and then push hard on them, make them happen. We really built a culture of listen to the customer, the customer meaning for us, other engineers at Snowflake. So now, we are constantly talking to customers scattered across all the teams.

All of those things are still useful, and now they’re just amplified by AI tools that let us do the things that we hear about more quickly, set even more ambitious goals along these same metrics. So all those things I mentioned have improved since then.

It’s funny because one additional thing, and so maybe this is part of what the setup was. So before, let’s say you’re hitting limits in CI, for instance, infrastructure limits, and you say like, “Okay, let’s make some changes, give ourselves another 20% of room to handle more volume.” That would be the economics of this a couple of years ago. But nowadays, 20% volume increase can happen in one month. I was just looking and it seemed to me like the month of, I think October, we had 20 some percent more PRs than the month before. That’s crazy. So you can’t budget for like, “Okay, let’s do a whole round of improvements to allow for 20%.” So now it makes us set goals like, “What does it take to handle 10 times as many PRs, 30 times as many PRs so we can get a little bit more breathing room?” And I think the whole industry is going through that right now.

CI systems are under duress everywhere, version control management, all of this stuff is now accelerated so fast that people are on their heels trying to get a handle on it. So you have to build good practices to know how to navigate it and start to think quite far ahead because as much runway as you’re trying to build for yourself, it’s going to get eaten up faster than you think.

Eirini:

This is definitely something that has been exposed using agents and generating volume at this rate that I don’t think anybody was expecting. Definitely something that exposed that the thinking needs to go much further, much faster.

Because we talked about the sentiment from your customers that are your internal developers, and I know that Snowflake tracks the developer sentiment alongside its operational metrics. I remember that when you and I talked about this before, you had said that the two line up surprisingly well. And at the same time, as you were saying earlier, everybody just feels busier than ever.

So how have you seen the developer sentiment evolve? Everybody’s happy that all the system work happened, and so you were avoiding some of the breakdowns in systems that other organizations are seeing, but what are you hearing? What are you seeing in developer sentiment now with all the busyness, the volume, and so on that you’re getting from AI?

Nathan:

Yeah, I’ve been surprised at how much sentiment does seem to line up with measured metrics. They rarely disagree in big ways I have found. For instance, in the latest survey when we ask questions about how are you feeling about your developer velocity, it’s through the roof. It’s a giant jump from the last time we asked this question because, of course, everybody feels way faster and they are way faster. They’re merging a lot more code and all those things.

But we see shifting areas of complaint and struggle are now in places like code review. “I’m not getting code reviews fast enough or I’m getting overwhelmed by them.” So definitely, it’s another way of listening to our customers at scale. We know that we have to do more things, invest bigger in these areas because this is only going to get worse unless we build the right tools to solve this.

But we do keep a close eye on the sentiment in general, and we also measure a lot of these things as metrics so we get frequent checkpoints about whether we’re making progress. But it’s a big part of determining our roadmap is we-

Nathan:

But it’s a big part of determining our roadmap is we just listen to what customers say. DX does a great job with the survey platform. We run these surveys pretty often, and so it gives us tons of good feedback.

Eirini:

And that is another kind of mystery that we’ve been seeing in our data when we look across the 500 plus organizations is that yes, the velocity, the throughput, all of these things have increased considerably. At the same time, the developer experience has not been keeping pace. Now we’re starting to see it improve a little bit, but over the past few quarters it was actually hurting. So you’re in a good place being able to see those two things actually move together really well.

So far we’ve talked a lot about where the time went. I think Snowflake is one of the places where it was very intentional about where it wants the time to go. So I was reading Vivek’s remarks from a few months ago, talked publicly about where Snowflake wants the time to go. He was talking about bigger bets. He talked about query compiler work. He talked about bringing down the KTLO, the keep the lights on work from 30% to 5%. So how do these goals show up in the engineer’s week now?

Nathan:

Yeah, I would say, a lot of this is how we establish the culture as a company, and I think Vivek has pushed really hard on this point of encouraging people to innovate, to try new things, to experiment. So I think a key is make sure people are aware experimenting with something and failing is okay. “Oh, I tried to make this improvement and it didn’t work out.” We’re experimenting on improvements. We’re not experimenting on end customers or anything like that, but it’s just like, okay, try to make something better. Maybe it worked, maybe it didn’t. So this kind of culture of experimentation I think is great because people are often pursuing side projects. They get some idea, and part of this cultural encouragement as well is think big. Don’t just do little things, although those are fine too. But for instance, the query compiler, that is a big part of our code base.

And so rewriting in ways that are simpler and cleaner and easier to maintain, it’s really important to our business. So this kind of experimentation can turn into big things that really help us achieve our goals more quickly. And it gets people thinking creatively. They potentially wouldn’t otherwise feel like they have that kind of traction. A lot of things you might look at a couple of years ago and say, “I don’t have enough context to do this thing and it’s so big anyways, we can’t pull together the 10 people it’s going to take to do it.” It’s like, well, maybe you can do it on the side, you can get something started and a couple of people part-time can get it done now, because a lot of these things are possible and they just weren’t before.

So I think that’s part of the culture. The operational pieces are really, this is one I’ve seen very close hand at how AI can really transform this. So we lean on Slack pretty heavily. We hear a lot of things come to us as like, okay, make this improvement, or somebody asking a question or raising a concern. And when you get a finely tuned AI bot in these Slack channels, it can take so much pressure off. Now you do have to spend time to teaching it the right things, pointing it in the right direction, having it learn from past mistakes. So it takes a little bit of iteration, but it’s less than you think. And I would say our ops heavy teams, at least in our engineering systems space, are way, way better off now than they were, let’s say nine months ago. Because so many first line requests just get answered by bots.

There’s still a person double checking like, okay, are you giving the right guidance to this person? But that means the person doesn’t have to do the investigation. They have to say, okay, is this the right answer? Does it seem like it’s giving the right information? So I would say from the on-call aspects in my orbit, these have become much better in the last several months, and I would see that becoming more of a standard thing across the industry as well.

Eirini:

Yes, the time that it takes to fine tune to your purpose is also something that makes it hard to make the decision to go slow at the beginning so that you can go fast down the line once you have fine-tuned a bot to your Slack, and it keeps bringing you back the right things now instead of just trying to boil the ocean. So yes, I think that sometimes even for my personal practice, I find that it’s hard to convince myself to slow down, figure out how to engineer a certain process that will then allow me set up some automation and so on, that will then allow me to go much faster.

Okay, I certainly have more questions for you. Do you see less time spent on business as usual, so operations, and more on new work? Which I feel like we touched a little bit upon, but maybe-

Nathan:

Look, generally, yes, I would say. Like I say, a lot of the troubleshooting, and help and support and so on has slimmed way down. It’s not even across every team. Some teams get hit harder and have things that have more urgency to them perhaps, but I think the trend is hard to argue with. We’re definitely moving in that direction, and streamlining the investigation and operational work. It’s some of the best work to do, not for many reasons. It’s the least fun work for engineers and it can be the most stressful, like the ones that somebody else is waiting and having a bad time. So it’s definitely worth investing in these things and it’s making a big difference.

Eirini:

The next question I see here says that in our case, the SSDLC, so that’s the Secure Software Development Lifecycle bottleneck seems to be around discovery and planning phase. Getting well spec tasks, continuously do engineers and agents is difficult, which I feel like you also mentioned. Everything after that seems to be easy to solve or improve with AI, but the outcome of those first steps directly relates to the quality of the work agents produce. Wondering if we’re alone in this… I don’t think that you’re alone, or that others also feel that improving the not so technical part of the life cycle might give the biggest improvements.

Nathan:

Yes. And some of these blur together as well. So for instance, when you specify work that needs to be done, you might be picturing a document, but maybe that’s a markdown spec, maybe it’s a plan file. It could be any of those things. But I do find that this is definitely a big part of this, and you can make junky PRs these days just as easily as you can make high quality ones, if not more so. And so it’s important to get these things right. So it comes from several places, for sure, people just get practiced in more of these prompts. Maybe they can reuse individual skills that people have written that work in established patterns. There’s also just the context engineering of a repo to make it ready for agents to do the right things. Agents are also really good at improving their own context based on failure scenarios.

So the more you can hook up this feedback loop, mistakes are inevitable, but as long as the system keeps getting better in light of each of these mistakes, then that is definitely going to pay off across enough iterations. And then I guess a big part of this implied in this question is maybe you just need higher level abstractions that power more of these PRs, which I think you do. You need specs that can produce many PR’s, and fast track the review portion. Maybe you just review this higher level plan, and then the PRs themselves become implementation details that maybe are not as important to go over in detail. So that’s a big area of experimentation. I think it is across the industry right now, and we’re no exception to that. It’s good to spend time on that. I do think it’s going to take a little while before the industry settles on a kind of standard way of doing that, but it’s absolutely worth experimenting with it, and we even have multiple ways we’re experimenting with that in our company.

Eirini:

It also seems like this is something that is very strongly tied to having clarity and actionability both in your context and in your original intent. Sometimes we do get into trying to make things continuous and make the automation happen, but without necessarily having clarified or make actionable what was our original intent, what was our goal, is that clear and so on, because that also trickles to all the later stages as well. And you can experiment, you can try things out with AI in almost anything, and it sounds like your company is doing a lot of that and you’re advocating for it, but we also know that it’s not going to give the same return everywhere. And the original, the start of it, deciding what to build and why, and making that clear is also something that still hasn’t been figured out, is still very much the human part, and certainly we haven’t seen best practices surface yet across organizations or the industry.

Let me get to another question. Is there a defined framework or set of best practices for establishing a robust code review process that prevents low quality code from being merged into the code base, especially as AI tools are increasing the volume and speed of pull requests? Which I feel like it’s a pain for a lot of people right now.

Nathan:

Yeah, so we’ve taken a lot of cracks at this, as I think most companies have. And you break down, what is the code review process intended to solve? And it’s really easy to make a big checklist of 10 things that it aims to accomplish. So you have to boil it down to what are the things that are not as important as others? What are the things that AI does solve pretty well today? And then the ones that are harder, I touched on a couple of them before, the intention, is the intention reasonable, the way you’re solving is reasonable. A big one though that is an open area is to what extent has this PR been verified to work correctly? And the simple version of this is like, you ran the local tests and they passed. Okay, well CIL do that, so you assume this is happening anyways, but it feels like that’s not quite enough.

A lot of times people do more to verify things, and so can the AI do that portion of what the people are doing? This one is a little bit more of an art form, and I think everybody would love for there to be a generalized way to solve this, but I kind of think it’s a little bit code base specific. So, different parts of our same repos and code and so on will require different tools for verification. But the more we invest in this type of verification, the more it can build confidence that, okay, this PR is not going to do anything surprising. So when you provide evidence of these verifications, I think you can build more ease on the part of the code reviewer. And the code reviewer that owns the code base should also work on the context engineering part to say that, “Hey, make sure that any code that comes into this code base follows these things.” And then again, agent reviewers can enforce that.

So I’d say that’s best practices, but it’s kind of like a loose collection of best practices. There’s not an ironclad guide that’s like, “Follow this as step by step.”, but I think those are the right concepts and they can help with this. But yeah, every company is occasionally having trouble with this and occasionally objecting when code shows up that doesn’t seem to be at the right quality bar.

Eirini:

Yeah. As you’re saying, I have not seen a unified framework or a universally agreed upon set of practices that are surfacing on this. But more and more, we hear from organizations that are trying to automate a lot of the AI review by tiers of risk. So not all PRs are created equal in terms of the risk they carry, not all changes carry the same risk. So automation for some of the smaller blast radius and low risk PRs and easy to revert, rather than other ones that need way more verification and a lot more scrutiny, I guess is the right word.

Nathan:

This is a good point, yes, and we definitely agree with this. And we are doing risk classifiers also. And the things that we classify as low risk, in most cases they get a pass and they actually don’t need a human review. And this is actually okay. However, there are only a certain percentage of PRs that are low risk.

Eirini:

Yes. Yes.

Nathan:

Most of them are not low risk, depending on your definition of it. We were pretty conservative about this initially. So, you have to find ways to streamline in these cases where they are medium or high risk as well. And that’s where it touches on some of these additional versions of this and add-ons.

Eirini:

Yeah, absolutely. The other practice that I heard recently, my colleague Brian Houck did a podcast episode with Roblox and they basically looked at their historical data for code reviews. And they created these exemplars that essentially is criteria that we tend to apply to review so that they’re automated, their AI review starts becoming closer to the criteria that they’re already using. And it focuses on their profile.

Nathan:

Yeah, this is an interesting one. I kind of have mixed feelings on that particular one because on the one hand, I get it. Okay, you take high quality human reviewers, agents are pretty good at copying and cloning past behaviors, but I kind of want to set the bar higher. How can we make AI review better than people did? They should be able to if they’re fine-tuned correctly, and it’s not so important that they capture or follow a style of a reviewer or set of reviewers. And a lot of times reviewers don’t agree with each other, so you can create some inconsistencies that way too. But we’ve experimented a lot with that also, and I would say we have some good has come out of that. But I’m not sure that’s what the end game looks like.

Eirini:

Yeah. Worth experimenting though, do you think, as part of the process?

Nathan:

Yeah, possibly, possibly. But if you’re earlier on in the journey, I would just say that if you’re trying to figure out, how do we get decent quality comments that actually seem helpful to people, it can help build an intuition for what those look like. But yeah, at some point I think it’s better to look for a more platformy way to do this where you kind of things that follow similar concepts.

Eirini:

Yep. Do you have any good advice on tracking? Do you use skills or anything to help connect AI sessions and token use back to tasks and work completed to help measure towards outcomes and future evals, I guess?

Nathan:

Yeah, I like this question. This is pretty big at the heart of a lot of measurement challenges. So, there are a couple of aspects of tracking in this question. So first, let’s talk about token usage tracking. That’s definitely a big thing now for most companies. Most companies are like, “Whoa, these AI bills are pretty big, so how can we be careful about this?” So, we do the same. We track dashboards, we give people information. Did you know you spent this much on tokens in this last timeframe? So, it just helps people get a sense of how to be responsible on that. And we want to empower people to still make choices. They can pick which models they want, but they do need to be reasonable.

Now, task tracking is one where I think a lot of that is undergoing significant changes right now. I am starting to think that task tracking should slim down a lot more. It can be a lot of overhead, and maybe that overhead made sense when most of the things you carved out as work ended up getting deferred. They needed to go into a kind of a roadmap so that they could be scheduled at the right time. But I’m becoming more convinced that, look, if you have a small to medium-sized task, just do it. When it pops into your head, just do it. Get an agent working on it, try to get it over the finish line. It doesn’t go into a task tracker. I mean, maybe that’s controversial, I don’t know. But just the sheer volume of things we get through each week now is so high that you’ll lose time on this overhead.

Now, of course, big things still can need some of this, but at the heart of this question is this concept of, does this come back to what’s our overall output as a company or a team or whatever? Is it going up? And that is an incredibly hard thing to measure. People fall into the trap of you can measure tickets closed, you can measure PR’s output, you can measure all of these things. There are plenty of other things you can measure too, and none of them are great, so people just use them as proxies. So, we don’t have a great answer to that. We’ve tried measuring other things also. And of course, whatever you measure, almost all of them are on the rise, they’re up. You just don’t know by how much. If you’re writing five times or 10 times as much code, you’re probably not creating 10 times as much business value, right? Probably not but-

Eirini:

Right. Yeah. Yep.

Nathan:

… who knows? I don’t know if the real number is one and a half or three times as much, because there’s just no standard or canonical way to measure it. You could try and we’ll give you some directional signals, but no matter how hard you try, you will not get something you’re satisfied with, is my guess.

Eirini:

Yeah. I think that’s also what complicates all the AI ROI discussions and conversations at the moment, is that we have a lot of metrics and a lot of measurement that have to do with output. Not a great connection always to value. And not having that connection is certainly making it more difficult for all of those who are trying to determine what they’re getting out of their AI investments.

There was one comment that you made about the senior engineers that get hit with the reviews and so on. And I think they’re also hit with trying to mentor their junior engineers who try to find their way around AI. We didn’t get to that, which is a bummer, but maybe there’s a second one of these.

There’s not a very simple answer to where the time goes with AI. You brought up so many things, work that needs to happen before we can have acceleration with agents, a lot of platform work that needs to be in place. Not all the hours that we save are exactly the same or are going to go to the same things. Our expectations keep moving. So, there’s a lot of nuance and a lot of it depends on what work we have put in. So, this is something that at DX we’re looking at at the moment. We’re doing a lot of research in terms of innovation and how to get more of that from the AI investments.

Nathan, thank you very much for being here. Thank you for all the insights and sharing your experience. I hope you had a good time too.

Nathan:

Of course. Yeah, this is great. Loved all the good questions from you it was fun.

Eirini:

Thank you so much.

Nathan:

Bye, folks.