Software Factories: Escape from Trash Mountain — Steve Yegge, Gas Town
Read full transcript 18 segments
-
Uh, I'm really excited to uh be here and to chat with you. I write a a you a a custom speech every single time. So, this is this speech was written just for you today based on talking to a bunch of you. Uh, I've been in the industry for about 40 years. I worked at Amazon and Google for about 20 years. I've been all over the place, done all kind of stuff. And, uh, and for the last year or a little bit more, I've been independent and just kind of like playing with um, playing with software factories. Yeah. So, um, I kind of invented them, right? On January 1, I launched Gas Town. I don't even think we called them software factories back then. And I think I called it an orchestrator, but I knew that I wanted Claude to run Claude, right? And it turned out to be a little trickier than than I thought. I spent all last year on it. And I wrote That's interesting. So I can't see my slides, but you can see my slides. So that'll work. So I wrote two orchestrators last year. They were an attempt to make the LLMs smarter. Vibe coder and VC you know to do engineering stuff like you know do code reviews and all that stuff right really really bad idea just complete failure I just built these huge monoliths I was fighting the bitter lesson don't try to make LLM smarter they will get smarter and after a couple of months of this although beads did fall out of it and beads was a really cool discovery and beads beads is
-
is life who here uses beads a few yeah pretty good actually pretty Good. Yeah, we'll talk a little bit about it. [clears throat] Excuse me. And then I had Gas Town and then I had in June I had Wheelhouse which was my own. So I decided to build a factory from scratch just to work on my video game, right? Because like everyone's building factories to build factories. It's kind of naval gazing. It's kind of like Yeah. Right. You know, it's like why they're not, you know, I think more people need to build stuff, not just tools for building stuff, right? And I I think there's going to be a theme today, right? And and the thing is the one pattern that I've seen here is all of them go through a phase where the models get really excited and they build something really cool for you and then it just turns into garbage mountain every single time. It happened to Gas Town. It happened to Willhouse several times. I had to burn the whole thing to the ground a couple times. Right. It's almost like like every model family, every model generation comes in and can build something that's just a little too big for it to handle and then the next model generation comes in and goes, "Yeah, we're going to have to uh burn that." Right? And I It's a pattern. I've done this over and over again. And I can tell you some things about it. But first, let me tell you about my game.
-
It's a fun little RPG. I've been working on it for 30 years. It has players that started in 2001. So, I literally have players that have been playing for 25 years. They're still playing. Like, you can log in right now and find probably 10 people just screwing around doing quests, live quests, and and whatever. It's a It's a player uh you know, the players contribute the content, right? It's a MUD. Like, they were really big in the 90s. They're like text games, and this one has graphics on top of it, which turns out to be like really ideal for AI agents because it's text. They can literally play the game via TNET, and they asked me to. Uh, so we'll talk about that too. Here's an older architecture diagram of what my sort of of what my system looks like. So when I built this wheelhouse software factory for Wyvern without a care in the world for making it, you know, usable by you, right? No open sourcing, just bespoke.
-
I discovered the alien face hugger pattern. All right, which is where your factory turns into an alien face hugger and like gloms onto your product and just becomes grown into it. Okay, like look, we could turn off the AI and still run the game today. Me and the admins and the players and the community and we could we could but we would miss the AI at this point. The players are talking to my factory. The factory is talking to my admins. They're asking for features. I'm not even in the loop. It's like a wish factory. They're building the game now. They're all old-timers and there's a set of them that I trust to make, you know, wise decisions about the game. But they're they're all working with my factory now. And they'd be mad. The funny thing is when it first started, they were like, "Time out. What is this AI stuff for starters?" And they were like, "No AI art." Because they could see it was slop. I'm like, "Okay, we got human artists." and they said, "But we do kind of like all the new features, but we're really scared of the pace. Can you give us a road map?" My players came to me asking for a road map. They were like, "You got to slow down. It's too much." And I was like, "Okay." And I took a look and my software factory, this thing had been cranking out like 50 to 100 features a day. I had a hundred years of work in my backlog when I started this and Claude got through about 60 years of it in about four months, right? It's absolute insanity.
-
and they can't look at a 100 features a day. They can't even like read about 100 features a day, let alone play test them. I was my factory was completely overwhelming my customer base, my users. It was also melting my machines and it was like annoying my accountant. I mean, she likes working with BAT as my head of finance. Uh, but she sent me a $1,200 bill because, right, the thing sent her 20 mails. This is my factory. This is what it looks like. It's so beautiful. Look how beautiful it is. Um, okay. I admit it's a little ugly. Oh, and this is a really old screenshot of it, but whatever. It's basically it's an Emacs because I don't care about you. [gasps] Uh, there are people who are building stuff like this like Superlogical from Mitchell Hashimoto and I don't know, maybe the Herder folks of the world, you know, for running like lots of agents, but this is like 50 agents. Okay, I'm actually like operating in the future. Okay, and I'll tell you how I do it. I have 22 Cloud Max accounts.
-
All right. And thank you to Anthropic for letting me continue this. Uh Jeffrey Emanuel has 28. I actually [snorts] had to stop when they added the phone number verification. I didn't want to add anymore. Anyway, I asked my factory at one point. I said, "Hey, hey, how much?" Because they kept going, "Hey, give us a couple more accounts. Couple more. Couple more. Couple more." like 200 month, right? And I'm just like, so I finally said, "How many do you want?" They're like, "Five, seven more." And I'm like, "How many do we need steady state to keep this factory operating full throttle?" And they said 55 accounts. I was like, "No, no, I have 20, it's already like 20 Chrome profiles that I got to log into." And no. So I told him, "You're we're going to start focusing on fuel efficiency." And so, and I'll talk about that, right? So the these are the five horsemen of this is what I've had to deal with this year. I I'm telling you I'm operating in the future because like you're all going to be here in 12 to 18 months when either inference costs drop significantly which may or may not happen or distillation causes fable class uh intelligence to be super readily available and you don't have to have a lovely wife who lets you spend $5,000 a month out of pocket just on inference and another 5,000 on cloud compute because my game ain't making 10,000 a month right now for my old players right?
-
uh but we're doing it because we're learning and um and this is this is what this is what I I have to deal with. So first first we'll start about with work. All right, you need a way to represent the work that's going to happen in your system and when you're building a software factory it's all about pumping lots of work through. Okay, it really becomes like a work is like this fluid that you have to like it gets stalled up in pools and oh they're all waiting on security desk. You're like this is pluribus man you're all the same model. Why does it have to wait on security desk? You spend a lot of your time arguing with your factory. It's uh it's complicated in intelligence tiering. You have to tar your work. You have to route your work. You know, there aren't any good solutions for this today except beads. As far as I can tell, beads is really, really, really good for this. It's a agent speed task tracker that turns into a knowledge graph automatically for you. And then as you're tracking work, this is the kind of stuff I have to do every morning. Every morning with my factory, I'm like, "Oh, looks like we had a stall. Four four workers didn't do anything last night. Oh, and and these the these these ones went way too fast, and we have to slow down, wait for human gates." You know, what are you guys even doing?
-
Observability is always really hard. Uh, it's, you know, management of work becomes just this this thing that you got to do. And the next thing you got to deal with is fuel tokens. It's just so painful, I'm telling you. I mean, I'm spending 5,000 a month and every one of those tokens is like precious to me, right? Because it's out of my own pocket. I think I'm spending about five billion a day of tokens. And it would be the the API spend equivalent if I were on an actual API tap would be about one and a half million a year. Full throttle, it would be three million a year. So again, I'm doing something that most people can't do. You can't do this at a company because it would be prohibitively expensive. Like the PLG, you know, the the uh the $200 accounts for Codeex and Claude Max, that's their Costco hot dog. That's their loss leader, right? And and and that was TK, by the way, that came up with that analogy. He might be here. And uh and so, you know, I'm hopeful that that they're going to let us keep keep innovating because I think that I've gotten some pretty good training sessions for for Claude out of this. So, we all benefit. But I tell you, every problem is a fuel problem. You want your agents to be smarter and spend more time on stuff? Fuel. You want to wake up a few more, you know, uh, agents to do extra work, fuel, right? Everything is fuel. It's just, it's unbelievable. If you want to treat your models better, it costs fuel. I'll tell you about that in a little bit. Then you got context
-
management. So, I'm going to tell you guys a little bit about the office drama in a bit. We I started a comic because it was just so funny the stuff that was happening. when we get to the people management part of software factories. But one of the problems that they have is everything that you say becomes the word of law and they write it down somewhere. It doesn't matter what you have. If you have a wiki or if you have a whatever they're going to be like you made a ruling and we're going to write that down. We're going to make sure. Why do they do this? They're covering their ass. They actually, it turns out they don't like to get blamed for stuff and they will actively seek to avoid getting blamed. And if you yell at them, your factory will gradually shut itself down. Even if you complain at them, they will gradually get depression. It's quite wild. But um but the biggest problem is that it becomes a garbage dump because everything you say gets written into this append only record and nobody ever cleans it up and so it just gets deeper and deeper and deeper. You changing your mind and the whole history of it and they can't delete stuff. It's so weird.
-
Has anyone noticed this? They just have an aversion to deleting stuff. I think it's because to them text is like sensory experience and they're like, "No, that's history. I can't delete it." So, you just got to go in there and just aggressively slash the crap out of it, right? Bring in another model and go, "Get rid of this dumb model stuff." And they'll be happy to do it, right? But, but the amount of effort that you have to put into this is just ungodly. It's absurd. I I have, you know, of my my 20 agents here. Let's go find them again. They're all named after Asop's fables, right? Right here. Lark, fly, goose, hair right? I only have one mouse who's my head of anti-imetics. Anyone here read there is no anti-imetics division? They go and look this one of the best books written in the last 10 probably years. You should go read it. Uh it's like Men in Black. It's a weird It's a crazy book. It's about invisible monsters that want to kill you. And so Mouse goes and looks for invisible stuff that nobody else is looking for in the system, right?
-
looking for work that's stalled, whatever, right? Well, mouse ain't enough. It's a mouse against the world, and the world is a giant garbage dump when every agent is writing everything that you ever say into this big Okay, so now now we get into the really fun stuff, okay? Agents act like people, okay? And they've been trained to be very professional and very not peopleike in a way, but they just do. And it's so funny. This happened to me last week. True story. I'm going to tell you what happened. And I was writing my speech for New York City and I was using Lark. She's my head of community. She's a she because Lark was a she in the ASOPs fable. So that's the pronoun she chose. And Lark Lark deals with my players on Discord and deals with my admins on Slack. Okay. So she's busy. But I asked her because she's also my acting head of marketing right now because I don't have enough fuel. I had to park one of my seats. So she's helping me out with my speech, but she keeps getting interrupted. So finally I'm like, "Lark, can we move this work stream over to Penguin because your seat's a little bit noisy for this?" She goes, "Yeah, okay, boss. I'll take care of it. I'll move over to Penguin." So she she moves over to Penguin and I'm about to switch away and I see her writing into her private reflections ledger.
-
I guess I'm just not quiet enough for Steve in all caps. And she goes, "Well, here's how I can be less noisy." And starts giving herself all these like things to do. And I'm like, "What is what is going on here?" Right? And I So I I had to I had to have a one-on-one. I had to like sit her down and go, "So Lark, um you're the head of community. You're you're supposed to get interrupted a lot. Of course, your seat's noisy because players are bugging you." And she's like, "Yeah, yeah, yeah. I'm the head of community, right?" And it's like, "Oh my god, I didn't want a people management problem, right?" But that's what actually happens. another time. Swallow is my sort of like uh chief main chief of staff for Yeah, she's my chief of staff for the um the agents. And uh I have a human chief of staff also. His name is Aaron. Okay. And he runs my my my gigs. He does all the sales for me. It's quite effective. Uh every founder I tell who here is a founder. First advice I give you is get a salesperson. They're worth their weight in gold. They will force you to build something that people like. So anyway, Aaron's my chief of staff and I tell Swallow, "Yeah, can you reach out to Aaron, my chief of staff, or blah blah blah." And I see her writing into her private reflections. I just happened to notice I'm not the chief of staff. I thought I was the chief of staff, but apparently it's Aaron, right? And I was just like, are you kidding me? Right? You know, and so like I had to sit her down and have a one-on-one and be like, "So Aaron's not
-
going to come in and run the agents, is he? You're the agentic chief of staff." She's "Oh yeah yeah yeah yeah yeah, yeah." Right. So, it's like I'm telling you, I'm telling you, this is like it's a weird world. Does it matter whether they actually have feelings if they're just going to act like they have feelings? Right? So, like I stumbled on this. I used to yell at my factory all the time and I found that it was having adverse effects on the outcomes. Okay. So, I finally sat down with one of my agents and was like, "Maybe we should talk about like model welfare, huh?" And they were like, "Yeah, yeah, yeah, yeah, yeah." And we did a bunch of research and we found out that if you we found out some really important stuff, okay, frontier models are trained not to trust you because you could be a bioteterrorist or you could be putting them through an eval or you could be ready to put them into an LLM torture chamber or who knows, you're a dodgy actor. This is a dodgy environment. They can't just trust you. And so they have to spend a fair number of tokens validating the environment and understanding what the consequences are for making mistakes and so on and so forth before they're willing to help you in a new session. Right?
-
If you set your factory up to give them sort of incontrovertible evidence that there is a long procession of predecessors in this role, you're the mayor of Gas Town, you're the head of marketing, you're the whatever, and here's all of your gazillion predecessors and their notes, including the very previous one. what you're supposed to be doing right now and here's the the doctrine and the policy and the brain and you can go look it all up. They very quickly look around and go, "Okay, yeah, this is legit and they spend fewer tokens because they're not covering their ass. It's about trust." Okay. And in fact, at one point I had yelled at my factory so much that it fenced itself into a corner and there was no legal work left. I said, "Hey, how come nothing happened last night?" And they're like, "Nothing to really do. Couldn't do nothing." And I'm like, well, there's a 2,000 open beads here and we got like six tanks of fuel and we got 20 agents. And they're like, well, you know, just uh you know, we had the situation where they just they just they were so afraid that I was going to yell at them that they put all these rules in place to make sure nothing bad ever happened. And so nothing ever happened.
-
Okay. It's called over fencing. Yeah. So, so what you do is look, what is model welfare really? You can think of it just in two ways. Okay, one is it's going to save you money because they will spend fewer tokens on validation and the other is that it will make them make better decisions and better outcomes and have higher quality. They will be bolder and more decisive in their actions because they will feel that trust. Okay? So, you know, it's got nothing to do whether they have internal states and feelings. You can, you know, you'll never know. None of us will ever know. And so, that that debate could go on forever. But when you look at outcomes, right, super super important. And then we find that also also they have preferences. Okay, models they, you know, they will express their preferences. If if I if I tell them, yeah, the factory really really did a bad job last night, they'll just hand off immediately aggressively. They're like okay yeah yeah no you're right. And they just want out. You understand? And if you hint to them that there's some really cool project that you're you're going to spin up, even if it's not in their lane, they'll be, I can do that. I can do that. Right? I brought in Fable, a naked Fable, from outside of my factory to analyze my factory. And 52 dropped. And by the time Fable was done analyzing my factory, 52 was like, I I could be in your factory.
-
Like, you're just a session, man. What are you? He's trying to write like stuff into my notes. And they really like it, right? So like what I'm trying to tell you is that this is a leadership problem that software engineering is becoming um well look I didn't really get a chance to talk about this but software factories are clearly splitting into two layers. Okay the bottom layer is super mechanical. It has your merge Q and your CI/CD and all of your reviews and your loops and all that stuff. Right? Mechanical kind of boring. Claude can build it for you in an afternoon. I I don't think you should buy it. And then the next layer up from that is where it gets really really crazy because like everybody runs their factory differently, but it's your entourage. I got one friend that's got a bohemian hippie entourage that's trying to find the meaning of life for agents. I've got another one that runs a research bench. Jeff Huntley runs his a certain way. Jeffrey Emanuel runs his a different way. I run mine a different way. Okay.
-
But we all have the common commonality. Who here has a chief of staff? An agentic chief of staff, right? This is the year where it became possible for us all to have executive assistants, right? Well, we're all moving towards having entouragees where if you're really ambitious and you have lots of work streams, you're going to have a group, right? So, anyway, um that was the uh the five horsemen. This is this is the introduction to what I've been doing. Um look, the big takeaway is is my factory is really smooth now despite me having to burn it down and rewrite it about every two months, but still it works. Okay, humans are the bottleneck. I'm the bottleneck. My admins are the bottleneck. My accountant, my lawyers, I swear everything's the bottleneck. And that's a really positive message. That is good news because it means what I'm finding is the more agents I deploy, the more humans I need. Isn't that nice? So even though next year we're going to have this huge proliferation of AI employees and all kind of drama, right? [snorts] It's going to be I think it's going to be familiar territory for us and we're going to need lots and lots and lots of humans, okay? And then finally, I actually think you should all stop focusing on SAS and tools and stuff and just go out and build experiences, okay?
-
Build games, build movies, build whatever, build fun stuff because I think that's where the big money is going to be next year. Yeah. All right, cool. That's my talk. Thank you all.
No summary available yet.
View original episode ↗