[
  {
    "startMs": 12360,
    "text": "If you've got a seat next to you that's open, raise your hand. We got people looking for places to sit. All right. Awesome. We got two right here. We got one over here. Yeah, everybody's raising their hands. Awesome. Awesome. Wow, that-- I'll tell you what, it sure makes me feel good that, uh, you're having a hard time finding a place to sit. Um,  so thank you all so much for coming. Before we get started, I have six kids at home. My wife is watching six kids by herself at home right now. And so, um, she's amazing. But, uh, I"
  },
  {
    "startMs": 42280,
    "text": "also do this video, uh, with all the trips that I do to s-show them what the experience that, uh, what it's like when I'm going out. And so this is just a family video. Um, if you could just say, \"Hi, kids,\" um, on the count of three, that would be awesome. Ready? One, two, three."
  },
  {
    "startMs": 59740,
    "text": "Hi, kids."
  },
  {
    "startMs": 61440,
    "text": "Awesome. Thank you very much.  Okay, great. Um, my daughter just sent me an email, actually. She's [REDACTED] and she said... I'll read it to you. She, she probably won't be mad. Um, she said, \"[REDACTED].\"  She's so sweet. Uh, yeah. So I'm, I'm going to Mars. That's, uh, that's where we're going."
  },
  {
    "startMs": 92140,
    "text": "Okay. Wow, I'm so thrilled to, to talk with you about Closing the Agentic Loop. This is an hour-long workshop sort of talk thing. I will have things that you can do on your own computer, but it, uh, an hour is kind of an awkward amount of time because it's just enough time for it to not be a talk, but not enough time for it actually to be a workshop. Um, and so there are things that I'm gonna have you, uh, do that you can do on your laptop, uh, today or later. Um, but most of this is gonna be"
  },
  {
    "startMs": 122000,
    "text": "questions and answers. And so that's why I have this, um, uh, this app that I vibe coded, um, called Podium, um, that, uh, you can ask questions and, and everything. I've got a poll on there right now if you wanna, uh, answer. And actually, I'm gonna pull it up right now. Um, and here, we'll keep the QR code up and stick the poll over here so you can, um, still... Whoop. There we go. If you wanna grab, get onto this. So, uh, the question is,"
  },
  {
    "startMs": 151900,
    "text": "um: How autonomous is your code base? We're s-- Uh, here, let me, uh, bump this up too so y'all can see that okay. Uh, we're still doing tab complete. I read all the code, I review most things, or my agent, uh, agents merge without me looking, or duck if you don't wanna answer. I, I always choose, like, a random animal emoji, so if you don't care to answer. So I'm gonna say my agents merge without me looking. And, uh, yeah, we've got... Actually, I'm kinda surprised how many people are, are on there, uh, like that. So"
  },
  {
    "startMs": 182260,
    "text": "if you want, you can actually, um, enable your avatar to show up, uh, where you're voting just for the fun of it. Uh, I, I'm thrilled that this actually works because I, uh, I told the agent to test it, and it did, and looks like it works. So that's, that's pretty neat. Um, okay. Yeah. Great. We're, we're like... Does that-- Yeah. Okay. Uh, for a second there, I, I was thinking that doesn't add up to a hundred percent, but it does actually look like it does add up. So yeah, a lot of people are getting agents to merge without you looking. That's..."
  },
  {
    "startMs": 212580,
    "text": "Wow, there are a lot of people here. We've gotta find a place for you all to sit, but there's not one. So I'm sorry. Maybe halfway through, we can take a... Yeah, there's a seat. Somebody run fast. There's a seat up here, seat up here, seat up here. Um, at, uh, yeah, maybe halfway through, we'll have everybody shift around or something.  Um, or you'll just learn your lesson, and next time you won't show up late.  Okay, great. So, um, I'm gonna continue coming back to this page. How do I get rid of"
  },
  {
    "startMs": 242440,
    "text": "this? Um, I guess I don't. Yeah, we just scroll down. I'm gonna c-continue coming back here to answer questions as we go throughout, um, this, uh, this time together because this is going to be, uh, mostly largely driven by all of you. I only have thirty-six slides, uh, that we're gonna go through, but I have so much stuff. I'm, I'm using this exact same content for, like, a seven-hour workshop next week in New York. Uh, and so there's a lot. We can go really, really deep, but I'm gonna focus"
  },
  {
    "startMs": 272500,
    "text": "on where questions are coming from. So this, uh, to put into perspective of what I've been doing, um, I am working on a solo product that is one point five million lines of code that I started back in March and really only started earnestly developing this back in June. So it's been a few months, and it's crazy what we can do with agents now. Unbelievable. A single person managing a code base of a million and a half lines of code is just not something that you would have done. But how many, uh, like, actually how many of you are"
  },
  {
    "startMs": 302520,
    "text": "doing something similar, managing just... Yeah. So I'm not trying to brag here. Like, we can do this now. Isn't that nuts? How exciting is that? Um, I think that is super cool. And the, like, these numbers, they're, they're quantitative, like something that you can actually quantify, and that's why we talk about them, but they don't actually mean anything. Anybody could, like, I could tell an agent right now, \"Create a repo and churn through, like, thousands or millions of PRs,\" and it would be able to do that, and GitHub would get really mad at me. Um, but, uh, but you can"
  },
  {
    "startMs": 332460,
    "text": "do that. So the, the numbers themselves don't actually matter any, uh, at all. What actually matters is that what you're building, uh, is fit for purpose, and then that purpose is actually valuable and useful. Uh, man, can I take a selfie really quick? It-- You're just making me feel so good with how many people are here. Before you all leave. Don't, don't go anywhere. Okay, everybody say cheese. Oh, my gosh, this makes me feel so good. Wow. I hope that I don't waste your time. Let me know later. Uh, or actually, don't tell me. I-if it was good, then tell me."
  },
  {
    "startMs": 362480,
    "text": "Um, so- Here's what I have done over the last couple of, uh, months. I've built up a software factory. If, if-- How many people hate the term software factory? Yeah, I know. It's, it's like, you know, how about Michelin Kitchen? You, you like that one better? Um, whatever you wanna call it, this is a, a, a, a loop that you can create that, um, once the agents are set up well, then they can really autonom-- uh, autonomously do things, and you are left"
  },
  {
    "startMs": 392572,
    "text": "with the product decisions and architectural decisions. You're just left doing the things that the agents aren't good at yet. And how, how long will it be before they're good at these things that we're doing? I don't know. I can't tell you whether agents will eventually become really great systems designers and, and understand product needs and all of that. I'm not sure where the ceiling is, but right now there are some things that we can do to really help the agents out to be able to grease these wheels and make this loop actually work well. Um, and, uh, I'm at a point where"
  },
  {
    "startMs": 422612,
    "text": "pretty much I just have a conversat-- Like, I'll, I'll literally pull out my phone, open up a conversation with Grok Bot, put my phone away, and put my ear-- air-airpods in, and then go on a walk for an hour and just talk, \"Okay, what's the next highest priority thing? What do we, what do we need to talk about? What are the decisions we need to make?\" And sometimes those will be really significant things. Like, I added org support to my product, uh, about a month ago. That's not a small thing. That's like a team of engineers or maybe a couple teams of"
  },
  {
    "startMs": 452312,
    "text": "engineers on a, a mature product working for months to get org support. And, uh, and I was able to have a conversation. It, it was like over a weekend, we're making a lot of decisions and things. But after having that conversation, I said, \"Go,\" and it built it, and it nailed it. So, like, that's super cool. Wouldn't it be nice to have a, a system that, that does that? And I, I think that right now it does require a lot of discipline on our part, but I'm not sure how much longer that's, uh, that's going to be"
  },
  {
    "startMs": 482052,
    "text": "necessary, uh, which is just so interesting. So what I-- what this is in-- uh, what we're gonna talk about is, uh, how to earn the trust of your agents or how, how the agents earn your trust. Uh, and basically, the idea is that you have them... You, you look at what you're doing right now, and you try to get the agent to do that autonomously with some safeguards in place where you're reviewing what it's doing, and then you say, \"Yes. Okay, proceed. Proceed.\" And once you get to the point where every single"
  },
  {
    "startMs": 511872,
    "text": "time you find yourself saying yes, you're like, \"Great, earned my trust. Let's go to the next level of abstraction. Now what am I doing that, uh, I could offload over to the agents?\" And so, um, a-as far as, uh, building out implementation of product ideas goes, the, um, the way that we do this is these three pillars. You get the agent to build a good PR in the first place until you're at the point where you just say yes every time, um, and you're like, \"Yep, that's a good implementation. Go ahead and make the PR.\" Okay, great."
  },
  {
    "startMs": 541832,
    "text": "Now the agents can autonomously make those PRs. Um, and then, uh, the next pillar is review and verification. You make sure that the agents can verify their work. Uh, like, uh, I would say that maybe half of the-- I haven't looked at the schedule, and maybe I should, but I would, I would guess that almost half of the talks, maybe more than half of the talks, will either be about or will definitely include a lot about verification, 'cause that's the abstraction layer that we're at right now. How do we get the ver-- agents to verify their work? So that's a huge piece. And then the, the third"
  },
  {
    "startMs": 571872,
    "text": "pillar is, uh, limiting the blast radius. So if they manage to ship something into production that, that slides through the good PR, um, guardrails that you have, and it slides through the verification and, and the review process that you have, if they manage to get a mistake out into production, how do you make sure that it's not a disaster? And, uh, if we were to prot-- like, replace agent with developer and go back ten years ago, and we're all like, um, managers of teams of, uh,"
  },
  {
    "startMs": 601732,
    "text": "engineers, these are the same-- Like, that does-- that's no change, right? It's, it's always been this way. How do I get my engineers to build good PRs in the first place? You know, I'm the team lead. I'm responsible for making sure that is good. How do I make sure that we review that well? How do I make sure that if a mistake makes it into production, we limit the blast radius? So this is not new stuff, um, but it does have a lot of interesting implications because it is requiring us, uh, who maybe traditionally were just the, the coders, to, um,"
  },
  {
    "startMs": 631772,
    "text": "e-elevate to that level of, uh, of thinking, um, and to adjust to that job change of product and outcomes is our focus. Um, and that, that te-- like marrying the technical needs, uh, with the, um, with the, the outcomes of the product that we're looking for. Uh, okay, great. So we're gonna talk about good PRs, but before I do that, I'm gonna run over to our, uh, Q&A just to, to make sure that I'm not missing"
  },
  {
    "startMs": 661212,
    "text": "anything, um, that you're asking me about. Um, okay, sweet. Uh, the, uh, how much are you spending on AI tokens monthly? This is a good question. I actually have a Q&A, uh, at the end of these slides, and it occurs to me that I should drop the link for this. Um, I had a section in here on links. There we go. Um, so you should be able to see that. I never actually tested this one, so hopefully, it's showing up"
  },
  {
    "startMs": 691072,
    "text": "somewhere. New link. Show it. Sweet. Uh, yep, there it is. So if you wanna pull up the, um, the link to the slides, there it is. But, um, at the end, I, I have a, like, I answer that question, but the answer is probably over the course of the months that I've been building this one point five million line code base, which by the way, it's, um, I, I've actually shipped like three million lines, but I've removed, um, may- uh, about as many lines as, as exist in the code base today. So that's, that's"
  },
  {
    "startMs": 720992,
    "text": "what a code base is, right? It's constantly evolving, and, and a good engineer is the kind that can t-- look at the primitives and see how can I, um, massage those primitives, how can we combine those things, how we can delete primitives that we no longer need, and, and that's, that's the goal. And so your code base doesn't just continue to grow exponentially, but it also you're trying to find ways to shrink it. Like, how do I delete all these tests that you created that I hate? Um, right? So Um, so yeah. Anyway, to, to answer the question directly, I get, um, or"
  },
  {
    "startMs": 750896,
    "text": "over the last several months, I've gotten, uh, tokens donated to me, uh, in exchange for feedback from, uh, Cursor and Devin and, uh, GitHub. And so I-- finding the answer to your question, that number is actually kind of hard, but if I were to estimate it, it'd be about twenty to twenty-five thousand dollars worth of, of tokens, uh, of, of credits to build what I'm, uh, where I'm at. Uh, okay, good question. Uh, I don't have a way to mark it. Oh, I do, actually. It's on the admin side. Whoop. I should have, um,"
  },
  {
    "startMs": 780996,
    "text": "thought about that. So we'll mark it as answered. Great. Um, what is software-- Okay, I'm gonna... This is gonna be the last one, then we'll go, uh, we'll continue on. Um, show latest. Why, why do I need to show latest? Um, that's some feedback I sh-should send. Um, do you use local in, uh, inference for agentic SDLC? I do not. Um, so I've got a buddy who spent a hundred thousand dollars on a, a rig that's sitting in his garage. Um, you know, some people spend a hundred thousand dollars on cars that sit in their garage, um, but he didn't."
  },
  {
    "startMs": 811156,
    "text": "Um,  like, open up the garage, \"Look at this beauty.\" And it's like, \"No, that's-- I was expecting a car.\" Um, \"No, this costs more than my car.\" Um, and so that's not my, my deal. Like, that's not what I, uh, I, I haven't gotten really into that, uh, thing. Um, and largely because I have gotten the tokens donated, uh, primarily so. Um, I've heard that people get a lot out of this, but it sounds really expensive. How many Claude subscriptions could you get for a hundred thousand dollars?"
  },
  {
    "startMs": 840996,
    "text": "Seems like a lot, so I'm just gonna go with the Claude, uh, subscriptions. No, no shade on people who wanna run it themselves. I think that there's really good, good reasons to do that. Okay. So let's go to, to, um, making agents make good PRs. Um, I have this, uh, this CLI that you can run, um, that I'm gonna show you here in a second, uh, that allows y-your agent to evaluate your code base on, um, this autopilot ladder."
  },
  {
    "startMs": 871356,
    "text": "And these are the pieces of my software factory. Is there-- Who, what's a better name for this? Who, who's got the name that we're gonna go with it? 'Cause software factory stinks. Anybody?"
  },
  {
    "startMs": 881176,
    "text": "Michelin restaurant."
  },
  {
    "startMs": 882136,
    "text": "Michelin. Oh, that, yeah. Like, that's cool, but, like, then you're talking to somebody, and they don't get it. Like, when you say software factory, people kinda get it. We just hate it. Um, is there anything else? Yes."
  },
  {
    "startMs": 892516,
    "text": "They're calling minions writing code."
  },
  {
    "startMs": 894516,
    "text": "Minions writing code? So you're Gru, right? Yeah. Okay. So the Gru factory. No, just kidding. All right. Anyway,  so th-these are the elements from my software factory for my product, um, and this CLI will evaluate your current code base on, on where it is on these things. So that's what the autopilot ladder is referring to. So for, uh, making good PRs, uh, we're gonna talk about agent map and verification process, uh, decision directories for ADRs, primitive catalog, self-verification,"
  },
  {
    "startMs": 924596,
    "text": "and the PR template. So, uh, let's look at a couple of these things. You can actually run this right now if you want to. Um, npx kcd-skills@latest autopilot. You don't need that latest. You probably don't have an old version of it. But, um, uh, so this will audit your code. And actually, don't run this yourself. You actually give it to your agent. Say, \"Agent, run this for me,\" 'cause it's gonna get instructions on how to, uh, audit your code base. Um, and actually, let me... Boy, there's not a link. Uh, I, I didn't think about things that aren't links to share with you in"
  },
  {
    "startMs": 954476,
    "text": "this little, um, uh, event thing that we've got. So sorry. Um, but you've got the slides, so you should be able to go through that. So let's talk about primitives first. Um, primitives, I would say of, of anything else that I have in my code base, um, primitive-- the primitives, um, structure is the most important. And I would, I would say that generally that would be, that would apply to you as well. So this is a, a primitives YAML file. Uh, it's a YAML file, not a Markdown, because I want to do"
  },
  {
    "startMs": 984456,
    "text": "deterministic checks on the, uh, the primitives. You could do it as JSON. You could do any form. I don't care what it is. I didn't actually decide it to be YAML, my agent did. Um, but, uh, what this is, um, is it's a, um, an outline of how we do things, the pieces that agents put together to create features in my product. Uh, to give you just some examples, we have these different groupings of primitives. So our surfaces, so the entry points into our application, um,"
  },
  {
    "startMs": 1014816,
    "text": "and that actually is right here. So we've got our, our app UI, so the website. We have, uh, the desktop application. We've got the MCP server, um, the status page even, um, the platform worker, so this is on Cloudflare Workers, so it's, uh, that's why it's called a worker. Uh, our jobs, uh, oh, even, like, uh, syntax highlighting is a separate worker. So, like, all these different pieces, that's the surfaces. Um, and then you've got your authentication. So that would be,"
  },
  {
    "startMs": 1045236,
    "text": "uh, how you do OAuth and how you do, like, password, uh, storage and, and all, um, you know, passkeys, all of that would be the primitives for that piece. And then, uh, your user fa-facing assistant primitives and, uh, the pieces for that. The, uh, runtime. My product executes code, and so, uh, there's a custom runtime for, of utilities and, and ways that that works. And then, uh, storage of, like, data and, and, uh, code and all of that stuff. So these are the different pieces. And along with, uh, with this is"
  },
  {
    "startMs": 1075316,
    "text": "also, like, your component library. Those are primitives. So that's what the idea of a primitive is. And this is a map to all of those primitives. And so when I'm having a conversation with my Grok Bot, or you could do this with Muse or Dot or, or whatever. I'm not, I'm not sponsored by Grok. I just use it, uh, use that. But, um, when you're having your conversation with your agent, the agent, uh, you, you say, \"Hey, we need to come up with a way of, um, running the-- Instead of running everything in the cloud, we wanna run it on,"
  },
  {
    "startMs": 1105236,
    "text": "on the user's local machine.\" We'll have them use the CLI with the --local flag, and boom, now they can run it locally on their machine. What are the pieces that we need to, to discuss? What are the open, um, problems or the trade-offs, whatever? And the agent then can look at the primitives and see here's what you have available currently, and as it's going through this, it says, \"Okay. Well, for that, um...\" Uh, we're like maybe the desktop shell, like it's-- they've already got something running locally, so we're gonna look at that. And let me look at, uh, for the code that is relevant for that, um, the"
  },
  {
    "startMs": 1134808,
    "text": "documentation. This is actually a pretty lightweight, um, documented primitive here. Uh, or maybe there's something to do with the MCP server. So here's the code and the docs and the architectural decision records for that, and we'll talk about ADRs here in a second too. Uh, and so the agent ha-- is able to very quickly find everything it needs. Now you're-- some of you are thi-- sitting back and thinking, \"Hey, hold on a second. Theo said that  yeah, uh, but Theo said that your code base is the documentation.\" And I agree with him, um, that, uh, that in"
  },
  {
    "startMs": 1164708,
    "text": "general, you want your code base to, like, the agents can find everything that they need, like pretty readily. They don't necessarily need a map. The value of the map is when you've got a code base that's one point five million lines, it actually takes a little bit of time and tokens for the agent to find what it needs, and it's not necessarily always gonna find that. Um, and on top of that, um, it's, uh, the one point five million lines is actually a really small code base. Let's find out. Where are we at? Who has more than one point five million lines"
  },
  {
    "startMs": 1194648,
    "text": "in the code base they actively work on? Okay. Let's-- Keep your hands up if it's more than five million lines. Okay. Ten million lines. All right. How many lines? Yeah. Twenty or thirty million lines. That's a pretty broad range. Uh, just kidding. Yeah.  Yeah. Like, code bases are huge. Uh, you don't want your agent to have to do that every time. So if you're working in a code base of like twenty-five thousand lines of code, okay, yeah, sure, maybe the agent can find everything it needs to every single time. But even in that situation, I would"
  },
  {
    "startMs": 1224388,
    "text": "actually have a document like this, um, as long as-- Like, the, the danger with documentation in general has always been, uh, falling out of date, and now it's communicating something that's wrong. Um, but I've got something called a friction log that, um, that we'll talk about later that makes sure that this doesn't fall out of date. Um, so with all of that, the, um, this primitives document that maps things out for the agent allows the agent that I'm talking with to be able to find the pieces that we have and the pieces"
  },
  {
    "startMs": 1254408,
    "text": "that are missing, and we can discuss, okay, do we need to expand a primitive to make it do what we're trying to have it do? Like, it doesn't support this yet, we need to expand it. Uh, or is there another primitive that has some overlap with this that maybe we could actually combine that and now it can do all the things, you know, we're gonna invert some control or something like that. Uh, or, um, sometimes I'm going through and I'm saying, \"Hey, we really need to clean this up. I don't think any users are using this particular feature at all. Let's delete it.\" And now the agent's like, \"Okay, great. Let's see what all primitives, uh, there"
  },
  {
    "startMs": 1284488,
    "text": "are that we could actually remove from the code base,\" because, um, that feature or that primitive only exists for that particular feature. So, uh, of, of anything else that I show you, this primitives document is probably the most critical for-- especially as you're just getting started, um, putting your code base on autopilot, um, so that you can focus on the decisions, um, that, uh, that you're, uh, uniquely qualified to focus on. Um, yeah. So great. I just wanted to make sure we're there. Um,"
  },
  {
    "startMs": 1315808,
    "text": "I'm trying to decide if I wanna go to questions or if I wanna go to ADRs. I think I wanna go talk about ADRs, uh, and then we'll go to questions. So decision records. How many of you are familiar with ADRs, like you've done this before? Okay. How many of you were doing it before agents were a thing? Yeah. So this is not a new thing. Um, architectural decision records are something I've been doing for a really long time, uh, and it is so great. Uh, I even did it on a project where I was a solo, uh, engineer because there were other people who were referencing my, uh, my project"
  },
  {
    "startMs": 1345768,
    "text": "called the Epic Stack. Um, and, uh, it's effectively just a big pile of Markdown documents. Uh, I, I just broke a hundred, uh, eighteen hours ago. Congratulations to me. Uh,  so, uh, explicit state machines. Here we go. This one's interesting. So, uh, an ADR is a, um, a, a record of the decisions that you're making architecturally. Huh.  So, uh, here in this decision, we're declaring lifecycle graphs once, not as scattered status checks. Okay. That's interesting."
  },
  {
    "startMs": 1375848,
    "text": "I don't write ADRs, by the way. This is literally the first time I'm looking at this one. Um, so here's the, the context on why this decision needs to be made, what the trade-offs are. Often, I find that these context, uh, sections are actually quite a bit bigger than this. Um, and then you have the actual decision that's being made, um, based off of that context. So the, the context will include, um, the different trade-offs that you need to consider and the, um, stakeholders who are going to be affected by this decision, all of that. Um,"
  },
  {
    "startMs": 1405988,
    "text": "and then, yeah, the decision is going to be like what decision we're actually making, and then you've got the consequences. You might also, in the consequences section, say, \"We are gonna revisit this same decision. We might change our minds on this if this, uh, changes.\" Like this vendor finally adds support for, um, you know, a REST API or something like that. Uh, so that's, that's an ADR that I, I can actually pull up the, uh, template here. Um, so this is the basic idea. They-- Oh, yeah. They also have a status that could be accepted. Or let me show the raw"
  },
  {
    "startMs": 1436008,
    "text": "'cause it, it shows what that, um, those options are. Accepted or superseded, um, and then, of course, the date, and then, yeah, context, decision, and consequences. That is what, um, an ADR is. And this, uh, pairing that with the primitives that are affected by these ADRs or were created by the ADR, um, this is the, um, like huge piece of what makes sure that your agent builds the right thing the first time. So, um, I think that's everything that I wanted to talk about with"
  },
  {
    "startMs": 1466008,
    "text": "ADR. So let me go to, uh, these questions. Um, I-- This is real-time. I don't know why it, it decided to show me that, but that's fine. Uh, okay. How to eval for continuous improvement. We'll talk about that. I'm gonna skip that for right now. Um, what does-- Uh, who else is using agentic programming in a regulated environment? Oh,  you're asking the room. Uh, who else is using in a regulated environment? Yeah. Find, find, find each other later, um, 'cause you're, you're"
  },
  {
    "startMs": 1495848,
    "text": "living in a different world from the rest of us. Sounds awful. No, just kidding. It's--  I, I hope you get paid a lot of money. Um- It is awful."
  },
  {
    "startMs": 1507188,
    "text": "Um, yeah. Okay, uh, let's, let's define software factory. Uh, to, to me, a software factory is, um, this. Um, it is something that allows you to build software with the highest, uh, um, a, a level of input, like where you can use your uniquely human abilities. Um, so an agent can write the, the code, but they can't-- they don't have ownership, and they don't have, uh, maybe one day they will, uh, Commander Data, like, \"Live long and prosper.\""
  },
  {
    "startMs": 1537228,
    "text": "Um, but, uh, but right now they, they don't have ownership. They don't have a long-term vision for what the product is. Of course, you can put that all into the agent, and you can talk about it, and that's what I do. I talk to my agent about, \"Here's what I'm thinking. What's your advice?\" And I will sometimes go with what the agent says and sometimes not. But there is, um, like I own the product, and I'm responsible for the decisions ultimately that are made. As far as the actual implementation, though, like that, that is such a commodity now. Um, and so I want to commoditize that as much as possible and give the agents as much"
  },
  {
    "startMs": 1567128,
    "text": "autonomy as I can. So to me, that's what a software factory is. Uh, that's how I'm defining a software factory. Oops. Uh, okay. Um, and great. Great. Any other questions from people who don't want to ask it on, on here? Just like throw, throw it out. Okay. No? Any-- I, I was, I was kind of looking for some questions on, um, primitives. Um, some of these questions are, are, like, very interesting, and you can talk with me about these things later, but I wanna focus on what we're doing here. So,"
  },
  {
    "startMs": 1597428,
    "text": "um, if you're not reviewing ADRs... Yeah, yeah. There you go. Aren't they the new kind of slop? Okay. Yeah, agents is talking to AI. So, um, yeah, this is a g-good question. What is slop? Um, I, I would say this is actually kind of hard to, uh, hard to define. We don't all have the same definition. For me, uh, slop is when somebody delivers something that they don't care about, um, that or they, they didn't invest much time and attention in, uh, into. It's where the result or the outcome is not, um,"
  },
  {
    "startMs": 1627468,
    "text": "what w-was desired, right? And so that doesn't mean if the agent does it, that doesn't mean that that's slop, okay? That's really critical to understand, especially because agents just keep getting better. And even-- like there are-- Who here thinks that the agent is better at coding than they are? Yeah, I do. It is better, like, you know, like get over it. If it's not today, it will be tomorrow. Uh, we got Fable 5.2, uh, yesterday. So, um, in, in my mind, um, just because the agent"
  },
  {
    "startMs": 1657348,
    "text": "touched it doesn't make it slop. Just because I didn't look at it doesn't make it slop. The-- What makes it slop is that the outcome is not what was originally desired, um, and that can come from a lack of, um, good communication of intent. Uh, it can also come from a lack of, um, well, yeah, that, that frankly is it. Uh, you're just communicating your intent poorly and, um, and not, and not setting up the agent to be able to verify that it, uh, did what you"
  },
  {
    "startMs": 1687148,
    "text": "intended. Uh, yeah, we got a question."
  },
  {
    "startMs": 1689968,
    "text": "Did I understand correctly that you hadn't read the ADRs, and is that common?"
  },
  {
    "startMs": 1695088,
    "text": "That is correct. Yeah. I don't read the ADRs anymore. Would it-- Is it common? Uh, how many people are reading ADRs? Yeah. Okay. I wouldn't say it's super common to not read the ADRs, um, but I think it will be. Uh, I, I think that this is the direction that we're gonna go. Um, I, I create the ADRs, but I create it in a conversation with the agent. Uh, and so the, um, my, my Grok Bot has learned me very well and understands what my process is, and this is well documented as well. So if I, you know, burst a new agent into the world, it would, it would know"
  },
  {
    "startMs": 1725168,
    "text": "that I want an ADR for, uh, decisions like this. Um, and yeah, I do think that this is ultimately where we're gonna go. Uh, so like we just keep on going up these, this ladder of abstraction. Yeah."
  },
  {
    "startMs": 1736488,
    "text": "Are your ADRs point in time value?"
  },
  {
    "startMs": 1739788,
    "text": "Good question. Yeah. So, um, I'm at a hundred ADRs already. Eventually, this is gonna be too much. Um, I, I mean, it's a good, a big code base. You need to have a lot of decisions. But I do have, um, some ADRs that have been superseded by others. Like I changed my mind about something or, or, or, you know, circumstances change, whatever. And those are good and interesting in the Git history, but probably not good to, um, to distract humans or agents, uh, with old decisions. Um, and so maybe just a simple summary, like, \"We used to do it this way."
  },
  {
    "startMs": 1769808,
    "text": "We don't do it that way anymore. Check the Git history,\" or something, uh, would be useful. And so this is actually something I'm gonna be adding to my factory to like go and garden those. Yeah."
  },
  {
    "startMs": 1778008,
    "text": "After you change the ADRs and you like put these--"
  },
  {
    "startMs": 1781848,
    "text": "Yeah, yeah. Good question. So I, I say superseded on... Well, it depends. If it's like a mass, like a total change in direction, I'm gonna make a new ADR and just say superseded by the new one. If it's just like a, a clarification or something, then yeah. Um, I, I'm speaking from one who did ADRs before as a human. I don't know what my agents are doing with it now. Um, but the o- the outcomes are good, and so I'm happy with that. Yeah."
  },
  {
    "startMs": 1806628,
    "text": "How do you get your agents to read your ADR? Do you-- How do you--"
  },
  {
    "startMs": 1809928,
    "text": "Yeah. Oh, oh, thank you for asking that, um, 'cause I totally spaced that. Um, I'm gonna show you something that I'm a little bit embarrassed about, um, and that is my AGENTS.md. Because every time I open this thing up, uh, the agents have done something to it that I was like, \"Nope, I gotta course-correct you on that.\" But I do have, uh, static testing on this where it will fail the build if it's more than twenty-one lines long, um, because you, you really need to get your AGENTS.md file shorter. Uh, and so"
  },
  {
    "startMs": 1839928,
    "text": "it's, it's, uh, literally just, here's what this is, this project is about. Here's how you verify things locally. This-- We're kinda skipping ahead a little bit, but this is good. Um, uh, local verification, and then here's a map to things that you might wanna look at. Um, most of the time, the agents that actually do the implementing are spawned by an, uh, the agent that like I've already discussed this, and w- like it helped me put the ADR together and everything. And so it, it can just s- tell the implementer agent, \"Here"
  },
  {
    "startMs": 1869928,
    "text": "are the primitives you need to care about. Off you go.\" And so the agent doesn't have to actually go through the docs map as much because it already has everything that it needs. But, uh, but yeah, that's, that's how it finds what it's looking for. Good question. Yeah."
  },
  {
    "startMs": 1883898,
    "text": "... ADRs as well to actually take away some of the freedoms and force them to have [unclear]?"
  },
  {
    "startMs": 1891178,
    "text": "Yeah. So you mean to m-m-make it so that there's some mechanism wha-- uh, whereby, um, there's like a deterministic check to make sure the implementation was correct. I talked to somebody really interesting at Microsoft, uh, GitHub Universe, who they are formalizing this in, uh, their product. Uh, it's Chopin. Um, so if you're interested in that, uh, check out Chopin. It looks pretty, pretty interesting. I am of the opinion-- Uh, Thariq, uh, formerly Claude Code, um, uh, engineer, um,"
  },
  {
    "startMs": 1921438,
    "text": "he said something really interesting on X a while ago, uh, that I've just been thinking about, and he said, \"Eventually, we won't need to review, like, we won't even need AI review of implementations 'cause it will always get it right the first time.\" Um, which is like, wow, that's, that's a little interesting. Um, I b-- I agree. Um, it-- So w-- In that world, it comes down to how well do you communicate your intent? And then the question is, well, why do you have to"
  },
  {
    "startMs": 1951378,
    "text": "get really good at communicating intent? Can't the agent just get really good at pulling it out of you? And then what do we do? I don't know. Uh, I actually do have ideas, but yeah."
  },
  {
    "startMs": 1959958,
    "text": "I think it's a subsequent question from this is, if we already know that agents are smarter than us, then why do we still have to be setting primitives, ADRs, designing agents or harnesses? Do you think in the near future we won't be able to do that or necessary to do that?"
  },
  {
    "startMs": 1974658,
    "text": "Yeah, yeah. The question is like, what-- in the future, will all of this stuff be needed? Uh, will we need to have a loop like this? Uh, or will the agent just build its own loop that's optimal? I think, um, so first of all, when we're predicting the future, you have to acknowledge that nobody can do that. So now we're gonna predict the future. Now I've got that disclosure. Um, I, I went on a nice long walk with my Grok Bot a few weeks ago, um, because I was, um, thinking, uh, like I have a Grok Bot that helps me"
  },
  {
    "startMs": 2004678,
    "text": "think of, um, content ideas for my YouTube channel, and I was thinking, okay, I, I'm an educator. By the way, my name is Kent C. Dodds. I didn't introduce myself. Uh, I've been educating people how to build, uh, web applications for over a decade, and none of the stuff that I taught a-any of you over that course of that decade is, uh, super relevant anymore. Um,  just kidding. No, like there's latent information like that still matters. Um, but, uh, I was, uh, I was trying to figure out, okay, what, what is the durable thing that I could teach people now? 'Cause that, that matters to me. I don't wanna just teach"
  },
  {
    "startMs": 2034638,
    "text": "you how-- like the flavor of the week and, you know, feel like a drug dealer saying like, \"See you next week,\" you know,  like when things-- everything changes. And, um, the agent came back to me with like, \"Oh, well, I mean, you still need to be able to communicate intent in systems design. Like that still matters.\" I agree. That still matters. You need to be able to build a system like this. You need to have primitives. You need to have your ADRs. Like all of that matters. And then I said, \"Well, I mean, I think I, I, I can't see from-- if I'm thinking first principles, why an agent couldn't get good at that.\" Do you know how this"
  },
  {
    "startMs": 2064578,
    "text": "works? So they, they train the model on all of the things that we, we said on the internet, right? And, and in books and everything. Wow, this is amazing. We're gonna talk to that model. And then guess what they did? They trained their model on what-- how we talk to their model. And then, and, and that's how it got better. And then we're talking to that agent, and then they trained their agent on that. And now, wow, it's even better. Now we're talking to it again. And then they train their agent on that. Do you see what's happening? They're eating"
  },
  {
    "startMs": 2094498,
    "text": "us.  So, uh, so far there's always been something else for us to do, and there will be a limit, maybe, uh, uh, potentially where it's like, okay, no, they can't train this part of humanity. Like, it just can't be done. But like my agent was like, \"No, no, like you, you're a human, and so you have accountability and stuff.\" And I'm like, \"Why does that really matter?\" And, and like I'm still like working through all of my thoughts on this, but, uh, I do think that there is something uniquely human. Um, but"
  },
  {
    "startMs": 2124558,
    "text": "eventually we will get to a Star Trek or Terminator future, and I, I hope that it's Star Trek. You know, live long and prosper. So, um, when we get to-- Like, if we eventually get there, whether we do or not, again, nobody can predict the future. But if we get there eventually, then, um, uh, there's nothing we can do to prepare for that. And so instead, what I would like to prepare you t-to do, and this was what, what my y-YouTube video was about, is, um, uh, has to do with the adjacent possible and being"
  },
  {
    "startMs": 2154218,
    "text": "antifragile. So if you're familiar with these, uh, or if you're not, then, um, antifragile is like a fragile thing will break under pressure. A, uh, s-- a robust thing will hold under pressure, and an antifragile thing gets stronger under pressure, like your muscles. Um, and so you want to be antifragile in a, a situation where everything is chaotic. And then, uh, the adjacent possible is this idea from, um, biologist, uh, Steven Kauffman, who, um, said that like to take the next step, there was a previous step that had to be taken"
  },
  {
    "startMs": 2183938,
    "text": "first. And so we got a decision model, uh, the type one models. Wow, it's so cheap. It's so fast. Here are all the things that that makes possible, like that we never would have tried before, but now we can do those things. Super exciting and, and interesting. And so what's the durable thing that I can teach you? It's I want you to be right next to the door when it opens, when that opportunity arises. And so what that means is you have to understand problems really deeply. Go to a domain that has problems, understand those problems,"
  },
  {
    "startMs": 2214298,
    "text": "and then be very close to the opportunities as they arise. And when that opportunity shows up, you have so much understanding in this problem space that you're like, \"Oh, boom, that solves this problem so well.\" You're right next to the door, you go through it, and you take that opportunity. That's the last thing that I can think of that humans could be good for. And eventually, maybe the AI just... Now it's AGI, and who knows? Uh, I, I can't take you past that stage, but that's where we're at. So anyway, that's a long way to get back to this, where"
  },
  {
    "startMs": 2244638,
    "text": "we are not at the point where agents are going to design your s-system for you. They're not gonna design your software factory for you. Um, they aren't going to design your primitives for you. Um, they, they don't have the product vision. They-- And they don't understand the problem. Um, like you do. Um, and, and like your competit-- This was my YouTube video today. I, I released it just an hour ago. Um, your competitors are able to rebuild all of your features, uh, immediately. You ship it, they could set up a bot that watches your"
  },
  {
    "startMs": 2274373,
    "text": "product and immediately ships all of your stuff, right? But why don't they, they do that? Because there's no product vision in that, and that's not going to work, um, for the, the users long term. Maybe one day it will, um, but today that does not work. So that's what you're good for. Uh, okay, great. Let's... Twenty-two minutes. I knew this was gonna take so long. Um, th-this is so good. Like, I'm so glad that you're asking great and interesting questions. Um, let's talk about the, uh, the PR template."
  },
  {
    "startMs": 2304654,
    "text": "So here, and we gotta look at the raw version. Um, by the way, the, the product that I'm showing you is called Kody, and it's awesome, and you should absolutely go to kody.codes and sign up right now because it's fabulous. That's-- I just sold it to you, so now I, I can feel... If you want to talk to me about-- And this is the mascot. This is-- That's why I've got Kody here. Um, if you wanna ask me about it more later... Here, okay, let me just-- Plug your ears if you hate being sold to. Give me thirty seconds. So every one of these agents, Grok Bot, Muse, uh,"
  },
  {
    "startMs": 2334474,
    "text": "Dots, they're all trying to make their own ecosystem of, uh, like, \"Here, we'll-- Just give us your whole life, and we can do so much for you,\" right? When we s-first started with OpenClaw, some people were like, \"Yeah, this can't do anything for me,\" but other people went all in, and they're doing, like, all kinds of things. You know, so you have to kind of put your whole life in there, your credentials, your memories, your, uh, integrations, and, and your automations, all of that. And once you do, then, wow, it can be really powerful. So they're building these walled gardens, but if you get that deep into it, and then you decide, you know what, Grok Bot is no"
  },
  {
    "startMs": 2364394,
    "text": "longer subsidized, and I wanna go somewhere that is, uh, then you have to extract yourself from that, and you're not gonna because they are not incentivized to make it easy for you to do that. And so that's what Kody is. It's a s- a separate place that all of the agents can contribute to, and so you can use Grok Bot in the morning, and you can use Claude Duet in the evening and whatever, um, and it all there. There you go. I just sold it to you. So, um, if that's interesting to you, let me know. Um, very, uh, keyed into enterprise use cases too. Okay, so, um, the PR"
  },
  {
    "startMs": 2394474,
    "text": "starts with an intent. Um, uh, I... So I don't read most PRs. The vast majority of PRs I find out, um, when they finish with their summary at the end of the day, uh, or at the end of their, uh, their changes, they post to my Discord, which I'm looking for. Where is it? You're not even gonna be able to see this. Why am I doing this?  So it's, it's just this channel I have on Discord, and I'll scroll through, and it tells me the summary of what changed. That's how I, uh, consume PRs. Sometimes I'll see something, and I'll be like, \"Huh, I"
  },
  {
    "startMs": 2424334,
    "text": "wanna understand that a little bit better.\" Most of the time, I'm seeing stuff in here, um, that are like, yeah, I remember having that conversation with the agent. But there are other things that happen that I never-- I didn't know that this was gonna happen. I didn't decide for it to happen. It just happened. And, uh, I'll talk about that if we... Yeah, I will talk about that. So, uh, anyway, having the intent makes it really easy for me to understand what was the goal of this PR in the first place. Um, and then we have the door, two-way or one-way. How many people are familiar with this idea, the two-way and"
  },
  {
    "startMs": 2454254,
    "text": "one-way? Okay, so a two-way door is really easy to reverse. This is an, um, uh, like we're updating the footer to say, you know, like, yeah, actually, on, on, uh, my site, kody.codes, we have, uh, something in the footer that says, \"Your home.\" What the? There we go. Um, and so, like, I could change that footer. That's not gonna affect anybody. That's a two-way door. Uh, you can have changes, like more substantial changes that are two-way doors. Uh, but, uh, but yeah, just really easy, quick example. So, um,"
  },
  {
    "startMs": 2484354,
    "text": "a one-way door is really expensive to undo. Um, here's a quick example. You've got a first name and a last name field in your database, and you decide we're gonna smash those together. We'll just have a name field, make it easy, whatever. Um, that's a one-way door because some people have a space in their first or last name, and so you can't undo that. It's-- And now it's gone unle-unless you have got backups, but then you lose everything between when it happened and, and the backup. So, um, that would be a one-way door. Now, you can make one-way doors two-way doors, or at least like"
  },
  {
    "startMs": 2514414,
    "text": "help them be less of a, uh, one-way door by using feature flags, which we'll talk about, uh, a little bit later. But, uh, yeah, that's really important. And this is, uh, with that autopilot s- um, script that I, uh, told you you could give to your agents, um, this is one of the things that can determine whether the agent merges for you. If it's a two-way door, go ahead and merge it. I'll like, I'll, I'll just leave that door later. We'll revert, and it'll be fine. If it's a one-way door, do not merge it. I want to look at it first. Um, so that could be your level or wherever your level of comfort,"
  },
  {
    "startMs": 2544614,
    "text": "uh, is there. And there are o-obviously other factors that go into whether the agent would merge, uh, by itself too. Uh, okay, so then we have cleanup. Here's how you make sure that your code base doesn't just [unclear] into space, uh, on lines of code 'cause they love writing code. Man, they love it so much. They will not delete stuff. They hate deleting code, and it is really hard to make sure that they do that. Oh, let me add a fallback for that. And they're getting better at this, but they're, they're not there yet. So, uh, I always have them be"
  },
  {
    "startMs": 2574294,
    "text": "e-explicit about the feedback. And I, I've had agents that will start filling out this PR template and realize, \"Oh, you know what? I didn't think about that. Do I have anything to clean up? Oh, I do. Great. I can delete all that right now.\" So just having this in the PR template is a progressively disclosed way of telling the agent how I want it to operate in this code base. Uh, progressive disclosure is huge, by the way. It's not just like, uh, you know how s-- in skills, like that was the whole, whole thing. You got the title and the description, and then if the agent w- needs the rest of it, then it gets the rest of it. That's progressive"
  },
  {
    "startMs": 2604334,
    "text": "disclosure. Yeah, that sort of is, except, um, um, you, you want them to discover the thing that they need when they need it, not, uh, like, \"Okay, I wake up. Holy smokes, look at all this stuff. Okay, yeah, I'll remember that later. Let me go do this.\" No, no. When they need to do the thing, you want them to s-discover that, it at that time because as they go, they kind of forget. Uh, and compaction and all of that stuff. So, um, so yeah, having this be part of the PR template is really valuable. Okay. So, um,"
  },
  {
    "startMs": 2634514,
    "text": "yeah, there's either none or we need to do this, but we need to do it later, uh, or I already cleaned it up. Um, so lo-- Like we've all been developing software for a long time. You know that you need to clean things up sometimes, and you'll add a to-do comment in the code base that will live there for the next six years. Um, you know, and, and by next year, this should, uh, be removed. You're like, \"That was six years ago.\" Um, so yeah. Uh, I have it open up an issue on GitHub, and it says, \"In what circumstance are we good to go and delete this code?\" And then I have an agent every week that"
  },
  {
    "startMs": 2664394,
    "text": "goes through those and says, \"Are we in that situation?\" It'll read the production data and make sure that nobody has that old data or something like that. And, um, and then we can delete stuff. You wanna delete stuff as much as you can. Uh, and yeah, and what to delete. Uh, and then I explain why the change is needed, um, and give a summary. Um, I think that's pretty straightforward why you'd want to have those. Um, yeah, start with why and all, all that stuff. Um, may break packages. This is specific to my, uh, product because people"
  },
  {
    "startMs": 2694254,
    "text": "are, uh, having their agents write code that use my runtime, and if I need to change the runtime or something, it could break their packages, so that's what that's all about. Uh, featured screenshots are for my releases. So I've got releases automated, and I want to be able to like have screenshots of the UI th-to demonstrate the new feature. Uh, any referenced issues and PRs, um, obviously, so we closes whatever. Uh, and then manual verification. Um, and so like what, what did"
  },
  {
    "startMs": 2724274,
    "text": "you do to manually verify that this was correct? And mostly, most of the time the agents are doing that anyway, but having this in there is useful. Um, the one thing about testing that I'll mention is that they really like writing tests. I don't, I don't know about you, but they love it. And here's the problem with that is, um, let's say, let's say I, I wanted to remove this, your home, right? We're, we're gonna get rid of that. Okay, great. So which by the way, that'll look different to you whether you're logged in or not. So"
  },
  {
    "startMs": 2754274,
    "text": "I, I think it says, \"Come home,\" or something if you're not logged in. So come home. Anyway, um, so let's say I wanted to remove that. What the agent would do is it would make a test to have it be removed, say, \"Okay, assert this is not in the document.\" Great. Okay. Then it goes and it sees, okay, it fails. Good. I'm changing the thing I expect. Now I go delete it, and it passes. Make the PR. And now I've got an assertion in my test that says it doesn't have your home. Do you know what? It also doesn't have a pink elephant."
  },
  {
    "startMs": 2784254,
    "text": "It doesn't have all sorts of things on it. I hate that so much, but I don't tell it to not do that. And the reason I, I tell it to, like I don't redirect it a different way. First of all, uh, negative direction is, um, a like-- I wasn't thinking about that, but now that you mention it. Um, so like I, I try to avoid negative direction for my agents in general. But then secondly, that's actually good what it just did. It made sure that it-- the change that it made was correct. That's verification. So I don't want it to"
  },
  {
    "startMs": 2814114,
    "text": "not do that. I just don't want it to, um, I, I don't want that test to live around forever. So I have another agent that runs every night that goes through and cleans those up. Um, so that's, that's the testing, uh, piece of that. Uh, and then system changes. Let's talk about the system diagram here really quick. Uh, I need to get a PR. I think I have-- I think I've got one in the slides here. Um, maybe this one."
  },
  {
    "startMs": 2844194,
    "text": "Um,"
  },
  {
    "startMs": 2847214,
    "text": "yeah. Okay. Fix auth, uh, own handle [unclear] Yeah. Okay. This is probably a good one. Uh, okay. So we've got the system changes. This is the system recap. Um, so this, ugh, this might not be a good one. Dang it. Okay. Uh, I thought I had it. I, I probably do, and I just, uh, lost track of it. Um,"
  },
  {
    "startMs": 2868274,
    "text": "nope, that's not a great one. Sorry. Um, lots of docs changes here. Fix community. Yeah, let's try this one. This one was a lot, uh, pretty interesting. Come on, load. Dang it. Oh, there we go. Okay, great. So, um, in this, we're fixing the community packages so w- you can, um, have your agent like build a package of, of stuff on Kody and then publish it to the community so other people can fork it. Um, so it's, it's-- I, I'm, I'm going after GitHub."
  },
  {
    "startMs": 2898354,
    "text": "Um,  just kidding. Well, sort of just kidding. Who's not going after GitHub anymore? Uh, so anyway, recover, uh, fork origin files be, uh, beyond the listing pin. Okay, so this is just a, a problem in that process. And so what the system changes include is, um, the, uh, um, how it's impacting primitives. So here are the primitives touched. Yeah, this isn't a super example either 'cause it's only one primitive. Sometimes it's gonna be a bunch of primitives we're adding or we're deleting or we're, we're combining, or most of the time it's just extending, um, primitives. So this"
  },
  {
    "startMs": 2928394,
    "text": "is a community listings primitive, and, um, the-- it shows me a diagram. Uh, it's either a sequence diagram or it could be just a system, general system diagram, whatever. Um, and I don't actually look at this anymore. I used to look at this a lot more as I was reviewing things, and now my agents just, uh, merge everything by themselves. But, um, um, h- I'm still having the agent do this because it forces them to con-- uh, to recognize that they are being graded on how well they're using the existing"
  },
  {
    "startMs": 2958074,
    "text": "primitives and, um, so being intentional about that. And they do change their behavior when they hit this, and they're like, \"Oh, yeah, uh, we could probably, uh, simplify that.\" Uh, and they, they will simplify, um, before, uh, ultimately opening the PR. So that is, um, what the system, uh, changes is all about. And I have a visual-recap skill that tells it exactly how to create that diagram and all of that stuff. Um, okay, I've got ten minutes. Can you believe that? Man,"
  },
  {
    "startMs": 2988766,
    "text": "um, we had one person leave early, so we're doing pretty okay. Um, or, or y'all just nice and don't wanna make me cry. Uh, okay. Let me, let me jump into here, make sure I'm not missing any, uh, questions that, like, everybody's like, \"When is he gonna look at the questions?\" Um, yeah. Okay, great. Nobody... Uh, we don't, we don't have anything that everybody's asking for. Let me make sure I'm not skipping anything that's really-- I really need to, to talk about in the last ten minutes."
  },
  {
    "startMs": 3018806,
    "text": "That, that first piece is actually the bigger piece, so, um, we're actually doing okay. Um, so review and verification. Verification's super, super important. Here's how I, uh, do this. ship-pr. This is the skill that I have, but it, um, actually, I think you'll find the skill itself to be pretty interesting. My YouTube video next week will talk about this skill, actually. So this is the whole skill, but it's actually huge because it, uh, tells the agent to use Kody to get what the"
  },
  {
    "startMs": 3048766,
    "text": "next thing is. So, uh, I think that skills are interesting, but they are wasteful. Agents are slow, they're unreliable, they're non-deterministic by their nature. They are, uh, they cost money and, um, uh, so as much as possible, you want to take the stuff that you're asking them to do and get it into a script somewhere, uh, so that it is reliable and, and if it, if you can get it into a script somewhere that is, uh, also secure in all the services it's using, all the better. And so, um, that's why I,"
  },
  {
    "startMs": 3078786,
    "text": "uh, have mine... And I, I've been trying to avoid, like, talking up my product so much 'cause I know that some people really hate being sold to, but this is how I develop software. So you can, you could do this exact same thing without Kody. Um, but my ship-pr package, um, has several steps that agents will go through. So the agent executes this and, and it executes it on a tick. And so every time it's like, \"Okay, I'm ready. What's the next thing in the ship PR process?\" And, um, this, um,"
  },
  {
    "startMs": 3108746,
    "text": "piece of code will look at the state of things and say, \"Oh, okay, based on where we are right now with this PR, we need to mark it from draft to ready so that we can get CI going and AI review.\" Okay? So that's the next tick. And then the agent will say, \"Okay, what's the next thing?\" And it will come back and say, \"Oh, well, we're waiting on CI,\" or, \"Hey, we have CI results. They failed,\" whatever. And, \"Oh, there's also these AI reviews.\" And so it will fix those, and then it will, uh, push that up and say, \"Okay, what's the next thing?\" And it just keeps on iterating on that. And this is so great, um,"
  },
  {
    "startMs": 3138406,
    "text": "because I'm not-- Like, if I were to turn this into a skill, it would be a really long skill, and here's the process I want you to follow. But instead, I'm just saying, \"Just run this every time, and you'll get what you need at the time that you need it.\" So the agent doesn't forget, uh, and it's going to follow exactly what it needs to. And, and as much of this as deterministic as possible is good. It will save you money, all of that stuff. And in fact, I even have, um, a, uh, a type one model running in this to de-determine whether the comment is a review or if it's just somebody saying thank you or something like that."
  },
  {
    "startMs": 3168866,
    "text": "Uh, and so you can combine this and mix and match... Whoops, sorry. You can mix and match the, um, uh, inference, uh, along with your deterministic software, but make your skills deterministic as much as possible. And you can do, do this with just scripts. You don't have to use a service for that. Um, okay. So it... Once it gets through, like everything looks green, then it's gonna merge according to the risk policy. And, uh, projects can have different levels of risk policy. For mine, um, I want it to merge, um, low, medium, and high. Um,"
  },
  {
    "startMs": 3199646,
    "text": "or, or, uh, yeah. Oh, sorry. It picks that, and then I want it to merge low and medium once CI is green, and high has to wait for me, unless I explicitly say to merge, which most of the time I actually do. Um, but, uh, yep, that's... A-and it's, uh, if it's talking about auths or secrets, billing, data migrations, and destructive changes, uh, I should probably say if it's a, a one-way door, that would be considered high as well, um, insofar as it, it touches those things especially. But, uh, but yeah, that's, that process,"
  },
  {
    "startMs": 3229826,
    "text": "um, is... Oh, shoot. Let me... I'm not done. Once the merge has happened, the agent's not done. Uh, okay? The agent needs to make sure it gets it into production, right? And, uh, like, if you were implementing this yourself, you merge it, and maybe you're gonna go off to something else, but you should probably check in to make sure that it gets it into production, uh, properly. Or maybe, uh, maybe you're not merging or, uh, shipping on merge, and you're still doing the two-week release cycles that stink. I hated that. Um, but, uh, but yeah, that is the way it is."
  },
  {
    "startMs": 3259946,
    "text": "So anyway, you ultimately make sure it gets into production. Uh, it goes to the, the health endpoint to make sure that its, uh, SHA ended up in there. And then here's, here's how you really grease the wheels of your factory in the last six minutes. Um, you have the agent complain. So when you were working in your code base, uh, you would run into a problem like, \"Oh, man, I've gotta test that workflow again? Oh, it's so hard to create the data for that thing. I need the seeding the database with the right data so I can, like, go through that. Like,"
  },
  {
    "startMs": 3289926,
    "text": "that stinks. I go, \"Okay, click, click, click, click, click. Let's get a user who's in that state, and now I can test it.\" Man, I hate that. You know what I'm gonna do? I'm gonna write a script that is gonna just make it easy for me to seed that, so next time it's not so hard. And oh, man, writing the script actually stinks, so we're gonna make it easier to write scripts. And, like, the more you do that, as the code base evolves with, with humans who are just irritated by how hard it is to work in the code base, you actually get the code... You know, if you have the time and, and everything to do that, you get the code base in a pretty good place with good"
  },
  {
    "startMs": 3319786,
    "text": "workflows for developing in that code base. You have a good CLI that helps you, uh, seed the database or helps you do whatever. Um, uh, or like, man, this-- I was working on this thing and that test kept on failing, and it has nothing to do with what I'm doing. That is a friction point. I hate that. And so humans are good at that. And, and lots of times we'll be sidetracked, or we'll just, like, make a note of it and come back to it later. Agents won't do that. Agents... A-and not, not now. Like, eventually they're gonna be trained on how we're working with agents, and then they'll be like, \"Oh, we really like to tell them to"
  },
  {
    "startMs": 3349646,
    "text": "fix friction, so I guess we'll just put it out into the model.\" But right now, they don't just automatically fix everything, and so you just gotta tell them, \"All right.\" Now that you've gotten this in production, good job. Love you for it. Look at everything you did and what made it terrible to build that. Like, what was so hard? Um, did you have too much information? So like, some, uh, sometimes the agent's like, \"Oh yeah, I had everything I needed. Uh, everything went smooth.\" Uh, you gotta ask like, \"Well, how big is your brain? How much of the"
  },
  {
    "startMs": 3379590,
    "text": "stuff that you filled into your context was not necessary for the work that you did, and how could we make that better?\" All of this, like, how can we grease the wheels of this factory so that, um, we end up in a better place? And this is where most of my PRs come from. Like almost, uh, so many of the PRs are when I'm sleeping and the agents like file all these all day, and then I have another agent that goes through, it uses, uh, uh, type one model, uh, decision model to, um, decide,"
  },
  {
    "startMs": 3409670,
    "text": "okay, split these up into these five things that are related, and then boom, I'm gonna send agents to go fix all of those things. And then I wake up, and I've got a whole bunch of PRs that fix a bunch of, uh, issues. And eventually, I expect those issues would stop, but I keep on adding more features to this product, so I don't expect that to ever stop. It's never gonna be perfect. Um, but this is the sort of thing that, uh, that has been really helpful for me. Like, oh man, that-- running those tests took seventeen minutes, and that was kind of irritating. Great. Th-this is, uh, friction that one was left this morning."
  },
  {
    "startMs": 3439790,
    "text": "And I was like, \"Okay, great. I'll figure out how to make those tests run faster.\" Uh, stuff like that. So make your agents complain. And then the fi-- the last thing that they do is they report, and that's sends me that Discord message, so I have just an easy place to go and look at all of that. Um, and, uh, I could probably make a dashboard or something. Maybe I will eventually, but that's, that is my, uh, ship PR flow. Um, and that helps. Here, a-and so with just the, the last, like, tiny little bit, I, I wanna talk about the signal, um, once you have this stuff. Okay, yeah, really"
  },
  {
    "startMs": 3469750,
    "text": "quick. First, you have to have feature flags. If you don't have feature flags, I'm not gonna ask you to raise your hand 'cause that would be shameful. Get feature flags into your product right now, yesterday. Um, you... This is how you redu-- turn a one-way door into a two-way door. You have agents that are constantly shipping and experimenting on, like, you're experimenting on things. You're not sure about the product direction. Get feature flags. You need to have those. Um, and then, uh, disaster recovery. Uh, yeah, so the, the goal here is to make mistakes cheap. So you need to have backups, and you need to have"
  },
  {
    "startMs": 3499670,
    "text": "those tested. There's a, a company in, um, in Utah, actually, just my neck of the woods, uh, called PocketOS, that back in April was, uh, using Cursor with Opus 4.8, the, the flagship back in April. And, um, that agent misunderstood the instructions and, um, thought that-- or, or it didn't actually misunderstand the instructions. It kinda misunderstood the environment. But anyway, it was supposed to do something in staging, and it tried to do what it needed, what it was told to do, and it, that failed. And so it's like, oh, it's probably the"
  },
  {
    "startMs": 3529590,
    "text": "token that I was given is wrong. So let me go, \"Oh, there's a token over here in this other file. Great. Let me use that one.\" Dropped their production volume, not just the database, the volume the database was on. And guess what? At the time, they stored their, uh, production, um, database, uh, backups on the same volume as the production database. So everything's gone, and, uh, and it's not a nefarious, it's not a prompt injection thing. It's like, oh, the agent was just trying to be helpful and misunderstood. So get those .env"
  },
  {
    "startMs": 3559770,
    "text": "files off your computer. Goodness gracious. And that's-- Kody will help you with that too. Um, but, uh, there you go. Um, so, uh, first of all, like, have good backup hygiene. Don't put your backups on the same volume. Um, but secondly, um, you need to have it tested because they also hadn't even tested their backup recovery, and if they had, they, they, in retrospective, um, they realized, \"Oh, this wouldn't have worked anyway, um, so even if we had our backups,\" 'cause we never actually tested, uh, that backup recovery"
  },
  {
    "startMs": 3589590,
    "text": "story. So you've got to have backups. Please have backups. Okay. So, um, let's, uh, we talked about the friction loop. That thing rocks. Uh, you absolutely should have this. I got this idea from, um, FLog, uh, is, uh, an open source project. You can look it, look it up. It's, uh... Or Frog? No, I think it's called Frog. Um, but, uh, yeah, it's really, really good. You should absolutely do this. Uh, here's an example. I love this one. So this agent was working on something, uh, on a page, and it wasn't"
  },
  {
    "startMs": 3619290,
    "text": "working on this particular table, but it noticed that there was, um, something that sh-said, \"Expires [object Object].\" So we've, we've all seen this before. That's like a stupid, um, s- thing that we have to deal with sometimes. Uh, so it noticed that. I'm not working on that, but that seemed wrong, and so it filed an issue about it. That's like emergent behavior, right? Like, goodness, that was so cool. Uh, user, uh, affecting behavior. It, uh, said, \"Well, here's, here's what I want, a, a readable expiry date. Here's how you"
  },
  {
    "startMs": 3649110,
    "text": "reproduce it. Here's what it cost me. The users can't see when invites, uh, expire. And here's my preliminary investigation. I'm not gonna solve it. I don't wanna get too distracted by this or whatever. Um, but, uh, but here's what I would do if I was gonna build this.\" And then, um, we had a, the, uh, an agent come through and, and fix it up. Um, and, uh, yeah, that was awesome. Um, so yeah, get, get those friction log, uh, loops going. But here are a couple other loops with fifty seconds that I have left. So errors, uh,"
  },
  {
    "startMs": 3679130,
    "text": "if you're not using something like Sentry or, or something like it, I, I use Sentry. They're fabulous. Um, but if you're not, you need to, and then you wire that up to your factory, and you say, \"If an error shows up, wake u- uh, wake up one of my bots, have it decide whether or not this is a product decision that needs to be made, and if it is, then hold off and just let me know. Put that in the queue. If it's not, then just fix it.\" And, uh, when you have your system set up where you trust your agents to be able to just fix stuff with you, you wake up in the morning with all your issues fixed."
  },
  {
    "startMs": 3709010,
    "text": "It's awesome. Uh, user feedback. If you've got some sort of user feedback system, they're gonna report bugs, and those bugs can just go. If it's a product decision, then sure, stop, and this is what happens for me, that all of these just wake up one of my, uh, Grok Bots and, uh, and it says, \"Oh, yeah, that's a product decision. I'll hold off. I'll ask Kent when he wakes up in the morning.\" Uh, and then inside of Kody, we also have, like, we're executing your code, so we have a, a sort of mini Sentry inside of Kody. That's what the [unclear] is about. So you're-- Like, you can still make the product calls, and"
  },
  {
    "startMs": 3739030,
    "text": "the agents are pretty good at figuring out whether what you're doing is a product call. Um, yeah, and I, I'm pretty much... Yeah, now you can do this. Uh, feel free to, to dive into that later yourself. I'm over time, so, uh, they gave me two more minutes? No, I don't know. I'm over time. Thank you all so much. Uh, feel free to come grab stickers and, uh, all that. Thank you."
  }
]
