← All transcripts

Engineer Your Coding Agents Like Any Other System — Zach Lloyd, Warp Transcript, AI Summary & Key Points

AI Engineer · 3 days ago · Science & Technology · 18:31 · EN

Watch on YouTube

AI Summary

Warp founder and CEO Zach Lloyd, formerly a principal engineer and Google Docs engineering lead at Google, argues that coding agents are a new engineering primitive and should be engineered like any other system. Local, interactively-prompted agents cap throughput at human speed and make cost, security and governance hard to manage. He defines a software factory as a code-defined, closed-loop system for continuously measuring and improving cloud coding agents, and walks through the infrastructure stack: factories as code, recorded agent runs, sandboxed compute, swappable models and harnesses, and orchestration, all API and MCP first and integrated with Slack, Linear, Jira and GitHub. A live demo of Warp factories shows a Google Docs-style live view of every agent run, throughput and cost metrics, online evals (including one that catches redundant test writing), self-improvement delivered as PRs against the factory definition, and benchmarks replayed on your own data. Warp has used these tools to drastically improve throughput and lower cost; its open source agentic terminal has about 65,000 GitHub stars and nearly a million developers.

Key Points

  • Most developers still run coding agents locally with interactive prompting, which limits output to human throughput and makes cost, security and governance hard to manage.
  • A software factory is not a loose set of automations, a collection of AI teammates, a shared set of skills and MCPs, or personal agent swarms — those are useful primitives but not the end state.
  • A software factory is a code-defined closed loop system for continuously measuring and improving cloud coding agents.
  • Factories as code: encode agents, triggers, workflows, MCPs and compute in a declarative Terraform-style language, which enables branching, rollback and agent-suggested self-improvement.
  • Record everything agents produce — conversations, artifacts, videos, screenshots — as the raw material for improving the factory.
  • The infrastructure stack: factories as code, a data and context layer, sandboxed multi-platform compute, an inference layer supporting multiple models and harnesses (Claude Code, Codex, Warp, or a custom harness), orchestration, and an API/MCP-first surface integrating Slack, Linear, Jira and GitHub.
  • New factory-engineering tools to master: evals, self-improvement loops, benchmarks, and A/B testing the factory.
  • Warp uses a Google Docs-style live view to see every coding agent run across the team in real time, e.g. an agent implementing Opus 55 on the high plan, triggered from Slack.

Business ideas

A code-defined, closed-loop system that runs coding agents in the cloud at scale, continuously records their runs, measures quality and cost, and improves itself — with agents themselves proposing fixes to the factory as pull requests. The pitch: stop running agents locally with interactive prompting, and instead engineer a system around agents as a new engineering primitive.

For
Engineering platform teams and companies running many developers with coding agents.
Solves
Local, individually-prompted agents cap throughput at human speed, make cost and productivity unmanageable, and create security and governance problems when every developer picks their own setup, models and skills.
  • Warp's own team uses this system internally, claiming drastically improved throughput and lower cost from constant scoring, benchmarking and factory testing.
🔒  Build steps and tools for 1 idea. Unlock

Tools & resources

3 items

Links mentioned

🔒 Full analysis locked

Unlock more videos and the full analysis

A credit unlocks one video's full analysis for good — the build steps, the tools and how each was used, the methods behind every use case. Pro opens the whole library instead, and raises how many videos you can analyse a day.

Unlock full analysis — free

Transcript

Searchable transcript of Engineer Your Coding Agents Like Any Other System — Zach Lloyd, Warp — AI Engineer (18:31). Search for a phrase, then click its timestamp to jump straight to that moment in the video.

Captions sourced from the original video on YouTube, published by AI Engineer. The video, its captions and all related intellectual property remain the property of their respective owners; AINotes claims no ownership. Provided for research, accessibility and search — see the Transcript Notice and Copyright Policy.

00:01 [music] >> All right. Hi everyone. Uh excited to be here and today I'm going to chat about the evolution of software factoring software engineering and how it's becoming factory engineering. So excited to do this. First, a little bit about me. Uh I've been an engineer for a long time. I was a principal engineer at Google. I used to lead engineering on the Google Docs suite.

