← Back
AI Engineer November 26, 2026 18m

Stop Building Software Factories — Justin McCarthy, Diffusion

Read full transcript 15 segments
  1. [music] >> All right, my name is Justin McCarthy. I'm the founder and CEO at Diffusion, and we are diffusing the capabilities of the model into the global economy. Uh it's a big place out there. There's $100 trillion of it. There's 8 billion of us, so there's a lot to do. Um uh and that's that's what we're doing. And one way we're doing it is by building software factories. Um this talk actually, you know, uh I don't I I guess it's got the factory thing in the name. Um uh this it's not going to be super technical. There's a QR code at the end that is going to have some technical stuff for you, so I would encourage you to pick up or have your agents pick things up. Uh I'm sending a lot of dual channel messages these days where I say the human stuff up here, and then I attach something for the agent down there. So that's kind of this presentation. I'm going to say human things to you, and then your agents are going to pick up the agent channel stuff at the end.

  2. Um okay. So uh so this started for me uh in July of last year. Uh we were on the Claude 4 series of models, and um you know, I had the privilege of being able to dive very, very deep um uh and really ask what happens uh when you begin looping these things. Um so that uh was the story of the beginning of the software factory that I built um together with uh the team. And I'll say that, you know, even on the 4 series of models, uh even as we were awaiting GPT-5 and the initial Codex harness, um you know, even then we could see glimmers that this thing was going to work, but at tremendous token expense and only in the presence of a real Rube Goldberg contraption. Okay? So only when the loops were very duct taped together um and and very sort of um hand crafted uh would you be able to see these glimmers of some kind of an output that would stabilize the input that would lead to the kinds of reliability um that we would ultimately okay? So I'll just say that feeling um if you judge from the number of software factory talks that have been present here um at the conference, that feeling um I think is what we know now as software factories and it's sort of accepted in the zeitgeist that at least some part of this um just kind of happens now and it requires substantially less of our creativity and input to achieve.

  3. So that's of course the time for me to say please stop building software factories, right? Um so uh so I and I and I'm I'm you know obviously you know a little bit tongue in cheek here but um but also serious uh uh I think you really should stop uh subjecting your ideas and your ambitions and your goals uh to a factory process um you know because most of the time we don't know what we want or at least a lot of the time we're creating something new we don't yet know what we want. And if we're trying to industrialize something where we don't know what we want um uh we're certainly we're not going to get the right thing or we're going to take too long or we're going to spend too much um we're going to have all it's going to be sad in multiple ways, okay? Um so what I would say is uh let's begin to use some discernment about whether we're discovering product market fit, we're breaking new ground, we're conquering new territory, or whether we are doing something that you know already has a precedent and is already working, okay?

  4. Um and that discernment about sort of what way what mode we're working in um uh you know I I find it really helpful um because uh the great thing about a brownfield factory is it's something that we're already being paid for. It's something where customers are saying with their dollars and their uh and their utilization like yeah this works for me I like it I want more of this, okay? Um it's the existing things that keeping the lights on paying the bills keeping keeping customers happy um and you don't need to discover anything about it because everything you need to know to loop the stability of that system is is just built into the runtime, okay? So everything that's happening all the ways your customers are using it everything they're saying about it, maybe even the support tickets, those are reinforcing um the integrity and the vitality and the utility of whatever you've got in that brownfield, okay? And then of course we're going to talk about this, but um uh the another exciting thing as we heard from many of our other speakers um uh you know Jared just uh talked all about rewriting uh Bun um and and Cloud Code. Um you can rewrite a lot of that brownfield of course, okay? So this becomes all of that technical debt, all those sort of boat anchors that are slowing us down historically, um uh all that you know impossibly long backlog um we can see those drying up now um and we don't have to spend uh much energy asking what the customer wants because the customer is arriving every day and they're saying what I'm using is what I want.

  5. Okay, so um so we know what to build. We build the we build the existing thing. Uh and a couple of uh a couple of notes about just ways of thinking about working with your brownfield and you know cleaning it up and making it self-sustaining. Um uh at Diffusion we use the word promise um to represent you know some guarantee, some aspect, some priority, and some dimension within the product that we value, okay? Feature is a promise, um you know the cost and price of a thing is a promise, um the security of a thing is a promise. Um and it's rare that you want to revert and regress on your promises, okay? Um uh so if you can start talking about the ways that we have expectations that are against an existing product um you can begin to encode those in loops, okay? And a loop just like any of the factory schemes we've been discussing, whether represented in a YAML file or some Python or graph um you know a loop has the characteristic of somehow uh taking an input ha and an output and then somehow feeding it back, okay? As many of you know this is the sort of idealized uh block diagram of an amplifier, and if you cut that feedback leg, you're just going to amplify noise, okay? And um I think we all have this feeling now that we've been working with software factories and working with loops. Um there has to be some way of feeding back that fidelity into the

  6. input of the system, but if you do it and you tune it right, it can work, right? Um so uh so this is what we should strive for, especially in a brown field. We're getting all the signal we need to cure, stabilize, and improve those loops. The next attribute of a brown field factory is, you know, it really should be continuous. If you look at uh the history in the before times of when commits would arrive, there was some seasonality to those commits. There would be a daily and hourly seasonality. There'd be a weekly cycle, and you would see those commits come in at intervals. It can happen continuously now. When your loops are being maintained by your agents in a factory, I don't know, like it might look like a straight line. Uh just uh just a solid list of activity that's happening 24/7 because there's always something to worry about. Um is it a little bit slow? Is it a little bit insecure? Is it a little bit whatever? Um all of those worries apply around the clock, and if you're building your brown brown brown field factory the right way, um it should be it should be compatible with continuous intelligence, continuous application of this question, um and and it should just run, okay? So you've got an existing code state, you've got an existing set of promises, um just make it continuous, make it loop, and make it keep those promises, okay? So so another way to summarize that is, you know, my brown field factory on an existing set of promises, it should just be

  7. continuous, it should be background, and should be keeping those promises for me. Okay? So uh so I'm a strong advocate of building a system like this, um and it's going to give you the freedom and the creativity to begin asking what you should be doing in the greenfield, you know, probably not with the same level of looping rigor, probably with more true product market fit and discovery sort of energy, okay? All right. One other really fascinating property. Um, this is certainly something that I've experienced uh over the last year. I mentioned earlier, you know, a year ago, um it would work, but there was a lot of componentry. Okay, getting it getting it to work was still very much engineering. Um, as we heard from some others from Zach and from Potato, um these systems are they're getting a little bit easier and a lot of credit goes to the model itself, um as well as the harnesses. But one thing you can expect from your factory um is that it is going to simplify over time.

  8. Okay? Um, this is something that we've seen in our skills. The skills are getting shorter, of course. The harnesses are getting more general, of course. Um, and a lot of this again is credit um uh to the models themselves. Um, I'll note that uh there's a uh there's a famous AI company um that also makes these widgets. Um, and this is kind of a famous uh progression. So the Raptor 1 engine from that AI company um uh was really fiddly, but it worked. Okay? Uh it looked like this. There were a lot of tubes, but it definitely propelled the rocket. Okay? In that same package, right, that same approximate external dimension, the second version had higher performance and fewer moving parts. Okay? The delta between this one and this one was a tremendous application of intelligence, okay? Like literal rocket scientists and engineers focusing on how can we make this thing simpler. Okay? Um, you know, that's hard. It's hard to get those people and it's hard to concentrate them on a difficult problem. Um, we have tremendous allies in this simplification, of course, because we have Astra and Fable and Carbon, right? And so they are trying to take our factory from version 1 to 2 to 3 so that by the time, you know, we come back we come back and, you know, start our jobs on Monday or whatever, um maybe we have a much simpler factory than when we started, right? Or we wait one more uh model version and our factory is has fewer moving parts yet twice the performance. Okay? So this is a really interesting feature of this

  9. moment that hasn't existed before. So if you can just barely get the thing to work, you can expect uh uh a smoother laminar flow, higher performance, you know, soon, okay? Without much of your creative contribution in between. Okay. So uh let's make a brownfield factory. Um uh a great instruction to give that factory is the same but faster. Um I've been in very few meetings where someone debated uh you know increasing the performance of a system, right? Um as long as you are at some sort of a Pareto equilibrium where you're not trading faster for cheaper or trading safer for faster, okay? Then this is just good. Okay? So uh so it should be faster, it should be cheaper, it should be safer. Um note that sometimes we include better in this mix and better may be difficult to achieve in a brown in a brownfield factory. Better may involve more of your intent, better may involve more of your judgment and taste. Um so maybe that's where you go into discovery and use different techniques. But gosh, faster, cheaper, safer, um especially on the other side of the vold apocalypse.

  10. Sorry, other side, still at the beginning of the vold apocalypse. Like we we definitely need these things to just autonomously get safer, right? Okay. So you should have that. Okay. So um so I think everyone should have the brownfield factory. You should have it for your existing commitments. You should have it. It should become better, faster, and cheaper over time. Um I find that this takes like a week. So if you haven't spent that week yet, just do it. Just like whenever you get home, like go go spend a week, uh say you're on vacation next week and just stand up your brownfield factory on all all your existing commitments. Um if you don't have a way to do that or you feel like you need help, you can always reach out to me and uh we're standing by to help. Um so brownfield factories, you should do them, but also too easy. Okay? Like, come on, too easy. Okay? Um, uh, you need you need to elevate your ambition as well. Okay? So in my remaining couple minutes here, um, we're going to talk about how to elevate our ambition. Okay. So one of the things that I think is we are all struggling with at this moment is, gosh, there's a lot of code coming out.

  11. Even worse, it's working. Um, uh, that's a lot of stuff. Uh, it's maybe too much stuff. Um, uh, we maybe have a glut of stuff. And uh, it could be the case that our customers uh, didn't want all this software. They actually they actually weren't asking for software. They were asking for more gross margin. They were asking for more customers. They were asking for more brand differentiation. Okay? Uh, and just shipping them more Windows uh, to click on and buttons to click on, um, that's not doing it for them anymore. Okay? Um, and this is where all of us um, are beginning to see the emergence of our new job. Okay? We can communicate with the models quite well. That's why you're here. Right? Um, there are other people in your firms who are not as fluent in communicating with these things. Okay? Um, so that means like we have a new job now. Um, we have to figure out how to build a demand factory because our brownfield factory can't build the moat.

  12. Right? All it can do is keep our existing promises running well. Um, that's great because it allows us to focus on sort of outside the building and look toward the market and look toward the future. Um, but gosh, we we need to start working on the demand factory. Okay? Um, I don't really know what a demand factory is, but it it probably um, uh, looks something like this. It probably looks like the thing that we need so that when we boost performance in the back end here in the software factory, we don't end up spilling software all over the floor. And we rate match the demand systems to our production systems. Okay? But there's a lot of discovery that needs to go into the demand factory. This is a this is a new idea, okay? But I think you are absolutely the ones who can begin pushing your organizations to ask these questions. Like don't wait for sales and marketing to come to you on this question. Like you can see that within the uh envelope of your brand, there's something more you can ship. Um but you're going to need to explain that to the world and you're going to need to explain it using new words and new imagery and new product lines and so forth.

  13. I think your demand factory helps you ask better questions of your market because the agents can help prioritize what to ask next. I think it can help with better listening because the agents can synthesize the answers you get back from those questions and can help you re-rank and they can help you re-rank overnight and they can compare it to everything else you've heard, okay? And therefore, I think they can schedule better experiments. How do we get the price elasticity of demand on this particular offering? You have a finite amount of experimental bandwidth. How do you allocate it? The models are going to help you with that. I think this could lead to lower latency responses where we are saying yes faster, okay? And customers begin uncensoring themselves and they start asking for more. That would be great. Um I think like weirdly, you know, even though our competitors have uh the same models, there's some version of some new equilibrium where we're all doing game theory optimal compe- competition and yet still if we start first, there'll be some edge, okay? So get started now. And then figure out what is the maximum extent of what I can possibly promise to the market and that's my brand envelope and let's fill it up. And just quick digression on brand envelope uh um let's say we're spindrift. Uh uh we we're selling some awesome sparkling water with a little fruit juice. Um I propose, hey, you know what? Let's throw some caffeine in there. Like maybe that gets by the committee. Like maybe we ship that. Um and then the next week I come in and I say like and motor oil.

  14. Okay? Um you know, that's going to get shot down. But uh energy drink, that's a good expansion of our brand envelope. For every one of your companies, you have the same thing. Maybe you can 't sell motor oil, but maybe you can sell an energy drink. So figure out what your energy drink and start selling it now. Okay? So let's build your demand factory. Um it's going to have a high volume of high quality signal coming in from customers, coming in from the market, coming in from any place where you can measure demand. Um and it's going to be uh it's going to have a high volume of flow. Okay? Um but in order for that flow to not overwhelm change management, desire, um it can't blow out the needs of your customer. So therefore you need to have more customers. Okay? You in fact need to have more of everything, but you need to have more wallet within those customers. Okay? To get more share of wallet within those customers, you're going to have to sell more skews. Okay? Uh in addition to more skews, you're going to have to organize them into coherent product lines. So you're going to have more product lines. Okay? And once you've maxed out all of that, you're going to need to just acquire your competitor.

  15. Okay? And if you get started now, you're going to be the one doing the acquiring. Okay. So uh so this is it. This is Brownfield Factories. I think you can build your Brownfield factory. I think you can absolutely build your demand factory beginning now. Uh I also obviously think you can reboot your product management and reboot and you can wake up your executive team. Um and we are standing by at Diffusion. So uh we do have some technical resources attached there on some Brownfield techniques that I really like. Um and uh yeah uh I look forward to uh connecting with many of you. Okay. Take care. Thanks.

Summary

Justin McCarthy, founder and CEO of Diffusion, discusses the evolution of AI-driven software factories and why developers should exercise discernment before industrializing processes where product-market fit is still unknown. He references advanced AI models like Claude and GPT-5, along with concepts like technical debt, brownfield systems, and system loops. The practical takeaway is to reserve automated software factories for established brownfield products with proven customer demand, using feedback loops to maintain system fidelity rather than forcing new, unvalidated ideas into rigid factory processes.

View original episode ↗