CEOInterviews.AI
Start App
Get an email when Zach Lloyd gives a new interview
One email per new interview. Unsubscribe in one click.
Zach Lloyd
Founder & CEO, Warp

Zach Lloyd: Building a Self-Improving Software Factory

📅 Oct 13, 2026 The AI Conference™ 26 MIN 567 VIEWS 32 SEGMENTS · 3 SPEAKERS
Zach Lloyd presents “Building a self-improving software factory” at The AI Conference 2026. Interactive agents aren’t scaling. Every company is coping with runaway costs, lack of governance, and difficulty automating. This has led to the need for software factories: a closed-loop system for automating development, with primitives that provably improve throughput and efficiency over time. Right now, folks are trying to roll their own internal software factories from bare metal, solving the same problems 100 different ways. We need shared, flexible infrastructure that everyone can build upon. I...

Questions asked in this interview

2
  1. 23:57So, in large organizations where change is a little bit slow, yeah, what do you find to be the best way to like start this at an organization where like IDE coding is the norm?
  2. 25:02Is that already set in stone or like do you recommend, you know, fine-tune that?
Zach Lloyd 0:05 ↗
Okay. Um, excited to be here. Uh, that was a good intro. So, today I'm going to talk about software factories and factory infrastructure. Uh, before I get into that though, let me introduce myself quickly. So, I am Zach. Uh, I've been an engineer for quite a long time now.
Uh, I was a principal engineer at Google. I used to lead engineering on the Google Docs suite. Um, and most recently I am the founder and CEO of a company called Warp. Uh, Warp is in the agentic development space. We are probably best known for our terminal, so Warp terminal, which is a popular open-source agentic terminal. Uh, we have almost a million developers who regularly use it. Um, but our focus now is actually a little bit more on what I think of the next phase of agentic development, which is software factories. And so, we, uh, we're actively working on infrastructure for companies that want to build their own factory, and that's what I'm going to talk about, uh, today is like how to think about infrastructure for building your own factories.
To set context, uh, the way that, uh, I see the world is that, uh, development has changed a ton in the last few years. We've gone from writing code by hand to auto-complete to interactive coding agents like Copilot Code and Codex. And now we're entering the world of more automated development. Um, and the reason we're moving from this interactive paradigm of like prompt agents on your laptops to an automated world is that the the interactive agents have a few problems. So, one is just like you're not taking full advantage of what these agents can do if you're bottlenecked by a person always iteratively prompting them. So, that's one issue. A second issue that I hear all the time when I talk to engineering leaders and platform teams is just these interactive agents cost a lot and everyone wants to figure out a way to optimize how they're used. So, cost control and getting ROI. And then the third thing is really about um governance and control. So, in the current state uh when people are like installing these local coding agents, there's no unified way of of controlling them and making sure they're secure.
And so, the solution that the I think we're all kind of standardizing on is something called a cloud software factory. And this means different things to different people, but what it means to me is really like setting up an a an agent loop that runs in the cloud where humans and agents uh collaborate, but agents do more and more of the the work of the software life cycle. So, agents do triage, inspect, implement, they QA, they verify. And what you want to get to as a company is a version of this that uh you have running and you can start to tune.
Now, my thesis around this um is that you should think of software factories as infrastructure. So, you should think of them in a similar way you might think of CI, or you might think of like something you would run Terraform on, uh, where you're making an investment in the automation loop for your company. And I, I believe that infrastructure should be open, meaning like you should be able to use any model, any harness within this infrastructure. It should be composable and very flexible so that it can be made to work for your company's own workflows. And finally, it should be defined in code and I'm going to talk about why that matters.
Um, and I, by the way, I'm going to spend most of this session actually demoing what I think a factory workflow looks like. But just one more, one more concept introduce before I do that is, like, I think engineering what's going to happen in software engineering is that it's going to divide into two distinct roles. So, one role is traditional product engineering. This is uh engineers prompting agents to build features, fix bugs, do product work. But a second role that's going to become really important is spending time tuning your software factories. And I think of this as factory engineering. It's it's working on the system that uh you use to automate development.
So, I want to spend most of the time just like in the context of what I consider like a real factory workflow. Uh like I said, I'm going to demo this in the context of Warp Factories, which is our platform, but this is uh I think there are common lessons for anyone who wants to try to build a factory platform themselves. So, starting with how do you product builders work uh in the new factory world? So, the way that we're working, um I'm going to take a risk here and show you all my my company Slack. So, the way that we're working right now, and this is very different, is we're all working by and large in public spaces. So, in public knowledge work tools. This is a channel where folks on my team are tagging our factory to do work. Um so, they are still prompting to start work, but the prompting is happening in like a team space where they can tag other people in.
And most importantly, all of the prompting is going like into the factory. And so, what that means and I'll show this in a second when I get to the factory engineer point of view is that all of this work is tracked; it's visible, it's in the cloud, and it's, it's recording the traces so that you can start to improve it. Now, you can do this in Slack, you can do this um through your task tracker uh like linear or Jira. You can do this through your source code forge, through GitHub. You can do it even locally through an MCP. You can do it through API. And the way that um I'm seeing companies build factories and what I recommend is like make the factory accept work from anywhere. Um now, when work goes into the factory, and I'm going to pick a specific task here to show um it doesn't just go in and sort of like in a free-form way.
What we have set up and what I think uh you're you're going to want to do is we've set up a specific workflow where there's think of different agents doing different jobs around a particular task. And so, what I mean by that here is like Harry on our team has asked the agent to build something um with an agent. Um and instead of just like going and building that, what happens in the factory world, and I'll show you how we set this up, is first there's like an agent that does uh sort of deduplicating and triage, and opens up an issue for us. So, it's tied into our issue tracker. Then there's an agent that actually does the coding. Uh and if this was complicated, there would be a spec step, but this one isn't complicated. And that agent does its work in GitHub. Then there's an agent that does um QA-ing essentially. So, this is like computer use verification. And so, to show what that looks like in case you're not familiar, this is an actual computer use model using the feature that's been built and um actually like, you know, taking a video of it in action so that you can see what's been what's been going on. And then finally, this gets merged and goes through CI. So, this is just like a very simple factory task.
Now, I want to get to the what I think of the more interesting part cuz you've probably seen Slack agents. The more interesting part is what a factory engineer does. And so, remember, a factory engineer is someone who is trying to engineer the system of how work flows through when you move to this centralized all your development in the cloud. And so, as a factory engineer, the first thing you're going to do uh is you're going to set up what you think your workflow ought to be. And so, again, there's different ways of doing this. You could do this by setting up a sort of agent DAG, like meaning like a very rigid workflow. Um the approach that we take uh at Warp is more of an orchestrated workflow where we have what you can think of as like a foreman agent that takes work in and then starts to delegate to different agents that do different parts of the flow. So, the flow is like work comes into a foreman. That foreman says, "Okay, we're going to pass this to a triager." It goes back to the foreman. It's it's going to go to an implementation agent. It's going to go back to the foreman. It's going to go to a code review agent. It might go to a design agent. So, you you should think of what is the workflow that you typically want to do.
Now, a really big thing that I I recommend um is that you should think of this workflow as something that you actually code. Uh you define it in code. And the reason for defining the workflow in code is is a few things. So, the way that you want to think about factory engineering is you want to think about how do I get to a measurable improvable system. And if you want something that's measurable and improvable, you have to have some like way of specifying at a point in time what that system is. Uh and so, when you define your factory in code, you get the ability to like like, you know, you get all the the Git actions on it. So, you can branch off of it, you can test it. And what I mean by defining it in code just to again use the Warp Factory example, but you could do this different ways is like you're essentially (zoom this in a bit you're) specifying all of the repos that your agents have access to; you're specifying what secrets, what MCPs, what skills; you're specifying where those agents run. Uh and so you're giving a complete description of the system of automation at any one given time. So, think of it like if you're familiar with Terraform, this is kind of like Terraform for your software factories. And you can, you know, go and click in and see like how do these specific agents work? And the agent definitions themselves, there's nothing magical about them, they're markdown. Uh they're also defined in code.
Now, the other really cool thing when you're thinking about factory infrastructure that you get from defining your factory in code, is that coding agents are able to change the definition of the factory. So, this is where uh you start to get to a world of like, how do you improve your factory? Well, one of the the things that you can do that sets you up foundationally to do that, is have something that a coding agent can work on. And so, I'm going to show what that looks like in a second, but um you know, so far what I've tried to just like kind of show is like you have a workflow, you define it in code, everyone on your team should be submitting work through that same system.
Now, what do I mean, uh just to clarify, by everyone submitting work through the same system? So, I'm going to show this. This is again a a a view that you're going to want to get towards is like I can see on our team what everyone is doing with their coding agents at any given time. And so, this is like truly a live view. I can see where people are doing it. I can see the results um and like seeing it is very cool, but the other thing that's really, really cool about this is like now you're recording all of the things that your agents are doing. So, rather than having a situation where everyone is working in their own silo laptop using coding agents, all of a sudden you have all of these agent traces that are recorded and available for using for improvement.
So, so far I've talked about you want to record everything, you want to encode everything in code. The next thing that you want to think about is how do you measure? And so, the factory engineering mindset um is around like optimization and measurement and really trying to get to a spot where software development on your team, you're not just going off of vibes. You're you know, you're not just looking at like the latest on Twitter around like what model or what harness is best. You're actually testing on your own data different models, different harnesses and getting to a point where you have confidence that you're doing agentic development most efficiently.
And so, the types of metrics that you're going to want to look at are things like um we have this metric that we use called human interactions per PR. So, this is like a uh an indication of how automated your process is. So, you kind of want to bring this one down. You have more traditional Dora metrics. So, this is like cycle time, like how long from when you open a PR to when you ship it. Um what's your sort of throughput look like? You're going to want to have spend metrics. So, this is a really big deal when it comes to cost optimization. Um you want to know like what's it cost per PR? You want to know where am I spending money in the cycle? Like which users are spending the most money? What stage of the SDLC am I spending the most money on, what models?
And then finally, and I think this is like where things get very interesting, where you can go way beyond the traditional type of Dora metrics, is you can actually set up your factory so that you are evaluating how your different agents are doing along different dimensions. And so let me explain what I mean by that. So your agents run in a closed-loop factory like this, you're recording every single agent conversation. And so, that raw data if you go and look at it, like if you were to examine it just as a person you could be like, "Okay, what are the common mistakes that my agents are making, and how do I fix the underlying skills so they don't make those same mistakes?" Um but you don't have to do that manually. And what your factory, what you should do is set up an eval mechanism or a scoring mechanism. And so these are what we call scores.
Um there are some scores that are very generic, so just like code quality or verbosity, but you should also be thinking about, well, what are the scores that might be more specific to my company's workflow? And so just to pick one score to drill in a little bit on. So for folks using coding agents, um you've probably had situations where those coding agents will produce code, but they'll also do things that'll like write a bunch of redundant tests. Um this is because they write tests as they go to try to verify their own work. Um but you don't want to check those tests in and it's generally a waste of tokens when they do this. So what you're looking at here is a a scorer, which is think of an agent that runs, it looks at past runs and says, "Okay, how are we doing on writing redundant tests?" And for the most part we're doing fine, but every so often we find a coding agent trace where it did write redundant tests, right? So, you see some of them failing here. Um and, you know, what you want to figure out to do is how to take that information and then improve your software development process systematically so that you don't have these same failures.
So, again, just to drill in a little bit more, um the score itself, this redundant test score is is using LLM as a judge, which means like it's basically running another agent that looks at all of your other agents. Uh it is sampling some percentage and coming up with scores.
So, just to recap so far, we have factories as code, so that's foundational, so you know what your factory is doing. You have all of the data from all your factory runs stored someplace, and then you have metrics that are built on top of that. And so, what we're working towards here is like a full system for doing software development. So, now, once you have those three things in place, the question that you could ask is like, well, how do I use all of this to actually drive improvement?
And so, there's two things um that I recommend. So, one is what you can think of as self-improvement. So, the idea here is once you have a set of scored runs, you can add yet another lay-layer of agents. So, think of an agent that is looking uh doing what a human would do, look at those failures, and then trying to understand are there common patterns in those failures, and then suggesting changes to your factory definition based on that. So, to to just like drill in a little bit here, all of what we're looking at here is a set of suggested changes to the factory config that agents themselves are coming up with. And the way to sort of think about these is like in terms of the agent has identified some problem with how code is being built and it's suggested some solution and the actual format of this solution is a PR against the factory definition.
So this is where it's super cool that you have the factory in code and so just to look at this one just so we get what's going on. So this is this is a fix to the verbosity of our agents. Um and so you know, we've discovered that our agents are doing this narration in between tool calls that's unnecessary. It's wasting a bunch of tokens. The agent has produced evidence of this including like what runs specifically did this anti-pattern come up in and then it has suggested a change to the way the factory works to prompt our our implementation agent not to do this type of internal monologue narration. And so if I were to merge this then future factory runs would take this and would would hopefully avoid this failure mode around verbosity.
Now you you just you could get even more um fancier with this. You you could actually test to make sure that this works by AB testing something like that. But the general idea is like you have agents that look at the factory and agents suggest how they might improve.
Now there's one more thing that um I think is super cool. So that I think folks who are building for this factory world should strive for which is actually doing benchmarking on your own data. And so what I mean by that uh folks folks here probably familiar with like the idea of these public benchmarks. Anytime a new model launches like Gemini came out yesterday. Uh they they published a leaderboard of how they were doing on all these public benchmarks. They're at the top of it. But there's also there was like a bunch of tweets around this Gemini actually any good in real world use cases. And so, what actually matters when you're choosing what model to use is not so much the public benchmarks, it's how do these models do on your own factory, on your own context. And so, if you're taking an engineering approach to building your software factory, um what you want to be able to do is actually construct a benchmark from your own internal workflows and see how different models do on that.
And so, this is an example of uh an internal benchmark that we built um where you can see basically what this graph is showing is a trade-off between cost and correctness for different models running real world tasks that we had previously done. I'll I'll show you how we make one of these in a second, but like what this is essentially showing is that if we had used GLM 53 Flash, we would have got a kind of correctness score of around 93% at a cost of about $2. If we had used GPT 56 Soul, it would have been $6 and slightly more correct. And so, this line here is is like the Pareto curve, it's like the Pareto frontier uh for what you might want to choose. And so, you take this information and you can feed it back into model routing so that you actually have confidence that the routing that you're doing for all of your internal coding tasks is actually efficient.
And so, again, the idea here is like don't guess, don't pick a one-size-fits-all model routing solution. It's like you actually want to measure, test, improve, and get to a point where everyone on your team who is working with these factories is in this mindset of like, "Okay, part of my job as an engineer now is to like optimize this thing," which I think is is cool. Um and so to you know, to make one of these benchmarks, um just to make it clear what I mean by like you're doing it from real tasks, like basically you want the ability for any sort of prior factory thing that you've done to add it to a benchmark and then you want infrastructure so that you can replay these tasks with different configurations to measure how they would have done.
So, I know I'm running up against time here, um but just to summarize and I I hope this was interesting to people like the way to think about this, think of a stack, think of your factories as infrastructure. It's really core infrastructure cuz this is going to be what you're relying on as a software development organization to actually optimize building software over the next, I don't know how many years. The layers of the stack are are not that complicated. Like if you start with code that defines what your factory is, that's a great place. You need to be able to record all of the things your coding agents are doing and there's lots of ways of doing that. You want different You want this all running in the cloud is a key thing. So, you want some sandboxing solution. You want different inference, uh meaning like the ability to try open weight models, frontier models, and even different harnesses like pie or open code in addition to like cloud code. You really want a way of doing improvement. This is a key part of the mindset. You want some well-defined workflow that moves work through stages and then you want uh to ease this transition, you want people to be able to put work into the factory wherever that work is already happening. So, you really want lots of different access points. And so, this is how I think of it.
Um I do think, you know, just to summarize, I think we're moving to factories. I really think open, flexible, composable stack. And then part of the engineers job, and this will be part of the big cultural change that needs to happen, is this mindset of okay, I'm going to work in the factory, I'm going to tune the factory, I'm going to engineer the factory. And that's a fundamentally an engineering challenge. Um if you are interested in Warp Solution here, I'll leave this up. Uh but that's it for now. I hope this was helpful. And if if we have time for one or two questions, I'm happy to answer them. Do we or not?
Moderator 23:33 ↗
Hi Zach, thank you very much for the session. We have two minutes, probably one, maybe two quick quick questions. There's a question over there and she's going to run the mic over. And Excuse me. Okay. And then after that, the gentleman in the hat.
Audience Member 23:57 ↗
Uh this is fantastic. Thank you. So, in large organizations where change is a little bit slow, yeah, what do you find to be the best way to like start this at an organization where like IDE coding is the norm?

3 more exchanges in this transcript

Sign in free to read the rest of this interview. No card required.

Sign in to read the full transcript

Cite this transcript

APA, MLA, BibTeX
APA

Lloyd, Z. (2026, October 13). Zach Lloyd: Building a Self-Improving Software Factory [Interview transcript]. The AI Conference™. CEOInterviews.AI. https://ceointerviews.ai/interview/3194093/

MLA

Zach Lloyd. "Zach Lloyd: Building a Self-Improving Software Factory." The AI Conference™, 13 Oct. 2026. Transcript, CEOInterviews.AI, https://ceointerviews.ai/interview/3194093/.

BibTeX
@misc{lloyd2026_3194093,
  author       = {Zach Lloyd},
  title        = {Zach Lloyd: Building a Self-Improving Software Factory},
  howpublished = {Interview transcript, The AI Conference™. CEOInterviews.AI},
  year         = {2026},
  month        = {oct},
  url          = {https://ceointerviews.ai/interview/3194093/},
  note         = {Speaker-attributed transcript with timestamps}
}