00:33 Uh helped scale that product to hundreds of millions of users. I'm currently the founder and CEO of Warp. Uh Warp builds a platform uh for companies to build their own internal software factories. I'm going to show a little bit of that today. Um Warp is also well known for our open source agentic terminal. Has about 65,000 GitHub stars. Uh it's used by almost a million developers.

01:00 Our mission has always been helping developers ship better software more quickly and it's it's it's cool to evolve what we're doing as the world changes around us. Um this is where I think we're still mostly at. Uh most developers that I talk to, most platform teams um they they're working with individuals who are running their own coding agents locally.

01:22 Maybe they're running uh multiple of them at a time. Uh it could be through their terminal. It could be through an agentic development environment. Um just show of hands quickly actually. How many people in here are mostly working in this fashion, local multi-threading? Okay, so still still most people but actually not everyone. Um I think that this is going to change and it's starting to change already.

01:47 Uh the the reasons are there's a few of them. So one is like if you are doing local interactive prompting as your main way of working with coding agents um you're kind limited by you know, human throughput really. Like you cannot automate if every agent needs to be interactively prompted. There's a second reason too that I hear a lot from platform teams and from you know, engineering leaders.

02:16 This mechanism of like everyone choosing their own local setup, their own models, their own skills, it makes it very hard to actually make sure that you're using these agents efficiently from like a cost perspective and a productivity perspective. And then finally there's like a you know, big security problem and governance problem when everyone is setting up and running their own local agents.

02:38 And so the thing that is coming I loosely call a software factory that means different things to different people. I would I'm curious for people in this room like how many folks are currently trying to build or building or using their own internal software factories? Show of hands. Guys, so I would say that's almost more than the interactive agents at this point.

03:01 That's super cool. So I'm going to define what I think of as a software factory, but I'll start by saying what I think a software factory is not. I think it's not just a loose set of automations. I don't think of a software factory as a collection of AI teammates. I don't think it's a shared set of skills and MCPs and I also don't think software factories are personal agent swarms.

03:29 I think these are all useful primitives, but they're not the end state that we should be shooting for. And so to me, the way that I define software factory is very specific. And I'll unpack this, but I define it as a code-defined closed loop system for continuously measuring and improving cloud coding agents. That's a mouthful, but let me unpack it.

03:56 So if you want to build a software factory and really scale it, I believe the first thing you to do is fully encode it in a declarative language. So you need to say, okay, these are all of the coding agents that I want to run. These are how they're triggered. When work comes into this factory, this is the workflow from issue, you know, from triage to spec, whatever your workflow is, you need to specify what MCPs are available, where your agents run.

04:23 Really as much as you can in a Terraform style declarative uh you know set of code files that define your factory. I'll talk about why this matters in a bit. The second part of it is a continuous closed loop of improvement. And that closed loop can look something like this. This is the typical one. This is just really the SDLC uh where you have ideas that come in from people.

04:48 Um uh they could come in from automated signals and then your agents do some amount of work um taking that issue through various stages from triage to implementation, verification, monitoring and so on. The important piece here is really this closed loop concept where the more that your agents run, the more efficient you can make this loop. And I'll talk about how you do that in a second.

05:17 The third really key aspect if you're building a software factory is that everything needs to be measurable. Um if if you're just going on vibes in terms of how you deploy coding agents, you can't be confident that you're actually um getting the best highest quality outputs the at the best cost. You can't be confident you're maximizing throughput. So you really need a a measurement mindset and measurement capabilities.

05:42 And so if there's one thing that I'm hoping people walk away from this talk with, it's the idea that the way to work with coding agents and the way to think about them is that there there's a really cool fundamental new engineering problem which is how do you take this magic new primitive that we all have that we've gotten the last year. You have these intelligent agents, and how do you engineer a system around them to use them most effectively?

06:13 To me, it's not about like growing a garden or following a recipe. We're all engineers. We've spent our careers learning how to solve problems from an engineering mindset. And when you think of coding agents as a new engineering primitive, then you naturally want to you'll you'll naturally start to build a certain way of using them. That's the mindset.

