Can I give you a hard time that humans really are the bottleneck? Because if you look at kickoff to PR time, it's 35 minutes, but if you look at PR to first human review, it's 3 and 1/2 hours. And when you're doing, I think it was like over 2,000 PRs in the last month, like how do you keep things in the team from going, as I say, like chaos reigns?
What is a software factory? For us at least, it's an actual noun. It's like a product concept where it consists of a bunch of repos, a bunch of like MCP servers, like a bunch of configuration, and then a bunch of agents essentially. So like a code review agent, design different agents, different automations, and it's all defined in code. Scoring happens across all runs. But then there's a second loop, popular thing on Twitter right now called self-improvement, where you have like an observer agent and it can then create updates to your factory that will try to prevent the particular failure mode. One of the things that's most helpful is like you can have these factory agents do computer use verification. So in this case, it made a video. I'm just like talking to this thing that is doing this job that I've done for the last 20 years, and it's now it's like doing it kind of better than me. Spoiler alert: the humans are the problem.
Welcome back to How I AI. I'm Clarvo, product leader and AI obsessive here on a mission to help you build better with these new tools. Today I have Zach Lloyd, CEO of Warp, and he's going to show us exactly what he means by the software factory. He's going to show us how you can kick off tasks in Slack, what it means to go beyond the software development life cycle, and how a technical CEO uses non-technical tools with AI. Let's get to it. This episode is brought to you by DX. In a recent study across more than 500 engineering organizations, DX found that spend on AI tools has grown 28x over the last year. The share of AI authored code is climbing, but overall innovation has remained flat. As teams generate code faster, new friction in code review and validation is offsetting those early velocity gains. DX tracks speed, quality, and cost together across the software development life cycle, giving engineering leaders clear visibility into how AI impacts delivery and whether those investments are translating into real value. Download the full report at getdx.com/howiaai. That's getdx.com/howiaai. Zach, thanks for joining How I AI.
Thanks for having me. Excited to be here.
There are a lot of trends on the timeline right now, but one that I think is going to be big for 2026, or seems to be big for 2026, is the factory. The factory, this like fantastical idea that we have that we're going to, you know, input tokens and output enterprise value, something like that. At least we'll output code. So I, you know, I'm excited for you to show us as CEO, as engineer, as builder, you know, what to you is the factory and how it looks inside Warp.
The factory is definitely trending. I actually don't love the term factory, but it is the sort of thing everyone has standardized on. It feels a little bit sort of like dehumanizing to me. But yeah, the idea is exactly what you said. It's like how do you, in a world where we have these sort of magical agents, kind of harness their power in a more organized way to have them, you know, basically build software for you from your ideas. And so yeah, excited to show you how I use factories and like what it means to me.
I was at Lenny Summit recently and I think Marty Kagan also said he hated the word factory. I wonder if it's more like Santa's workshop, right? Like we have magical elves that craft wonderful things that spark joy and are delivered gift-wrapped for us. So I'm going to say the AI magical workshop. No, show us, you know, what does this look like for you? Yeah, you did say, you know, you put in your ideas, you output product. Is that real? How does that really work?
Yeah. So it kind of works like that. The way that I think of factories is like there's basically two types of personas who are using them. So there's, I'll show you like basically how we do this in Warp. There's like the builder persona. So the builder persona is someone who is contributing ideas, wants to build stuff. And from that persona, it doesn't look like, at least the way that we have it set up, it doesn't look that different from like how one of these engineers or designers or product people on our team might build with a local coding agent. The big difference you can see here. So this is like, this is our Slack, is that most work is starting in a public place. And so the way we think of factories is like you basically can say in a public Slack channel, you can tag, we named our factory Wilson. You can tag Wilson and be like, okay, I want you to build something for us. And when you do that, what Wilson will do is like essentially do not just like the direct build, which is what you might get if you're using like Claude Code or Codex, but will also like do a few other steps. So what it will do is it'll kind of go through all the steps of like first it will triage whatever this is. So it'll treat it as like an input to the factory, not just like a direct thing to build, meaning it will, you know, for this one, Harry's saying he wants to change the way this feature looks. He gives like pretty detailed instructions. He, you know, attaches an image. He says use computer use, and this kicks off a flow where the first thing that the factory does is actually kind of open an issue. So you can see over here it's like we use Linear in addition to using Slack so that everything gets tracked. So the factory integrates not just with Slack, it opens an issue. Then it does the actual implementation. For this one, it's like it was simple enough and ambiguous enough that we could actually implement it. Then it does, it will create the PR, so it integrates also with like GitHub. Then it does the QA, which I think is like really important these days, like if you want to not spend all your time doing code review. One of the things that's most helpful is like you can have these factory agents do like computer use verification. So in this case, it like made a video of the completed feature. So it's like showing the thing, showing all the keystrokes. And so what you get here is not just like, and then it gets merged, right? It's not just like the single step of build the thing. Like if you were to do this with like a coding agent in like the pre-factory world, what you would typically do is like pull up your local coding agent, do the change there, test it locally, and then like push it up to GitHub. But you get the whole thing of like the ticket, the code review, PR, the video, all done together. And then the other like really kind of magical thing is that it's all done in public. So if you are, you know, someone else wanted to come in and like look at this and see how the task was done or even contribute to it. And so we all have people like multiple people on these Slack threads. You get to a world where as like a builder, you're no longer sort of working in this local silo. Instead, you're working in a public space where everyone can see what you're doing. And so that's like from the builder's point of view, how they like use the factory. Does that make sense so far?
Yeah. And you know, I think what I'm reflecting for folks who are maybe still trying to grapple with, okay, like what's a coding agent, what's a factory, what's the difference? I think what I'm hearing from you is the factory, quote-unquote, is comprehensively designed to reflect your version of what the software development life cycle should be. And so it's not just like idea to code to PR to push. It is, okay, an idea needs to go through several steps. It needs to go down the conveyor belt of product and into like the funnel of issue tracking, and then we need to code it, and then we need to QA it, and then we need to have these very specific verification loops where we can take our sticker and say quality controlled by, you know, number one, 123. And so to you and the way you're describing it, where it goes beyond a coding agent or a copilot, is that it is actually designed to take the very specific end-to-end product steps, not just the engineering kind of like input output.
That's definitely part of it for sure. It's like it does more of the software life cycle. So it does more of those steps. There's a whole other bigger part of it to me, which is, so I showed you this from like the perspective of the individual builder. If you were to go into our Slack, you would see like this is happening over and over like all day long. The people on our team are building in this way. And sometimes, by the way, it's not just like the engineers who are kicking off work like this. It could be work that's being kicked off automatically. So for instance, we have, I don't know if you know Sentry, but it's like a crash reporting system. And so we have signals when there are crash reports coming from like our terminal app that we try to automatically fix those, and those go into the factory too. So it can either be human initiated, it can be initiated by like an external system, and it can be initiated actually in any of these tools. So it's like you can initiate it, like we could have started this whole thing in Linear, we could have started this whole thing in GitHub, and so it's integrated into all the tools. But the bigger piece of the factory approach, in my opinion, is not like, it's not so much how the individual builders work, because it's not all that different from individual builders who might be using like, who might be going into the terminal, for instance, and using a coding agent to do something. It's different. It's in public. But what's really different in the factory approach is that everything is like centralized in the cloud. And there's a whole other aspect to it, which is for not the builders, but for the people who are like the managers who are like trying to scale software development on their team.
Finally, something for the managers. [laughter]
It's what everyone's been wanting, right? Too much attention on the builders. No, but in all seriousness, if you're like, like my concern as someone who's running a company, it's like I want, I want soft, like it's a super duper competitive market. I want to see how quickly we're moving. I want confidence that the way that we're building software is actually improving over time. I want to make sure that we're not like wasting too much money. And in the world of like all of like every builder has their own individual local setup, that's very, very hard to get. And so this is like an engineering manager's dream. It's like a CTO's dream. Like not that this is the coolest thing in the world, but it's like now I have the ability to sort of centralize and see what everyone's doing. So for instance, on this screen here, it's like these are, this is actual data from our team in terms of like how we're using the factory. It's like there's a sort of sense of like how automated is the factory, what's our velocity, how long does it take us to like ship stuff, and so there's just all these measurements.
Can we pause real quick on your productivity because I actually haven't seen this measure before, and we've seen a lot of measures, which is human interactions per PR. Just talk us through why that, because honestly I haven't heard that one before and I like it.
You know, the sort of instinct underlying this is that we are going to be, not to put this the wrong way, but it's like humans are a little bit of the bottleneck in terms of production and software. They're also the creative force. But in general, what companies want, and we're, you know, we're trying to build for companies at Warp largely, is like how do you automate more? How do you make things that can truly just be done agentically, be done in an almost fully automated way? And so, you know, the general instinct is like the more times you have to prompt, the more times you have to steer or like cajole your agent, that's like, that's going to be a limiter on throughput. So this is where you start to get into like factory world, like this is like imagine you're running like a Tesla plant or something. It's like how many times do you have to stop the line? And so, you know, we're trying to give engineering leaders a view of like, okay, are you able to sort of make things more efficient over time?
And quick question, are those just, because my mind, I mean, I, you know, as a one-time CTO, I'm like, yeah, this is exactly what I want. Are these interactions, do you think of these interactions as like the prompts, the sort of like upfront steering? Are you thinking about like how many comments on PRs, how many loops, like how inclusive is this like interaction per PR score?
It's all of those. So because the, and again, I think this could definitely be refined over time, and bear in mind we're like trying to figure out, so what is the right set of metrics, but this actual metric, because the factory is like integrated into all of your knowledge work tools, it includes all those things like how many reprompts in Slack, how many comments on Linear, how many times did you have to correct the thing in code review. And so it's like a kind of like, yeah, it's a proxy for how much work did you have to do in order to, you know, get the thing to do the job.
Okay. Wait, I want to give you a hard time. One more thing, because even before we started recording, you said like how technical, and I was like, okay, well, we're going to put on the CTO, at least the CTO hat right now. Can I give you a hard time that humans really are the bottleneck? Because if you look at kickoff to PR time, it's 35 minutes. But if you look at PR to first human review, it's three and a half hours. Three and a half hours. And so it's like so funny that still cycle time, man. Like it's the thing you really have to focus on. It's that number.
Yeah. There's still the bottleneck. And we're, I mean, we're still doing human code review.
Do all your PRs get human code review?
Currently, all of our PRs get human code review.
Oh, and so now this is like I think a team choice, an organizational choice. Yeah.
We have, the one thing that we have changed around this is now like we used to require, like the workflow used to be like person A on our team would build something with an agent and person B would review the agent's code. We no longer require that, like the person who prompts the agent can also review its code.
Okay. Yeah, you're making me feel better.
That's a better thing, but it's still like we, you know, we don't have yet complete trust. I think the way this will evolve is like some percentage of stuff will eventually we'll feel confident enough that we can skip that.
Yeah, I did an episode recently. I built an eval agent called Merge Mommy. And this is the flow that I often see in even mature engineering organizations, is what you do is you basically like risk score every PR automatically. So go through, risk score it, and then anything that is low or extra low risk gets a stamped approval from Merge Mommy, and then a human's allowed to just smash the button and merge. Anything that's like medium, high, or whatever, or has some like outlier on risk requires human review, and that just like lets you get that bottom trunch of the queue out. Also just so you have good capacity for high quality human review on the things that really matter.
100%. I think code review becomes an exercise in risk management. I think that's right. I want to show you some other stuff in the factory just to show you like how this is different than just standard interactive agent. So you get, cost is on everyone's mind right now, and so you get like, this is agent cost. It doesn't factor in the sort of cost of the people at the moment, but it's like, you know, you can see like we were really expensive a few weeks ago. We made some changes to our model configuration and we've driven this cost down, and we want to continue to drive it down, but just like having the centralized view for this across your whole team.
Can I ask a quick question on cost? So I mean this is a pretty, you can see the drop here. I see this a lot when I'm talking to engineering organizations. They often see like a rise in cost per PR as they're adopting AI, which you all already have, and then we see this drop as you're doing optimization. Do you feel like the biggest lever here is model right now? Is that the lever?
Yeah, it's model. I think model is the biggest. I think like context, like the way context management matters as a secondary thing. I would say model is the biggest.
And the way to really figure this out actually is to test, which is something I want to show as well. But basically, yeah, I think model is the biggest one. Any other questions on the just like the spend view, otherwise?
So the other thing, like this is where it really gets kind of factory oriented, is like the way that we're changing development, and this is, I think this is most relevant for folks who are watching, we're trying to manage like these teams and scale coding agents, is like we now, we're like measuring everything. And so this last thing in here, which we call scoring, basically gives you a view across all your agent runs of like how they're doing on different dimensions. And so we basically, because the factory is like a closed loop system, like every time an agent does a task in the factory, that task gets recorded, and what that opens is the possibility for you to go and like go back retroactively and look at how well the task was done. And so you could do this as a person. You could literally just go back and look at tasks. But the other thing that you can do is you can have agents do this, which is what we do. And so for instance, let me see if I can find an interesting one. Like here's an interesting one, like redundant tests. So if you're working with, you know what I'm talking about here, it's like...
Oh, I know what you're talking about. Every PR I push, it's like I have run and set up 135 tests.
Exactly. [laughter] It's duh. It's like, and the reason it does this is because, you know, they're writing tests not to like prevent regressions necessarily, but also just like test behavior along the way. And so you end up with a bunch of tests that you don't need. And so we, you know, if you take the factory approach, you kind of know this might be a failure mode. And what you can do is you can write essentially a like a scorer that uses LLM as a judge to be like, okay, I want to go and look at, you know, all the agent runs, and I want to see how often we're, you know, an agent thinks, a different agent than the one that did the task thinks that there's redundant tests. Does this make sense?
And so you basically are like, okay, I'll pick a judge model. This is like a kind of medium smart judge model. You don't want it to be too expensive, otherwise you end up spending a lot of money on scoring. You have it classified in terms of like for this task, like how did it look? You pick like a sort of sampling rate in terms of how you want to do this, and then you get over time a set of runs where you can see that like sometimes this agent thinks that there were some like surplus tests. And so this is what I mean by like the real measurement. Then what you can do is like you can go and you can actually, you know, as a human, you can go and kind of look at what's happening here. But I'll show you there's also a better way to do this in the factory world where it's like you can actually use agents to sort of identify what's gone wrong in these runs and try to improve the factory. Does this make sense?
Yeah. I'm curious, do you do this on a per run basis or on an aggregate basis across a set of PRs?
Aggregate. Great question. So yeah, so what we do is like the scoring, and this I call like this thing we call this like the score. The scoring happens across all runs. But then there's a second loop, which is another like popular thing on Twitter right now called self-improvement, where you take an agent and you basically say, okay, for all of the failed runs, and you need like a real sample, like maybe 20, 25 failed runs. You need some significant sample size, otherwise it starts to overcorrect based on single things. You have it look, you have like an observer agent look, and it can then create updates to your factory that will try to prevent the particular failure mode. And so let's see if I can find one that's like, I don't know, this, I'm just literally picking a random one here, but this is finding some issue with our skills that are driving the factory. It's presenting evidence and it's saying, okay, we should change the definition of one of our factory agents in a particular way. And if you go under the hood and look at this, it's like it's changing this like step 10 of what our factory agent should do. Does this make sense?