And we are sort of like constitutional lawyers. We need to debug the constitution that Droid has that's making it always do this thing correctly. We are mechanics on like the software factory.
Hello everyone, and welcome to the Build System. We have a very, very exciting episode today. I'm very, very fortunate to be speaking with Eno, who is the CTO of Factory, one of the coolest coding agent systems and labs in the world today. And he's here with us to basically walk us through a build using Factory for an actual workflow. And so we're going to dive into what he's going to build. We're going to have him demo something really, really cool for us, show what he would actually do in the real world when he's actually using the tool. And so, very excited to have you here. Thank you.
Thanks for having me. I'm excited to build this. We can — I want to bounce a couple ideas off you, and then we can throw something into the Droids and see what it cooks up.
Amazing. Amazing. Yeah, so very excited about that. I think what we'll start with here, just for the folks tuning in, would love to just start by giving us a little bit of a background on yourself. Obviously your personal background, the background of Factory, you know, what's your guys' mission like? What are you guys trying to do in the world? And then we'll use that to go off into then what we're actually going to build.
Yeah, totally. Happy to jump into it. I think like the one-minute overview of myself: I started out — I was very interested in like cognition and neuroscience. Spent some time doing deep learning for fMRI data and EEG data. We all started to poke around with like transformer-based models, and it seemed pretty imminent that transformers would be quite interesting. So ended up actually going to Microsoft and then Hugging Face, and I think that getting to spend time working with transformer-based models in a couple different environments was super helpful. And at Hugging Face like they really went from LM to LLM, and the scale started to really move quite quickly. And was helping a bunch of these companies build coding models. Everyone wanted autocomplete, and ultimately it felt like there was sort of a missing gap between the way the world felt like it was going to go and what was available. I think Copilot actually is like one of the greatest inventions in recent history because it really set off this AI coding wave, but ultimately it was not sufficient. That sort of like autocomplete-style Copilot product was not sufficient to capture what a truly autonomous software organization would look like. And so at Factory, we set out almost three years ago now. And we said our mission is to bring autonomy to software engineering. Very concretely, we sort of now consider ourselves basically just an agent research lab that builds enterprise products. And so it's sort of a funny thing where we're balancing frontier research on one end, trying to understand what is possible — like what is clearly not possible today? What can we make possible soon? And the bet for us is that you do need an economic engine underneath of you in order to push that frontier. And you also need a set of customers or users of that research that are actually, one, like good faith and want the things you're doing, and two, critical though — like you want people who will not buy your thing if it doesn't work. You don't want people who are hobbyists or experimenters. You definitely do want them to try the thing and give you feedback, but fundamentally your core customer, you know, we believe needs to be serious large enterprise businesses, so that we can help really transform the way that they work and have the most direct impact. So that's sort of what we've done. And Droids is the name of our agents, and so that's what we'll be playing around with today. But the platform itself kind of goes — we have Droids, we have agent readiness tooling, which basically helps an org understand what agents could do, and agent effectiveness that sort of measures impact and ROI.
Yeah, that's all amazing. And I mean, you're an OG in the space when it comes to LM and LLM, and so that's personally —
I don't know if OG for LLMs, but definitely the coding agent space is quite nascent.
That's right, that's right. And I will say — maybe just a quick note here — a big fan of Factory. I mean, I point people to the agent readiness report all the time. I, you know, we'll link it afterwards, and no, no affiliation here. I just genuinely think it's an awesome tool. And maybe you could just spend like a minute or so telling us — you know, what I appreciate about the mission and maybe your hypothesis here a little bit is you're leaning heavily into the enterprise from the get-go, which is by design. Because if we think about maybe the first use case, it's all greenfield, it's all great Twitter demos and people — it's flashy going from zero to one on some, you know, on some web app. That's all fine. But really most of the software in the world is in the brownfield code bases locked away in enterprises, very, very large enterprises. And so the fact that you guys are leaning into that I think is a very fascinating approach, and I really think it's differentiated in its own way.
Yeah, totally. I think that there's almost like two dimensions to building an enterprise business, at least in this software development space. I can't speak on behalf of like all enterprise SaaS, but certainly the tricky thing is building a product that not only keeps up with but pushes sort of what even the consumer tools in the space are doing. You need to — there's certain concepts you need to make simpler or translate, and I think the funny thing is oftentimes that translation is actually better for everyone. Like sometimes the consumer tools are sort of iterating and maybe even like first to build a lot of different things, and so it feels like first mover advantage is actually not always the most valuable thing to do for our product. Sometimes we actually want to sort of take a step back and sort of watch things unfold and then refine ideas as they come about. And then the second thing is there's a huge part of it that I think is really underappreciated, mainly because I only talk about our product and the tech and, you know, engineering when I talk publicly. But if you listen to my co-founder Matan, he often talks about some of like the business aspect of really working and partnering with companies. I think that generally we see that coding agent companies want to sort of throw their product over the edge to customers. And our goal is to not just like give you the tooling but also try to become a little bit of like a trusted adviser as we collectively work through what this change is going to mean for humans, for organizations, for the types of software that we build. And I think that no one really has the right answer, but directionally our belief is like more humans should be involved in software, software should be more fun. And the barriers for organizations to build the things they want to build should be reduced. And so it feels like this should unfold pretty positively, and if it isn't, that's actually correctable or fixable.
That's amazing. I love that. I love that. And definitely on the fun piece, I mean, I think you're among the only, if maybe not the only, coding agent systems and labs that has actually made a whole name for your agent, right? The Droids, right? Which I think is very clever and it's fun. So I do love that. Well, awesome. You know, I would love to dive into the meat of what we're going to be talking about here, which is, you know, let's start by like what are we trying to build? And then at a certain point, we'll start screen sharing. We'll start walking through your workflow, we'll start kicking off some Droids to do things. Like tell us what we're thinking about.
Yeah, totally. So, what I was thinking about showing today is something called missions, which is basically — it's new and we're really excited about it. We've been using it a ton internally. And what it lets you do is it lets you — when you speak to Droid — maybe what I'll do is like I'll screen share and I'll quickly show someone interacting with a Droid. So for folks who haven't seen it, if you've ever used a terminal-based interface for an agent, we aren't trying to completely surprise you, so a lot of the interface should feel fairly familiar. But there is a way to basically enter into a mode or like a variant of using Droid that we call a mission, which basically in advance sets up a large set of features and validation criteria. And as it goes through we can actually like look into and explore some of the artifacts it creates in order to solve these problems. And basically it is a way of saying we have this larger order that could take on the order of, you know, hours, maybe even days. The longest mission for us ran for like 16 days straight. And you want to be able to go through and implement each of the features knowing that there's some validation criteria that has passed. And so by enforcing that validation loop, people are probably familiar with things like Ralph Wiggums and other tools to extend the runtime of an agent. We experimented with a bunch of different stuff and we can talk about it as we run through — basically what works, what doesn't. And a bunch of tips and tricks that you get sort of unexpectedly when you try to make this work in production.
I love it. I love it. Yeah, there's so much to unpack there. Show us Droids and show us how this leads into mission.
Yeah, let's do it. Can you see this on my screen?
Uh, yes, I can. Yeah, if you mind maybe zooming in a tad bit, that'd be great.
Yep, yep, yep. This is good. Okay, cool. Yeah, I mean, and I can actually — I'll increase the width here. I'm in a projects directory, and I was thinking that we would do something fun. Like we've been talking a lot about sort of our project management system, and what parts of it we like and how we might want to customize it further. And I don't necessarily think that we want to explicitly move to like something that we build internally, but right now we use Linear and we love it. But I think that one thing that we're interested in is sort of exploring the design space of these like tracking and management systems. So I was thinking we would create a project. We can call it, you know, Arrow or something like that. I guess arrows are pretty linear. And I'm just going to open Droid. And so I just type droid. Here you can see our interface. You'll see that there's a couple things that are already instrumented. I'm in high autonomy right now. That's because I'm in a sandbox, so this is fairly safe inside my MacBook. I'm actually going to switch the model because we have a need for speed. You can see Droid is actually model agnostic. This is probably our main claim to fame here is you can use Opus, you can use Sonnet, GPT-5.3 Codex, you can use what we call the Droid Core models, which are basically open-source models hosted in the US. Kimi in particular is really good. And then we also have a bunch of other models that you can pick from. I'm going to go here into fast mode. And what I'm going to do is I'm just going to start explaining. I'm actually just going to enter the mission right away.
So, I'm going to type in slash enter mission. Now, I'm in mission mode. And let me see if I can actually — I'm realizing when I'm in mission mode, I can also select models for different workers or sort of like agents that are managed inside of a mission. I'll get to this in a bit, but what the orchestrator model is, the main model you interact with. So I'm going to actually make this one Opus 4.6 Fast, which is going to be a little expensive, but I'm willing to do it. And basically what I want to do now is I want to start explaining to Droid. And so I think you might learn a bit about my prompting style here, but I'm going to start saying, 'Hey, I'd like to build a project management system, vaguely inspired by Linear but specific to Factory. You can use our product management skill to get a bunch of info about us.' I actually went on a podcast with Peter Yang a bit ago and talked about this product management skill, but it references in our Notion tons of like sort of critical product information about Factory. It references our mission, our values, our product positioning, all this stuff that has been pre-written. And so instead of me trying to explain Factory a bunch of times, or putting it in agents.mmd where it's sort of up to me to update or up to the code to update, our Notion is live and our whole company can touch. So we like using that as like a source of truth.
And this is like a — this is like an agent skills, like a skills.md that you're feeding here, yeah?
Exactly. And I think you'll see the skill get triggered in a bit. But what I'll say is, hey, you can use our product management skill. You know, like what even is going to be different about this system. I think one thing that we've been thinking a lot about is attribution in the product engineering system. It feels today like tickets and PRs and signals coming from, you know, signals e.g. alerts, customer feedback that spawned those work items are all connected, but right now our data models and systems don't account for that. So attribution requires glue, an external system. And basically all I'm saying here is, maybe it's a little weirdly put, but basically if you know you have tickets, you have pull requests, you have all these customer feedback, errors from Sentry, and it feels like all these things are all connected, right? Like there's code. What if I could ask questions like why did we ship this feature, or if this feature is breaking, what customers would be upset about it, right? I feel like there's sort of like a missing data model there. I'm not 100% sure exactly what that data model should be. We should work on it. But most of this app I feel should be idiomatic, match patterns from common project management systems. Ideally, this would mean migrating from one to this wouldn't be a pain. Lastly, most important, I'd like to see an MVP of this before we add any heavy features, so I can tweak the design system before we implement all the nice-to-haves. P1s. Anything else you want to see in this?
This is great. Yeah, I suspect this is going to be hosted in some — is this localhost or is it going to be like on a — how far are we going to get along in the POC? Like what should we expect there?
No, that's a good question. Normally, I would actually let this thing decide and ask me that question. But maybe what I'll say is — this will definitely trigger it to ask a question, but I'm just going to say, 'In terms of stack, I'm primarily agnostic, but you know we are a Next.js Vercel shop, so wouldn't be crazy to keep that.'
Well, the orchestrator now — the orchestrator is — you're giving it a very high level, very, you know, honestly colloquial almost sounding set of specs.
Yeah, exactly. Because really what's going to happen here — and here you can see this happening. So first it invoked two built-in skills: mission planning and defining mission skills. And so then it — fast is fast. So then it invoked the product management skill. This is the one that I told it to invoke, right? So the product management skill contains info about us. And here you can see all this stuff: product principles, core value prop, how we build at Factory, our product research bets. It's checking on my environment to see how things are. What computer do I have? How much memory do I have? Now it's got this understanding: Factory is an AI-powered platform, first-class attribution, and so it's going to start chatting with me: 'What's the target user base for this?' See, this is a good question. Is this for us or is this for our customers? Look, I think this is just for us. I'm not trying to build this as a product, so let's say internal. 'For the attribution model, what kind of signals do you want to track as the origin of the work?' I'm thinking Sentry, customer feedback, GitHub, internal incidents, metrics, regressions. Droid, you're reading my mind. 'Should we start with a flexible signal abstraction?' Yeah, let's do flexible.
Yeah, I think so. I maybe would want to be opinionated here, but it seems like I even don't know whether these things would be helpful. So a very basic one is probably better to start. Kanban, list, attribution chain. Yeah, it feels to me like it's not crazy to say the MVP should have the issues and the attribution. Well, the board view is pretty nice too, and I can't imagine that's that much extra work. So I'm just going to ask it to do that, too. 'For data persistence, Docker isn't running. Should we use SQLite?' I like that. Yeah, let's use SQLite. No need for heavy infra on this yet.
It's a POC, right? It's a POC. So like we're just trying to get something out there quickly, and then we can iterate on it a little bit once there's something visual, probably.
Exactly. And what I like about the — so missions go a little bit more in depth. You'll see it's actually not stopping on the questions. And I think that this is good because clearly what I gave it is — a senior engineer would look at me and be like, okay, I mean, great, let's do it, but like, do you have the spec? And so that's sort of actually what we're trying to elucidate here. So Linear has this, and, you know, it's a language model, so obviously it understands things like Linear, and it knows about our pod structure. So this is cool because it used that product management skill. It actually knows about our company and how we've organized our product engineering teams. And so: 'I like pods as teams with project issues, project initiatives.' Actually, I'm going to keep it a flat list per team, because it feels to me like projects are just sort of like sub items. You know, parent and child sub tickets. 'For issue metadata beyond the standard, what fields matter to you?'
Let's do standard. And I don't think we need the full parity yet in the POC. And I like linear-inspired because I think that'll be good. Signal, issue, PR. We'll skip the deploy because I'd imagine that probably adds a little bit more complexity that's unnecessary. Cool.
So, what it's going to do is it's now going to propose milestones. And the milestones inside of a mission sort of represent the like check-in points and validation points inside. So it's constantly validating each individual feature it works on. But in particular, the milestone contains heavier validation as sort of a, hey, we've hit like a checkpoint. If things are not working, it means that one of the feature implementations, although it was validated individually, likely either a) wasn't implemented correctly or b) broke some of the other stuff that we expect. And so I do think it makes sense to do the MVP with a walking skeleton, issue management, attribution, and then team views. Yeah, I mean, yeah, that seems reasonable to me. Nice. And it listened to me.
So, so one question that I have here while it's doing a little bit of work, although it's going to probably blaze through this quickly, is — so by some, you know, planning mode, something that exists if you use the Claude CLI or a lot of coding agent harnesses, and this seems like effectively like a planning mode on steroids. Can you talk us through a little bit like what's the difference? Where does this spike higher versus like just doing slash plan if I were looking at, you know, implementing something similar?
Yeah, totally. And I think that you'll start to see it in what the artifacts that it creates actually are. Like we actually also have — I can pop open a new tab, and you'll see that we have like a concept of spec mode that I can cycle to. And spec mode is basically when you build a specification iteratively. And so we don't call it plan mode, because I mean, I think that what you should create is not how the agent should do something but what it should build. So that's more spec than plan. But you can actually enter into spec mode in an agent and do the like — and that's much more close to like what Claude calls plan mode, and Cursor as well, where you sort of back and forth, you iterate, it asks you some questions and it builds a spec and then it implements. And so for that it's going to build a specification and then it's going to immediately go into execution inside of that thread.
What you're going to see here as this works is that first of all, it makes much heavier use of sub agents. That's sort of what's happening here. These are workers. If I actually hit Control-O, you can view the full thread of like what is being shared with these workers.
So you can see this worker was prompted: goal — run this validation dry run. Context: we're going to build this. Check if these tools are installed. Verify what ports are available. Check that the DBs are here.
Love that. This is great. And what's crazy is this is actually building a little micro MVP before we even start the task. And the goal of that is to say, let me actually make sure that like the bones of this project are doable. Maybe I'm going to bump into some issue where the user wants me to do this or that. Or like, this is especially cool — it's actually checking if tooling to QA, like browsing, interacting with the browser, etc., is available.
And so I think that the big difference here is basically just the complexity and the level of depth. And then you'll see it once we actually greenlight, but it's going to create a features list, which is in many ways like a spec, but it's very structured. So it's a JSON blob, but it's also going to create skills, reusable skills for the individual tasks. And actually you can see it here, right? It's going to plan, test, do a dry run, create what we call a mission proposal, which is like a spec but very detailed, and then it's going to design worker skills that it thinks are going to be necessary to actually execute on this. And I'll get to that in a second when I talk about execution. But these are sort of the main things, right? It creates this validation contract, which is this huge list of validation criteria.
I already mentioned features. It is going to create an agents.mmd that explains the project that maps through everything that it's doing. If your project already has one, it won't recreate it. But in this case, it's like a greenfield. And then it's going to create a services.yaml and an init script so that it can repeatedly initialize the dev environment if it ever gets dirty. And a services.yaml helps map out like how do I run critical things like run test, run lint, run type check. So really what you can think of this as like a heavy-duty map for an agent to be able to QA and validate every aspect of work that it's going to do.
Normally in spec mode I think people have an expectation that within like three to five minutes they will get a working response. And in this case, what you're going to see is that it actually is happy to continue working for quite a while. In this case, it's looking at Drizzle. It's looking at docs for Next.js app router. It went ahead and found the Tailwind and the ShadCN documentation. And it's actually going in here and doing internet research, making sure that it's using the most up-to-date versions of the libraries. Now it's done with its research. It's going to propose the mission.
Arrow, the Factory project management system. And so we'll see here.
One of the things — there's like so much to unpack here. So much complexity, but fascinating stuff. You know, you mentioned skills as well. I'd love to see some of the skills that you have, both maybe the ones that you had originally set up, like, cause I think that's a big question for people these days. It's like a relatively new standard, skills, right? I mean, it's maybe only been around like one to two months, maybe announced three months ago or so. So people are like still generally confused about skills versus MCP versus tool, you know, like how does it all tie together? And maybe if you could provide some guidance there.
Yeah, absolutely. I'm going to let this start cooking. Normally you can actually click here to open the mission and like edit it in VS Code if you'd like to, or like your preferred editor. But in this case, honestly, I trust Droid. I'm going to let it cook. I would nine times out of 10 probably have at least one comment if this were working in our own codebase, but in greenfield, I'm more willing to say go ahead and work. So I think it's a good question. While this actually goes through and builds, I can — well, actually, rather than doing it here, maybe I should just do it in a clean one. So I have a bunch of different skills that I use on the daily. There's, uh—
Are you — I'm not sure. Are you screen sharing?
Oh. Oh, I see. Um, I guess I can only share one at a time. Maybe give me one second while I switch.
Yeah.
Well, that's interesting that it doesn't let you.
This is a weird Mac OS quirk. Okay, so here we go. So I have a bunch of different skills that I use all the time. Writing Factory blog posts is one that just has a bunch of styling charts. Visual design — this has the Nano Banana CLI and a bunch of other nice things to create images. Human writing helps make the voice sound more human. Machine control is a CLI that I just built within — actually, with a mission. And it basically gives you control over the Mac, so it can click. It's computer control. It lets you access the iMessage, etc. I generally avoid using it, but it's interesting. Browser navigation — this is like a test skill. And then skill creation, which helps making skills, product management, and front-end design. So these are the ones that I use. I find them to be helpful.
But generally I think that what we're trying to do is we're trying to — with our recommendations — first of all, if there's any workflows in particular that you do, we feel skills is a great way to encode a workflow so that the agent sticks to doing sort of the work it needs to do. But I think that we're also trying to build in the most common skills. Like we can see based on volume of users what types of skills are getting invoked most frequently, and it tends to be things like browser use is a huge one. We've now packaged that natively. I think that there's sometimes a lot of skills around things like Remotion for videos, and there's skills for sort of doing basically like spec mode and missions. And so I think that a lot of what skills add are targeted ways to like load in docs and context. But generally the ones that I keep on me are ones that have like examples or references of good inside of them. So like the front-end design just has examples of good, so that when it works I'm able to sort of point out and say, yeah, no, this is what I mean, like quality looks like. And so in terms of creating them, that's generally what I recommend. But what we've done in missions is we've said skills: two things — references or workflows that sort of ensure the agent stays on a specific path.
And so what a mission does is it creates effectively workflows of how to build a, let's say, front-end feature or how to build a backend feature or something like that. And by doing that, when the agent starts to work and it's one of the workers, right, it picks up the skill and it does what the skill says, right? But if it hits an issue like, 'Oh, I actually can't run our backend without spinning up Docker first,' right? It's going to edit that skill and say, 'Oh, warning. Actually, you need to open Docker first, and then you can go in and do this.' Normally, what I would say is that doesn't necessarily matter that much. A user is going to be piloting. They're going to say, 'Hey, do this thing.' And eventually, if it's annoying enough for enough users at your company or your team, someone will put it in like the agents.mmd. But for a mission, you might be working, you know, 30, 40, 50 tasks continuously. And so if that compounds over every single issue, it's just sort of devastating for the mission. And so the mission inherently needs to implement some form of continuous learning where it learns what the pitfalls are, how things break, what can and can't work inside your codebase, and then it updates that in skills. So the more you actually run missions in your codebase, it starts to refine all of these specific workflows that exist inside your company. And that's been super cool to see.
This is fascinating. Can we unpack this a little bit? So is this handled by the orchestrator that does the refining, or is it the sub agent that's sort of flagging that it got stuck? Or maybe there's some bidirectional communication happening there. And then are these localized to the mission, or do they become maybe skills that are then imported by other or maybe adapted by other future missions as well?
Yeah, totally. This is actually handled primarily by the workers themselves. So when they hit these issues, they'll correct their own skill. And the orchestrator though has sort of a global view. It sees the work result of everything. And then when it comes to the — excuse me — whether or not they're local to the mission, they are put in like the .factory folder. And so all agents that in the future run on this codebase, if you choose to commit and push these skills, benefit from the workflow. I'm just going to take a look and see what this agent is doing up here. It's drafting a validation contract. Nice. Okay. I don't really know what this agent is doing. This is like a UI thing that I feel like we should probably get better at is communicating more clearly what a sub agent is doing. I'm just going to kill it though.
I like the feature though of you being able to see the prompt that's sent off to the sub agents. I feel like that's something that's always missing when I use sub agents in like Claude or something like that. It's all relatively abstracted away in a way that maybe is meant for user friendliness, but in practice if something goes wrong, you just don't even know what kind of a command was given.