06:37 So yeah, just to unpack that a bit, so there's continual measurement and continual learning, but there's also a new set of tools. And so when I was learning how to become a better engineer at Google, um you know, I really had to get good at using things like debuggers and profilers and Chrome DevTools and basically there are all of these tools of the trade for building software by hand that maybe are not as important now, but they really separated the the best engineers from the okay engineers.

07:10 And in the new world of factory engineering, there's a new set of tools that everyone should be trying to to master. And so those are things like evals. It's can you set up self-improvement loops that work? Can you write benchmarks? Can you AB test your factory? And that's a really important skill set and that mastering that skill set is something that I I think of as like factory engineering.

07:38 Now, that doesn't mean that that's the only kind of engineering you're going to be doing. You're still going to be doing product engineering, meaning you as an engineer should still feel responsible for, you know, does the product you ship actually solve a real user or customer problem? But the best engineers, and I would say like every engineer really is going to need to learn this new tool set of how do you improve the system, not just build the product.

08:07 And so what does that like? Uh, if you think from first principles about how do you engineer an agentic system, I think you come up with something like this. Doesn't have to be exactly this, but uh, it's kind of an infrastructure stack that uh, that you're going to want to use to engineer your agents. And so, at the bottom of this is what I call factories as code.

08:26 I talked about this earlier. It's defining all of your coding agent workflows in a in a code format. And the value of that is that you get the ability to branch off it and test different factory configurations. You can roll back. And then, crucially, it opens up the way for self-improvement, which is the ability for coding agents themselves to suggest changes to how your factory works to get that continual loop going.

08:56 Above that is a layer of data and context. This is also crucial. So, if you are running coding agents at scale in an organization, you really must be recording every everything that those agents are producing. So, all of their conversations, all of their artifacts, the videos that they make, the screenshots. Uh, and the reason for doing that is that's the raw material that you will use to improve the way your factory works over time.

09:25 On top of that is a compute layer. Um, so you need to have sandboxing. Uh, sandboxing increases security. It makes your factory more repeatable. Your sandboxing should be probably multi-platform. On top of that is the inference layer. The way that I would think about inference and models in a factory is they are a degree of freedom to test. And so, your factory, however you build it, should support multiple models.

09:52 Um, it should also support multiple coding agents because you know, Claude Code might be better for some things. Codex, Py, Warp. These harnesses all have different properties. You might want to write your own coding agent harness that has some of your organizational context baked in. So, So platform should support that. On top of that, you need an orchestration layer.

10:11 So this is what actually moves work through the factory. In some ways, the least interesting part, but you need that. And then finally, your factory should be all API and MCP first, so that it can be used not just by uh, you know, people, but can be used by other coding agents. And it can go to where the work is being done. So your factory should integrate into things like Slack, Linear, Jira, GitHub, and so on.

10:40 I'm going to give a quick demo of what some of these tools look like in the context of Warp factories. But this stuff I'm going to show I think applies also if you're building your own. So let me start here. So the at the foundation, I mentioned earlier, is factories in code. And so I'm going to show some code. It's not going to be that interesting, but if you're familiar with something like Terraform, you will get what's going on here.

11:09 You basically want a declarative way of saying this is my factory. My factory uh has certain policies, it accesses certain repos, it has certain triggers, it has a sort of blueprint that defines the workflow of work going through it. And then if you zoom out, all of these other things that are part of the factory also have code definitions. The second thing, moving up a layer is um the idea that uh uh sorry, that everything that you do in the factory um should be tracked across your entire team.

11:49 And so this think of think of what I'm showing here is this is a sort of Google Docs style live view of what every coding agent on Warp's team across all of our engineers are doing at all times. And so I could click in and I could see, okay, I don't know what Maggie is working on, but I know I could look at it. She's implementing Opus 55 on the high plan.

12:13 She's doing it from Slack. It has this artifact. I could look in and see the actual conversation here. I could see what it's generated. And so I could see this in real time, which is cool. But the really important thing is that you gather all this information so that it can be used for um improving the factory. And so that brings me to the third, you know, the third thing moving up the stack here is once you have all of this information that's being stored centrally, you get the ability very easily uh without doing any

12:42 like install stuff on everybody's laptop, anything like that, to to understand how these coding agents are working. And you can think of that in terms of like traditional output metrics, like your DORA metrics, like okay, cycle time. But you can also think of that in terms of like how automated am I? Like how many human interactions per PR? What's your throughput?

13:06 You get um you should be able to see data very clearly here on like what's your cost? Again, surfacing this if you if you don't have this data, you you're kind of flying Uh-oh. Uh you're kind of flying blind. Um so this is really important. And then there's this uh next layer of data, which is also really important that I mentioned earlier, which is the ability to set up online evals that run across all your coding agent sessions.

13:32 And so what I mean by this, an eval is just like as these coding agent sessions are running and they're recording their output, you want uh the ability to to go back and have another agent look at them and score them on some dimension that might indicate how well they're doing. And to make that more concrete, so it's like we have an eval, a score here that we use that is looking for redundant tests.

13:58 This is a good example. And so one common failure mode of coding agents is that sometimes they will write tests that are unnecessary. We want to catch that, and that's what this eval does. We want the ability then to see, okay, when it's writing too many tests, why is it doing that? And is there a mechanism that we could change in the factory for improving that?

14:23 And so again, just to kind of recap here, uh you want a way of recording all the runs. When these runs run, I didn't show this, but all of the runs are you know, you want the a way of specifying um what is the sort of like actual loop that they're running through. You want to be able to see where they are in that loop. As the runs uh work, you want to be able to gather their data.

14:47 Once you gather their data, you want to be able to set up these online evals. And then these online evals give you a sense of like, okay, where are their opportunities for improvement. Once you have that in place, you can do something that we call self-improvement, which is rather than having humans look at the outputs of these scores, you have agents look at the output.

15:08 And so the way to think about self-improvement is like it looks at the score output. It says, okay, we saw some number of failed runs. Um let's try to look for patterns in those failures and suggest a possible solution. And then the form that that solution takes is uh as a PR against your factory definition. And so this is like the awesome thing about having your factory defined as code and being able to use coding agents is that you can then have the coding agents diagnose problems with how they're working internally

15:46 and suggest fixes to them. The final tool that I'm going to point out that I mentioned earlier is the ability to create and run benchmarks. This is also essential. So if you're following discourse online, you'll often see things like, okay, this is the best model, this is the new best skill, this is the best harness. The only way to answer those questions for real is to test on your own data.

16:09 And so you should have in place some mechanism where you you basically create a benchmark set out of your real data, um and then uh replay those tasks. Oops, I'm on the wrong one here. And replay those tasks against different configurations to see how they would have done if you had varied some model or varied some harness or varied your factory configuration.

16:37 So just to make this clearer, this is something that looks like what you might get uh when uh a new model drops, like in Sweebench or Terminal Bench. It's showing the trade-offs of different models here in terms of cost and quality. You want to be in this upper left-hand quadrant, but it's on your own actual data. And you can you can test not just models, but also you want to be able to test, hey, if I got rid of these skills, does my factory perform better or worse?

17:10 So these are some of the tools. Um and just to return to this big concept, like this has worked well for us. We have managed to use these tools to drastically improve our throughput and lower our cost. We we are just constantly doing this cuz this cost really matters to us where we're getting a performance baseline, we're scoring, we're benchmarking, we're testing, and we're doing factory engineering.

17:37 And so that brings me back to this last point that I just want to emphasize again. Engineer your agents. It's a new engineering primitive. We're all engineers. Think about how you can get the most out of them and build the system for that. I think this is very exciting. Um I know there's a lot of like angst around what it means to be an engineer right now.

17:59 I know we're not writing code, but I'm still using all the engineering skills that I spent my whole career learning. And so to me, it's still a really exciting time. Uh if you're interested in more factories, you can check it out here. Thank you all for coming to the talk.