[
  {
    "startMs": 12440,
    "text": "Gonna get started here shortly."
  },
  {
    "startMs": 17980,
    "text": "Hi, I am Ross. I am a member of the technical staff at Factory. For those of you who do not know, Factory makes AI coding agents for the enterprise. Um, our coding agent is called Droid. It specializes across the entire SDLC. Um, but today I'm going to be talking about a new product we've been working on called Workstreams. Workstreams is the evolution of our long-running agentic workflows. So I don't know"
  },
  {
    "startMs": 47980,
    "text": "how many people here are familiar with Factory, but we used to have a product, or we still do have a product called Missions. This was our first iteration of what would it mean to have agents run pretty autonomously for days, even weeks at a time. Um, obviously, we launched that-- not obviously, we launched that in January, and the models have evolved quite a lot since then. And so Workstreams is this next evolution of all of our harness research, model evolution, and what we've seen really work for our customers. So before I do get started, I know Kyle, who's also from Factory, and Julia, who is"
  },
  {
    "startMs": 77980,
    "text": "somewhere around here, have Factory codes and various things. There will be a collaborative portion at the end. If people want to download Factory, give it a try. We have codes for free. Um, wanted to call that out at the beginning just so people had time if they'd like."
  },
  {
    "startMs": 93520,
    "text": "So really, the idea behind a Workstream is that most work is not these one-off tasks that people prompt agents for. At the end of the day, you really just want to give a direction and ultimately have the agent orchestrate that handle delegating tasks, deciding should this be a sub-agent? Should this be a new task? How should I break down PRs? You know, ultimately, as the models get smarter and smarter, more and more of this becomes implementation details that we believe should and ultimately will be abstracted away from the end developer. Uh, what it is"
  },
  {
    "startMs": 123300,
    "text": "not is saying the humans are completely out of the loop. Ultimately, it depends how you use a Workstream and what you're trying to go into, which I'll, I'll talk into next. But I think we still view that the human developer is there to guide the Workstreams, provide direction, set up the scaffolding, um, but they really shouldn't have to think about, like, how to break down PRs, how to think about, you know, \"Oh, should I do this first? Should I do that first?\" They should really have this really smart, we think of it, you know, almost like an engineering manager they can converse with, and that engineering manager can go down to their team and delegate the work."
  },
  {
    "startMs": 153240,
    "text": "So in this concept, we call it an orchestrator. So really at a high level, a Workstream is a chat with a orchestrator, and that orchestrator is really deciding how any-- everything gets implemented. Uh, there's a lot of, lot of things behind the scenes that go into how that actually works, and actually someone else from Factory, uh, I think, believe tomorrow will be going more in detail. But at a high level, it should feel like you're having a conversation with this really smart engineering manager, and they are then delegating to your agents. Um, and you can kind of see this on the side here, where"
  },
  {
    "startMs": 184280,
    "text": "the orchestrator will communicate with the agents, the agents will then communicate back. They can surface up details. Depending on how you set up your Workstream, sometimes the orchestrator will just handle all the questions from the agents. If you want to be a little more hands-on, you can kind of jump in and, you know, founder mode, if you want to call it that, and really kind of get in the nitty-gritty with each of the agents. But, uh, again, it depends how you want to use a Workstream. Which goes into nicely here. So I think there's obviously other products in the market that are trying to accomplish a similar thing, and I think"
  },
  {
    "startMs": 214260,
    "text": "what we want to specialize in on Workstreams are these six core workflows that we found really work. Or well, five core ones, and then the ability to kind of customize it, uh, to your needs. Uh, so the one that we've seen, uh, probably the most use cases internally is just a core development partner. So internally, I have a Workstream set up for-- I, I lead our apps development, and so anytime I really just wanna clean up bugs, I just have one Workstream for that. I have an orchestrator that really has context across our entire how I like to fix bugs, what"
  },
  {
    "startMs": 244300,
    "text": "bugs I think are important, um, and really I can kind of just delegate essentially how many bugs I want it to fix. Uh, because ultimately, like, the bottleneck then becomes like, okay, we're now just dealing with, like, a lot of, you know, PRs and everything like that. Uh, but ultimately, I can trust that development partner to kind of carry out my wishes around how to fix bugs. You know, especially in an app surface, it's not always exactly clear. Uh, and so we do have a concept of a shared file system, which I'll go into later, which you can think of it as a collaborative space for both"
  },
  {
    "startMs": 273920,
    "text": "agents, humans, um, and your orchestrator to kind of build this shared understanding about how you're trying to accomplish your task. Um, another one is a very hot-button topic right now, obviously, is vulnerability discovery and remediation. There is-- and I'm kind of hinting at all these core components I'll get into later, but one big component of a Workstream is the ability to set up automations within them. So anyone who's ever-- you know, you build an app, typically, there's maybe or a surface or anything like that. There is this initial hill climb to get the feature out, and then some of the things"
  },
  {
    "startMs": 303860,
    "text": "start to become these background automation tasks. And we wanted to build that natively into Workstreams from the get-go, where you can essentially tell your orchestrator, \"Hey, this is going to be a pretty continual task. I want you every day to go, you know, scan the code base for the latest vulnerabilities or things like that.\" Um, it can also be, \"Hey, do a sweep of our bug reports and triage the most important issues.\" And then that orchestrator will surface, uh, the issues to me or if I ask it to just go clean up, um, the issues itself. But we find this is really helpful for vulnerability issues because, again, it's just you need that"
  },
  {
    "startMs": 333880,
    "text": "level of autonomy where ultimately, at the end of the day, we-- and for some of these, we just auto-merge them, given obviously sometimes the complexity or simplicity. Uh, but at the end of the day, the engineer really should be there just to click approve on a PR if ultimately that's the final gate. Uh, migrations. So anyone who's ever-- who ever used our early Missions products, this was the most popular use case by far, where I have X code base and maybe some coding language, I want to get it in another. I have this legacy service I want to modernize into something else. This is by far the most hands-off use"
  },
  {
    "startMs": 363860,
    "text": "case. I've seen these run for weeks at a-- for Yeah, I'll say weeks at a time. Uh, and really, they're designed for the human to be as pretty out of the loop as possible with a heavy planning stage. So we wanted workstreams to be adaptable to sometimes, you know, you really do need a big planning stage up front, and then you can trust the agent to kind of build these validation loops. Um, and that's ultimately how we kind of view migrations is building these automated validation loops, uh, but again, that your workstream can handle. Automated research and discovery, this is probably my favorite"
  },
  {
    "startMs": 393872,
    "text": "use case of workstreams, are just really long-running agents in general. I think auto-research is another term that obviously was popularized, uh, but really just defining the objective function and then letting the agent hill climb on it, I think is going to be an increasingly popular way of doing work, especially around UI, UX performance, um, optimizations, and really anything where ultimately you're really just trying to optimize a set of numbers. Uh, agents don't get tired, and ultimately, they're really good at, uh, hill climbing on those types of things. And what we wanted to build into workstreams is the ability to"
  },
  {
    "startMs": 423812,
    "text": "maintain coherence across really long runs. Uh, we found with some other auto research tools and things like that, ultimately, you need to be a little more prescriptive and really make sure that the agent is kind of not deviating too far from your initial expectations over a long time. And again, I'll, I'll talk about this in a second, but, uh, the shared file system is really our core concept there, is trying to build, you know, the equivalent of what would a Notion project look like if it was collaborative across humans, agents-- or, well, your orchestrator agents, humans, and then obviously everyone doing-- or all the agents doing the work."
  },
  {
    "startMs": 455872,
    "text": "Um, AI development automation. I think almost every PR at Factory is just thrown through a workstream at this point as a, as a get-go, um, which I find really interesting because obviously we have our own internal, um, QA that runs on all of our PRs, but we found that everyone, especially like more senior engineers, have particular things they want to look out for. And you can't obviously customize a generic code review bot that will scan for everyone's preferences. And so, for example, I have a really strong preference to make sure we don't have any performance regressions."
  },
  {
    "startMs": 485952,
    "text": "And so I have a workstream that's basically taking any PR that touches, um, UI files and running it through kind of my pre-configured workflows for, uh, performance regressions. And I know everyone's kind of tried to, you know, encapsulate that of like, what does it mean to kind of have these... In the age of AI code review, what does it mean to still have maybe these nuances and, like, how do you incorporate human tastes and preferences and things like that without necessarily having to scale, you know, you'd spend all your time doing code review with, uh, you know, I've seen a workstream crank out a hundred PRs in"
  },
  {
    "startMs": 515912,
    "text": "a day, and ultimately you need another workstream to, uh, handle that volume. And so, you know, it's a little bit of you create, you know, create a great solution, you have to find a great, uh, defense against it. And then custom. So that's the fun part of workstreams. They build upon almost every open standard that's available. You can customize them. You can create an orchestrator to behave pretty much however you'd like, delegate however you'd like. Um, this is where we think developers are gonna have a lot of fun, and especially a lot of our, you know, bigger customers pre-configuring these workflows for their"
  },
  {
    "startMs": 545432,
    "text": "employees, uh, to come in and just have, like, a great experience off the bat."
  },
  {
    "startMs": 551272,
    "text": "So I'll kind of go through this a little faster. Um, but how setup works is ultimately you have to decide where this system's gonna run. Uh, we have a handful of compute options across, uh, you know, BYOM, our own, uh, ephemeral cloud sandboxes, a local. Uh, my favorite part of workstreams is they can pair all of these together in any which way you want. I can have a local orchestrator delegating to my Mac mini at home and also delegating to a series of cloud sandboxes that it's spun up for nes-- you know,"
  },
  {
    "startMs": 581232,
    "text": "simple tasks. I can obviously do the reverse, where I can set my home computer up as a BYOM machine and then delegate past. Ultimately, we just think this idea that everything's cloud, everything's local, everything needs to be on-prem, everything needs there. It's just you need to have the flexibility, and we wanted to design workstreams from the ground up to make sure it, it was adaptable. Uh, pick a starter, which is kind of what I mentioned earlier. Uh, confirm the goal. I think we find the best thing is you really should just chat with your orchestrator to start. What are you trying to do? What are you trying to go after? Um,"
  },
  {
    "startMs": 611872,
    "text": "I find the most fun I have with workstreams is the less I say up front and the less prescriptive I am, I get some of the most interesting results. Um, I think, you know, if you're too prescriptive, I think you're gonna end up constraining what the agents can do. And in some cases, uh, I don't wanna say the agents are smarter than me, but I think they're less maybe blinded by my biases or expectations, or I'm thinking that we need to solve something in this way. And I think when you set up a system that really can operate autonomously for long-running periods, it's really beneficial to let it come to its own conclusions, um,"
  },
  {
    "startMs": 642192,
    "text": "obviously with guardrails. But I think the best results we've seen is where you really provide this directionality goal and less prescriptive on exactly how to achieve it. Obviously, unless you do specifically, though. Um, yeah, some more questions. And then, yeah, I think the final thing is how involved you wanna be. And so this pairs with all of them that at the end of the day, development workflows are very unique. Some people wanna be-- I've seen people, you know, jumping into each orchestrator chat. I think... Where is that photo? Uh, so yeah, you know, if you have your agents right there, you know, jumping into each one, really"
  },
  {
    "startMs": 672212,
    "text": "treating it like each agent is its own session. I've seen-- I personally just talk to the orchestrator and kind of close all the other panels, um, and trust that things are gonna, you know, work out well. But ultimately, I think the one thing we've learned is you need to adapt to people's workflows, and there's no, at least in my opinion, no right way to build software today. I think there's a lot of great ways, but ultimately, it depends what you're doing, how you're doing, how you prefer to work, and honestly, what you just enjoy. Um, you know, it's one thing to say you can take your hands off the wheel, but if you like your hands on the"
  },
  {
    "startMs": 702212,
    "text": "wheel, that's-- I, I think it's crazy to say the otherwise. So here's a little high-level, uh, diagram, but really this is essentially everything I've been sharing earlier, just maybe in a nicer picture. Uh, the one thing I wanted to call out are the automations and the shared folder. So you can think of these as these shared context spaces across all of the agents working. The shared folder can be plans, notes, handoffs, uh- It is interesting because depending on how prescriptive you be--"
  },
  {
    "startMs": 732264,
    "text": "uh, you are, sometimes the, uh, the agents like to communicate in fun ways that I don't exactly-- not, not to, not a, not a that type of way I don't understand, but in a way that is, uh, you know, very adaptive, and you can see really this, like, really cool coordination happening. Um, and then sometimes I actually prompt a lot of my agents to say, \"In this shared folder, keep a space for us,\" and that's where I want the notes a lot more structured. I want the notes a lot easier for me to follow, um, versus when it's the agents communicating, it's actually pretty interesting patterns that, uh, emerge. Um, but yeah,"
  },
  {
    "startMs": 762283,
    "text": "ultimately, this can be outputs, images, plans, specs, learnings. For my code review workflow, I actually have a folder for each person on my team who I have basically learned preferences and learned, uh, maybe areas where I think they often make mistakes. And so I think it's kind of building this shared understanding that ultimately now my orchestrator can just pull that in, uh, whenever I send a PR. And then on the back end, as I was kind of saying,"
  },
  {
    "startMs": 787584,
    "text": "the agent can delegate across any environment, team, et cetera. And then at the end of the day, you get, um, PRs. That's ultimately the output I think we're optimizing for. We have some internal workflows where people are using this for non-technical work, but I think ultimately really where we're headed initially is you'll get a list of PRs. Uh, we have, uh, yeah, and then you get to review them right in the app and hopefully merge them."
  },
  {
    "startMs": 812764,
    "text": "So kind of been hinting at a lot of these. Ultimately, the orchestrator's job is to coordinate the agents. So we give it a series of tools. I don't think these are the exact tools, but it's representative of the tools that the agent has to basically create agents, ask what they're doing, receive a message, um, interrupt an agent, and, uh, create an automation. And really, the only job of the orchestrator is to make sure that you are having an enjoyable development workflow and that things are getting done. Uh, they really should not be doing any work. Uh, sometimes it is helpful if you just have a quick"
  },
  {
    "startMs": 842604,
    "text": "question, but really, they should be delegating as much as possible. And I think what that allows you to do is main-- y-maintain an always-on partner to ask questions. I think people have tried to figure out how do you do this with side chats and, you know, multiple sessions and things like that. I think our solution is that the orchestrator should always be available and really just delegate everything out so that then when you come in, you're not really interrupting anything. Um, and the agent can hand-- figure out if it needs to go, uh, interrupt or do anything else."
  },
  {
    "startMs": 872884,
    "text": "The agents, so these you can think of as the close semblance to like what sessions have existed for, you know, maybe the better part of the last year, where you can configure them with the model, skills, MCPs, you know, basically any open standard you want. They report back to the orchestrator. Um, they can be long-lived. I've seen some agents that honestly kind of outlive, um, you know, maybe not, you know, a week's worth of work. They can be throwaway agents. Really, this is again, somewhat how you prompt the agent and also how you, um, you know, what you're working on."
  },
  {
    "startMs": 904504,
    "text": "Machines, yeah, I talked about this a little earlier, but we believe that really this should work across any type of environment that you are doing development in, and it should work-- You shouldn't be constrained just 'cause you started in one and you delegate to the other. If you have, you know, and sometimes in a corporate setting, you have information that has to live on specific types of BYOM machines, but you really wanna be able to fan out other work across kind of an ephemeral cloud compute plane. Um, and then ultimately, maybe you have some files locally you need to orchestrate, or the orchestrator needs access to. And so really, we want it to be"
  },
  {
    "startMs": 934424,
    "text": "adaptable. I do find that the scalable cloud compute is really the best way to run this at scale. Um, I think the best-- a lot of the best results from Workstreams come from being able to fan out work across ten, twenty, thirty, forty different, um, agents, and each one of those agents typically will run on their own machine. And so this is something where we are seeing that, you know, how can you make sure that you have this type of scalable compute infrastructure? And we think it's gonna be, uh, increasingly important to make sure, uh, as we kind of get into this next layer of agentic"
  },
  {
    "startMs": 964204,
    "text": "orchestration."
  },
  {
    "startMs": 967404,
    "text": "The shared folder. So I wanted to talk a, a good bit about this. Um, one thing we learned with Missions, which was our, our first foray into agentic orches-- or, you know, lo-long-running agentic orchestration, is that maintaining coherence, um, especially as you make the objective function less and less defined, is quite hard. Uh, obviously, if you create a long-running agent, you say, \"I want to get this number smaller,\" it can kind of maintain coherence because it has that North Star. Uh, as soon as you start saying, \"I want to make this product better,\" well, that"
  },
  {
    "startMs": 997204,
    "text": "becomes a little more subjective. Little becomes, you know, what is better? Sometimes maybe removing a feature is better, but you don't want to remove the feature. You know, it's all these things where you need to kind of understand preferences and taste and kind of these like micro-interactions you might have with the orchestrator where it suggests something. You're like, \"Mm, no, I really care about this.\" Well, you don't want to have to keep saying that. And so the shared folder is our kind of thought on how,"
  },
  {
    "startMs": 1023604,
    "text": "I guess, large scale projects will be orchestrated across humans, agent-- humans and agents, uh, in the long run. And so the agents can write up to the shared folder, the orchestrator can write up to the shared folder, obviously, humans can read it, and then everyone can obviously pull down from the shared folder. And the agents are prompted to basically use this as a source of truth, um, and actually, sometimes it is how they communicate. So they can communicate with each other, but also it's very helpful if multiple agents are working up on one project to be able to basically write everything up, and then"
  },
  {
    "startMs": 1053444,
    "text": "everyone can pull everything down. Uh, you get into some fun like race conditions, but I, I think we've solved that in a, a pretty-- some fun, interesting ways. And actually, it's pretty amazing how adaptable the agents are to like understanding when something feels out of date and then kind of basically asking the other agent to update it and everything like that. Uh, I think it's one of those-- it's one of those things where I think, yeah, agents really are quite, quite adaptable to-- for their ability to handle what I think used to be maybe blocking edge cases where it's like, \"Oh, this would never work.\" Um, they're just, they're just quite smart."
  },
  {
    "startMs": 1083724,
    "text": "Um, I think the general rule of thumb is if a human would, uh, kind of understand that, then at this point, we find that especially for large-scale collaboration, agents are, uh, sometimes better."
  },
  {
    "startMs": 1094616,
    "text": "And as I said, the ultimate end result is a pull request. And so at the end of the day, you'll get a list of pull requests. Um, you'll be able to review it directly, um, in our app. Uh, we've built some really fun stuff when it comes to actually viewing these pull requests, um, around, like, semantic diffs, walkthroughs, validations. Because as easy as it-- as easy as it might be to say that, \"Oh, you know, you need to read through the code, you need to understand what your agents are doing,\" when the workstream is populating, you know, hundreds of PRs, um, potentially a day,"
  },
  {
    "startMs": 1125376,
    "text": "really, you need to pull up the level of understanding to what humans can kind of quickly go through. And we find what we've built with walkthroughs, which I don't know if I have in the slides, but I have a example of later, uh, is really a great way to do that. And I think you really have to start rethinking code review at scale when you start, you know, kind of implementing these types of solutions. And so I think baking workstream-- or pull requests into workstreams from day one was something we just realized you had to do or else you, uh... Actually, the first version of workstreams did not have any"
  },
  {
    "startMs": 1155376,
    "text": "of this, and we ended up with a lot of draft pull requests, uh, that were not merged, and that's, you know, not good for anyone."
  },
  {
    "startMs": 1162836,
    "text": "The final thing, I think. Yeah. Final thing, automations. So as I said earlier, you don't want the human to have to keep going into the chat every day and saying, \"Hey, can you go check my inbox and see...\" Or well, not inbox. \"Can you go check our Linear, uh, and see if there's any new bug reports?\" A lot of that is pretty monotonous. You can put that on autopilot, and so automations are built directly into a workstream, where either the human can suggest that and say, \"Hey, I'm...\" You know, every day. Yeah. Every weekday at nine, summarize the open to-dos."
  },
  {
    "startMs": 1192816,
    "text": "Uh, what I find most powerful is actually the orchestrator can create these automations as it kind of discovers the workflows that you're doing. Um, obviously, again, depending on how hands-on you want to be, it will ask for your approval. But I think people often find that you get used to these micro frictions of just every day doing something. And really, the goal of the orchestrator is to try to make this as smooth as possible, and we find giving it as much powerful-- as much power as possible to really create, um, these new types of-- what's the right word? Kind of these new types of workflows for you,"
  },
  {
    "startMs": 1222796,
    "text": "and then be like, \"Hey, wouldn't this be more helpful?\""
  },
  {
    "startMs": 1227536,
    "text": "So in the hands-on portion, which I don't know, by a show of hands, does anyone actually have Factory up with a workstream possibly able to be working on? Okay. All good. I can--  I'll do more of a live demo then. I was, uh, prepared for this. Um."
  },
  {
    "startMs": 1252556,
    "text": "Go, Ross."
  },
  {
    "startMs": 1254136,
    "text": "Hey, Dex. This is also Dex. He'll be around to help as well. If anyone does like to get started, we do have Dex and Kyle, um, who would be happy to answer any, like, maybe specific questions if you need help getting started as we go. Um, let me see if I can make this bigger. Um."
  },
  {
    "startMs": 1279396,
    "text": "Oh, the fun of live demos."
  },
  {
    "startMs": 1285236,
    "text": "Good fun."
  },
  {
    "startMs": 1289336,
    "text": "While I debug this in the background, 'cause this was working earlier, uh, does anyone have any specific questions or anything in particular they would like me to go deeper into, uh, when it comes to workstreams and what we've seen work?"
  },
  {
    "startMs": 1302576,
    "text": "Any thoughts? Anything that people find very interesting?"
  },
  {
    "startMs": 1306596,
    "text": "Uh, yeah."
  },
  {
    "startMs": 1306876,
    "text": "Perfect."
  },
  {
    "startMs": 1307176,
    "text": "Do you use different models for the review from the orchestrator and/or for the executing agents?"
  },
  {
    "startMs": 1312316,
    "text": "Yes. So the models can be configured across the different agents and the orchestrator. I believe right now it is constrained to a orchestrator model and a worker model. Um, the next evolution, I believe we want to let the orchestrator essentially delegate to the model of choice. Um, obviously, 'cause you might-- And then each, uh, sub-agent or agent can then delegate to sub-agents, which then can have their own models. And so really our typical suggestion is your highest level orchestrator is your state-of-the-art model, and then you cascade down as the work gets simpler and"
  },
  {
    "startMs": 1342176,
    "text": "simpler."
  },
  {
    "startMs": 1354236,
    "text": "This is fine."
  },
  {
    "startMs": 1358196,
    "text": "So we need a local."
  },
  {
    "startMs": 1362136,
    "text": "Okay, perfect. We're gonna do this locally then. Um."
  },
  {
    "startMs": 1365176,
    "text": "Can we get this right there as well?"
  },
  {
    "startMs": 1369336,
    "text": "Um, yes. I believe that we can share that. Yeah. That sounds great. Um, okay, perfect. So let's-- We're gonna run this locally. Um,"
  },
  {
    "startMs": 1384496,
    "text": "mm."
  },
  {
    "startMs": 1385936,
    "text": "If you can think of [unclear], it’s also going to [unclear] for each workflow and then each [unclear] pipeline?"
  },
  {
    "startMs": 1397536,
    "text": "Is it a workflow that provides the engineering pipeline?"
  },
  {
    "startMs": 1400736,
    "text": "Like, um, planning."
  },
  {
    "startMs": 1402676,
    "text": "Yes. Yeah. So this-- It really adapts to the workflows you have. So we have people who are using it kind of really who want to automate the SDLC. And I think what that creates is you can have this planning stage where you just suggest to your agent, \"I wanna make things, you know, faster, better. I need to solve this customer pain point.\" And it will first present you with a series of plans, specs, kind of how you define them, and then you can approve those and delegate off all the way to PR review, where then you can have automations that essentially review the code, and then if you're"
  },
  {
    "startMs": 1432536,
    "text": "feeling risky, auto-merge or obviously get people to, to merge those code pieces. Um, perfect."
  },
  {
    "startMs": 1440456,
    "text": "Kyle, do you have any good demos we could run possibly?"
  },
  {
    "startMs": 1442756,
    "text": "I have a demo."
  },
  {
    "startMs": 1443496,
    "text": "Oh, Dex."
  },
  {
    "startMs": 1445396,
    "text": "I mean, I can show a workstream I've been working on for basically a week now, and like what it was like to run from left."
  },
  {
    "startMs": 1452376,
    "text": "I think that would be amazing."
  },
  {
    "startMs": 1453160,
    "text": "All right. Well, then-"
  },
  {
    "startMs": 1462224,
    "text": "I think you have a loud enough voice."
  },
  {
    "startMs": 1463444,
    "text": "What?"
  },
  {
    "startMs": 1463924,
    "text": "Do you have a loud enough voice?"
  },
  {
    "startMs": 1465104,
    "text": "Uh."
  },
  {
    "startMs": 1465824,
    "text": "To have like-"
  },
  {
    "startMs": 1466324,
    "text": "Oh, I can, I can... Does this one-"
  },
  {
    "startMs": 1467824,
    "text": "There we go."
  },
  {
    "startMs": 1468044,
    "text": "Is this one hot?"
  },
  {
    "startMs": 1468764,
    "text": "Probably."
  },
  {
    "startMs": 1469204,
    "text": "Can you guys hear me okay? What's up, everybody? Uh, I am Dex. Uh, I work with Ross and, uh, Kyle. Uh, formerly I was the CEO of, uh, HumanLayer, uh, but we have now joined forces. Uh, and, uh, while he's getting that set up, 'cause, like, I can show you all basically what a Workstream... Well, would you rather see, like, one from scratch, or, like, what does a Workstream look like after it's been running for a while with all the pieces going?"
  },
  {
    "startMs": 1494084,
    "text": "After it's been going."
  },
  {
    "startMs": 1495204,
    "text": "Okay. All right. Uh, I did not make out any of that in any manner, but I'm gonna do the thing I said I was gonna do, and we're gonna see how it goes.  Um. Oh."
  },
  {
    "startMs": 1508644,
    "text": "Give Ross a break. I know he's been talking for, what is it, like forty minutes on stage? I've done one forty-minute talk in my entire, like, life of doing talks, and I think twenty is, twenty is the, is, is where I run out of steam. Um, let's see. All right. Can you guys see this? Nope. Uh, display. Actually, we'll move this over. Display is... Are you just mirroring, Ross?"
  },
  {
    "startMs": 1533924,
    "text": "Yeah, mirror."
  },
  {
    "startMs": 1534684,
    "text": "Okay. Let's see what we got."
  },
  {
    "startMs": 1541284,
    "text": "And incredible. Um, okay, cool. So, uh, this is a Workstream I've been working on for quite a while now. Um, it's got... And I can zoom this in a little bit maybe. Um, I'm working on a specific feature, uh, for Factory, actually a Workstreams related feature. Um, but I'll close the sidebar just so we can see this a little bit better. Um, so I have my orchestrator. Um, it's been running for, uh, basically since, like, uh, roughly two weeks ago, I started all this work. So it's got a"
  },
  {
    "startMs": 1571344,
    "text": "ton of different agents, all of whom are-- have been working on various bits of research and things like this. And then, uh, has anyone heard of like RPI or Crispy? Like this like methodology of like context compaction with agents? Um, so yeah. I've been using the shared file system to track all of my RPI docs. So we have like research on like some roadmap stuff. We have, um, like a product requirements document of like the thing we're gonna build. Um, and then we have"
  },
  {
    "startMs": 1601304,
    "text": "like a whole stack of PRs. So there's, you know, 22 merged PRs from here, um, and five draft PRs, and two open PRs. Uh, I did have like 30 open PRs or 10 open PRs, but then the CI team told me that we should, uh, stop thrashing all the review bots, so. Uh, but I have this thing, it has a rule of like, hey, have two open PRs at any given time. Uh, keep an eye on them, watch them, uh, update them, or merge in issues with them. So it's like I can just come in here and like check... Oh, so this is a"
  },
  {
    "startMs": 1630964,
    "text": "specific agent, but I'll go back to the orchestrator, and I can say like, \"Let's check on the open PR statuses.\""
  },
  {
    "startMs": 1640884,
    "text": "And, uh, we'll see what we got. And then, yeah, we have the PR review in. The PR view in here I, I'm a huge fan of. I basically don't even review PRs on GitHub anymore 'cause it just surfaces all of the interesting stuff. Looks like this one was approved and was small enough to be eligible for auto merge. So, uh, but other things that this, this, uh, work tree... So I was gonna check on that. We'll jump back. Other things that this thing is, uh, managing is like, basically like our product requirements docs and like being able to"
  },
  {
    "startMs": 1670904,
    "text": "ta- work with the team and like kind of align on what are we gonna build and what is it gonna look like. And so like I can send this to my team and get feedback from product, from other engineers who have a lot of opinions. Uh, and then also had my Workstream walk through like building out the technical design of like what are the database tables gonna look like, and like what order are we gonna do all this work? 'Cause this is like probably like 20,000 lines of code for this feature, of which we've done, uh, you know, a few thousand so far in the last couple days. It's a lot of planning up front. Um, so really powerful like"
  },
  {
    "startMs": 1700624,
    "text": "workspace to have a long-running large project and manage the context with your team. Um, so let's see what it said about our PRs. So can merge now. Approved. All checks passed, ready to merge. Let's merge and promote the next draft into an open slot. Uh, that's really the basics. I don't know, Ross, did you, do you have, do you have something you wanna show off? Should I just do like creating one from scratch? Do people have questions so far about like how we're using this and"
  },
  {
    "startMs": 1730644,
    "text": "like why it's dope? Yes."
  },
  {
    "startMs": 1734724,
    "text": "I understand the purpose of the system. I didn't quite understood where all the stages of your SDLC are presented here. So we saw the PRD."
  },
  {
    "startMs": 1743504,
    "text": "Yeah."
  },
  {
    "startMs": 1744304,
    "text": "And probably the next stage?"
  },
  {
    "startMs": 1746204,
    "text": "There's PRD, there's tech design, there's how do we break it out into slices."
  },
  {
    "startMs": 1750204,
    "text": "I don't see all the stages here. How can I know what's next?"
  },
  {
    "startMs": 1753244,
    "text": "Ah, that's a great question. Um, so it's... Actually, it's not visualized here. That's actually a thing that we're talking about like kind of baking into the UI more so. Uh, I'm using a open source skill that you are welcome to grab, which, um, let me just unplug quickly 'cause I'm gonna switch to my browser, and who knows what tab is open. Um, oh, I know what tab is open 'cause I opened this. Um, all right, here we go. We're going back."
  },
  {
    "startMs": 1782244,
    "text": "Um, so this is currently still in the like HumanLayer skills repo, but we're gonna get this like packaged up and, and probably some- somehow merged into Factory. But it's basically a single skill that has all of the stages of, of product design, uh, and, and building built into it. This is how I like to build. But the idea with Workstreams is not to bring opinions about how your SDLC works. It's to give you the right building blocks so that you can kind of codify in skills and"
  },
  {
    "startMs": 1811944,
    "text": "prompts how your team likes to work. And then you have the shared file system as a source of like shared context between agents. You have the orchestrator, and then you have the automations feature, which allows you to kinda say like, \"Hey, every hour check on the open PRs, and if there's merge conflicts, go fix them,\" or thing, things like this. That's like the most generic like simple automation. I don't actually think I have that Um, create an automation so that when PRs are ready to go,"
  },
  {
    "startMs": 1841740,
    "text": "they get merged."
  },
  {
    "startMs": 1846340,
    "text": "Um, 'cause I, I, I left this last night, I came back to it and it's like, \"Hey, this PR is ready to merge.\" I'm like, okay, well, if it's approved and, and everything, like, why isn't it, why isn't it merged? So, uh, we need an automation for that. Um, but the other thing I think that's interesting is just, like, talking through how all this fits together,"
  },
  {
    "startMs": 1862960,
    "text": "um, which is, you know, you have the workstream itself, which is sort of the large parent object of all of this stuff. And then in here you have the orchestrator, which will run, you know, any number of agents, agent one, agent two, and it will sort of like archive these if their, if their job is like completely finished. Um, but like our agent that built that product requirements doc is still open, and every time we hit a surprise during development, uh, the orchestrator, without being prompted,"
  },
  {
    "startMs": 1892920,
    "text": "is going back to my PRD agent and having it update that, like, description of what we're building as well. Um, the other things that sit in here are the, like, shared file system. So the orchestrator and all of the agents, um... Oops. The orchestrator and all the agents are basically all able to read files, write files, communicate with each other through that file system. And then, yeah, we have this automations thing, uh, which is basically the orchestrator or"
  },
  {
    "startMs": 1922940,
    "text": "any agent can basically create a trigger. Like, the simplest version of this is, like, on a cron, send a message to, you know, agent, whether that's one of the individual agents or the orchestrator agent. Um, and so these automations kind of talk back. There's also stuff here, uh, where you can, um... Ross, I believe, do we have webhooks too?"
  },
  {
    "startMs": 1944440,
    "text": "Yes."
  },
  {
    "startMs": 1944960,
    "text": "Yeah. So you can tie this up to, like, webhooks, like if a, you know, PR review comes in with, like, requested changes, send it to the agent. Comes in with requested changes. I know, I know this is planned, but I wasn't sure if it was out yet. Uh, send to the agent. Send to $agent. And these are kind of like, for me, the, the, the main building blocks you need to run a giant agent swarm. You need the ability to manage a bunch of different workers."
  },
  {
    "startMs": 1974980,
    "text": "You need, uh, a way to wake things up, whether on a schedule or, uh, or in response to an event. And you need a way for all those systems to kind of share context and share memory. Um, and so when I run this, I have this orchestrator is running on one, like, server that is built off of a template. Uh, so I'm running all this in the cloud. You can also run this locally. Um, so I have a template, which then every time a new agent runs, it gets a fresh template with just the repo checked out, and so the orchestrator will tell it, \"Hey, go get"
  },
  {
    "startMs": 2004960,
    "text": "that branch that the other agent was working on,\" or, like, they can communicate to each other through Git or however you'd like as far as, like, sharing work in progress. Um, but every agent kind of sits on this, uh, in like a VM/sandbox, um, for each agent. And so the template has my setup of, like, my skill. It's just like a Bash script. Uh, I can actually show you probably. Um,"
  },
  {
    "startMs": 2031860,
    "text": "let's see. Uh, yeah. So we just have all these environments on the team, and so, like, this one is mine, and it's just got a setup script that, like, installs a couple tools and things like this. And then anytime an agent launches, it gets all this set up. Uh, and this is like a pre-baked image. This doesn't run, uh, this doesn't run every time an agent launches. We bake the image one time every time you change the script. Other questions?"
  },
  {
    "startMs": 2052760,
    "text": "Yeah."
  },
  {
    "startMs": 2053260,
    "text": "Yeah. What's up?"
  },
  {
    "startMs": 2054000,
    "text": "If we go back to the diagram, uh-"
  },
  {
    "startMs": 2055920,
    "text": "Yeah"
  },
  {
    "startMs": 2056120,
    "text": "... is, uh, the only way for agent one to know what's been done by agent two is just by looking at the shared file system or is there another system that you've implemented that allows them to gain knowledge on what's been done previously?"
  },
  {
    "startMs": 2068180,
    "text": "Um, so they also talk-- They, they can talk to the orchestrator. So they, they, they can send messages to the orchestrator with a tool, and the orchestrator can interrupt them and inject message-- like steering messages into them, either as they're working or if they're stopped. Um, I can also just go to one of these specific agents. Um, let's see. I can just pop into one of these specific agents and talk to it directly. I find myself, eighty percent of the time, I am talking to the orchestrator, and then every once in a while, if I'm doing like a very, like, an interview, sort of like a Matt Pocock"
  },
  {
    "startMs": 2098200,
    "text": "style, like grill me thing, I may just talk directly with that agent so that it doesn't have to like do two hops through the whole thing. But you can see here that this one created an automation, which we'll check every fifteen minutes. Uh, and then it messaged one of my working agents that's working on, like, slice number five of like, \"Hey, by the way, I made an automation that will ping you every thirty minutes,\" or whatever it is. Um, and so it's like, yeah, you, you can stop checking every thirty minutes. You will get a, you will get a ping. Um, and so they, they can message each other. So I can come here and, like, tell the"
  },
  {
    "startMs": 2128100,
    "text": "orchestrator, \"You're on screen at a fun workshop.\" Um, and so you can see here it sent another message of like, \"Hey, I redeployed the site with the tech design. Um, heads up from the human. I'm on screen at a fun workshop right now.\" And then in the orchestrator view, we'll see that it, uh,"
  },
  {
    "startMs": 2156780,
    "text": "um... Oh, it got a message from TDD, and it's thinking about it. Um, I'll keep things quiet. Yeah. Thank you. Don't post anything in Slack without me. Cheers. Uh, other questions? And Ross, I don't know if you wanna, you wanna come help answer questions or whatever-"
  },
  {
    "startMs": 2172800,
    "text": "I've been, uh-"
  },
  {
    "startMs": 2173200,
    "text": "... the demo."
  },
  {
    "startMs": 2174360,
    "text": "My, my computer decided to stop working midway through, so I've been live-"
  },
  {
    "startMs": 2177860,
    "text": "Oh, nice. Okay"
  },
  {
    "startMs": 2178480,
    "text": "... on that. But yeah, happy to help answering the questions while I work on this."
  },
  {
    "startMs": 2180920,
    "text": "Yeah. What's up?"
  },
  {
    "startMs": 2181820,
    "text": "Yeah. Dex, you gave a pretty great talk maybe a few months ago on Why Software Factories Scale."
  },
  {
    "startMs": 2187240,
    "text": "Oh, God. All right."
  },
  {
    "startMs": 2188840,
    "text": "And I thought it was pretty good. Good idea from your experience. It's clearly what you do a lot of this."
  },
  {
    "startMs": 2193740,
    "text": "Yeah."
  },
  {
    "startMs": 2194500,
    "text": "On"
  },
  {
    "startMs": 2195392,
    "text": "Pushing a lot of the time invested in reviewing PRs through the upfront spec."
  },
  {
    "startMs": 2200012,
    "text": "Yeah."
  },
  {
    "startMs": 2200432,
    "text": "Can you talk a bit, just from a high level, how well that's worked transitioning to a new, presumably much larger team? How much of your time are you actually still spending communicating with agents in chat versus letting things run after you've put together a very well, you know-"
  },
  {
    "startMs": 2214412,
    "text": "Yeah"
  },
  {
    "startMs": 2214512,
    "text": "... documented spec for a new feature?"
  },
  {
    "startMs": 2216112,
    "text": "All right. So first of all, \"Why Software Factories Fail\" was probably a bad name for that talk. Uh, and if you watch it, you kind of understand, like, I actually love software factories, right? And the whole point was, like, not all software factories are doomed to fail, but there are things you could do that might cause your software d- factory to fail. And, uh, I, you know, here's what they are, and please don't do them. Uh, things like going fully lights off and things like that, and, like, losing touch with the architecture of your system. Um, I will talk more about that, uh, on Thursday at the keynote, um, about like, hey, what's"
  },
  {
    "startMs": 2246132,
    "text": "the next chapter and how has that thinking evolved? But, uh, overall, I think upfront planning and building, like, product requirements docs like this is, like, so much more useful on a team of 50 engineers especially. Everyone's super high agency, everyone's super autonomous, everyone's building 10 different things at once. Uh, or we have these little, like, autonomous pods, and so it's, like, very useful to be able to be like, \"Hey, here's what I'm thinking about this feature.\" And people are very active and chime in and give feedback. And, like, I even built, like, a janky, like, commenting system into"
  },
  {
    "startMs": 2276072,
    "text": "here where I could say, like, \"This sucks.\" Uh, this is actually just, like, fun HTML trick you can do if you're doing static HTML, is you could say, like, keep it all-- There's no back end to this, right? So I say, \"This sucks.\" I say, \"This is great.\" Uh, and then this thing just stores those comments in localStorage. So if I re-refresh the page, I can just copy them onto my clipboard, uh, and then I can, like, paste them into my agent like this. Uh, and it just tells it like, \"Hey, the human said this about this part of the doc.\" Um, so these are the kind of workflows, and so, like, people would send me these. I, yeah, my-- The short-- The, the very"
  },
  {
    "startMs": 2306112,
    "text": "long answer, but I think the short answer is that, um, the, uh, the bigger your team and the more that is happening, the more valuable it is. I mean, before it was, like, me and Kyle and a couple engineering contractors, and it was kind of like, yeah, we do this review stuff 'cause we believe it's important and we need to use the project to do it-- the product to do it so we can make the best product. But I think it matters even more. And I mean, the thesis was always like the, if you're in an enterprise with hundreds of engineers and hundreds of repos, this gets even more valuable. Great question. Yes."
  },
  {
    "startMs": 2334592,
    "text": "So with so many PRs to review, how do you help people to stay attached with what's going on? Ross mentioned something about doing some walkthrough [unclear]. Can you expand on this one?"
  },
  {
    "startMs": 2347312,
    "text": "Yeah. What is that one? You wanna show that off?"
  },
  {
    "startMs": 2348812,
    "text": "Yeah, I can show that real fast."
  },
  {
    "startMs": 2349952,
    "text": "Did we fix your, did we fix your laptop?"
  },
  {
    "startMs": 2351432,
    "text": "It's, it is slowly getting back to sanity. I don't know what I did to it."
  },
  {
    "startMs": 2355192,
    "text": "All right."
  },
  {
    "startMs": 2367832,
    "text": "Uh, perfect. Okay. Yeah. Um, this is actually for a random feature I had a workstream work on."
  },
  {
    "startMs": 2374192,
    "text": "Oh, yeah. That's the thing, Ross.  I was saying I love this thing and then I didn't show them the cool part of it."
  },
  {
    "startMs": 2379252,
    "text": "Um, so yeah, it starts off just like a normal PR review. This should feel a lot like GitHub. Um, Files changed, again, should feel a lot like GitHub. But Walkthrough is kind of our opinionated take around what we think code review should be or will increasingly become. So you can kind of click through these product changes. It should tell you, you know, where in the code did this actually happen, things like that. Um, we tend to break it down of like what will a u... This is a UI change, so it breaks it down into what will, like, the user experience change, and that's the product change. Um, under the"
  },
  {
    "startMs": 2409112,
    "text": "hood, obviously, how does this all work? Then you get the architecture of basically kind of walking through how these different changes happen. So this is not really like a, like, systems architecture. It's more of like a code architecture of like, where are these changes happening? Um, where were files added? Where were they modified? Where were they possibly removed? Um, this is a relatively small change, so it's still pretty, pretty easy to follow, but... And then it breaks it down into a semantic, essentially a semantic diff, where it kind of walks you through each one of these changes, um, what happened, where the files"
  },
  {
    "startMs": 2439092,
    "text": "changed. Um, obviously, if there are just any normal GitHub comments and things like that that run, they'll show up where they should. Um, I don't know if this-"
  },
  {
    "startMs": 2447292,
    "text": "And I'll just say, like, what's really cool about this grouping is, like, if you open a PR in GitHub, you usually get it in alphanumeric order. And like, I don't know how you're, how, like, you review code, but like, when we were working on HumanLayer, it was always like, okay, I have to scroll all the way to, like, packages/db 'cause the first thing I wanna read is, like, what new tables are we adding and what new schemas are we adding? And then I wanna scroll up midway through the PR to find the API stuff, and then I always wanna read the web app stuff last. But if you're just doing it in alphanumeric order, like, you're gonna get all the changes, like, way out of"
  },
  {
    "startMs": 2477132,
    "text": "order. And like, this is the problem that AI is actually really, really good at solving of, like, take all the information that's here and restructure it so it's more consumable."
  },
  {
    "startMs": 2485372,
    "text": "Yeah. And then I think the final thing for like... So if this is a UI change, we always, um, push through a validation PR. So have the agent then walk through the exact product changes, run the app locally, or, well, in the cloud in this case, and then send you a video of what the new change would look like. This obviously works when you're working in, like, a front-end styled repo. But, uh, basically, the, the general concept is you should make PRs as human readable as possible. You should have as, as much visual evidence as possible and as much things that allow people to get context without"
  },
  {
    "startMs": 2515192,
    "text": "necessarily having to read every line of code. Um, my actual, like, code review, I was mentioning this earlier, my-- I do then have an opinionated code review workstream that is around specific files. So I think as Dex was kind of mentioning, like, there are still files that matter, in my opinion. Uh, but not every file should have the same level of importance. And so how do you kind of pull out these very core files that you probably should still understand at very, at a pretty deep level how the code works, while pulling out the noise of like, you know, you made a bunch of"
  },
  {
    "startMs": 2545012,
    "text": "components that arguably, you know, it's, the agents wrote them anyway. They're gonna understand them a lot better."
  },
  {
    "startMs": 2549852,
    "text": "Or maybe there's like specific patterns in the code base that, hey, you've reviewed 30 PRs in the last month, and you're like, \"I keep seeing this issue,\" and like, \"I'm happy to keep commenting on it,\" but like, how do I like log that and make sure that, like, these things that we, we know the agents have a propensity for doing that we maybe don't think is optimal. Like, how do you, how do you bake your opinions into that review process? Uh, whether it's by file or by pattern or whatever."
  },
  {
    "startMs": 2570072,
    "text": "I was gonna say, very nicely, this is my detection pattern file that's in their shared file system for reviewing front-end PRs. But Basically, it's all the patterns I've noticed that I find people mess up in our code base. Then the idea is you can pull this back. So actually, I now have a workflow that pulls this back into skills that then modify how we tell the agents how to do certain things in the code base to hopefully make this like a self-improving loop. Um-"
  },
  {
    "startMs": 2592836,
    "text": "Do you, do you talk to the AI to build this out, or is this like an automation that just checks whenever you review a PR, like tries to pull new insights out of your code base?"
  },
  {
    "startMs": 2600516,
    "text": "This was part of how I set up the c-- This is how I set up the workstream, was basically my whole goal is to build like this knowledge base. And so as you review, check against our detection patterns, and then I have an automation that will then try to update the skills in our repo."
  },
  {
    "startMs": 2612196,
    "text": "Okay. Software factory building blocks for the, uh, for the, uh, the world where you're not quite designing the code, but you're designing how do we make sure that the code is constantly getting better, and we never have to say the same thing twice, right?"
  },
  {
    "startMs": 2624996,
    "text": "Yeah. Oh, Kyle was about to add."
  },
  {
    "startMs": 2627096,
    "text": "Yeah. There's, there's actually an entire, um, talk that could be given about the unreasonable effectiveness of Oxlint. Uh, Factory actually has a really good open source Oxlint rules repo, uh, that I highly recommend checking out and trying. But that's also actually like a great use case for workstreams, is to have an automation that is periodically like going through all your pull requests and looking like what are the things that humans keep saying over and over and over and over again, and then turn those into Oxlint rules or into formatter or linter"
  },
  {
    "startMs": 2657156,
    "text": "rules so that you don't have to keep telling agents that. There's even like a JEV plugin for Oxlint, so you can just write a rule in, in natural language and, and run it. Um, it's another, like, great use case for just how do you actually make a software factory that's getting smarter over time and, like, lowering the load on humans who have to do code review over time."
  },
  {
    "startMs": 2677176,
    "text": "Is anybody here writing in TypeScript?"
  },
  {
    "startMs": 2681296,
    "text": "No. The rest of you are not writing in TypeScript. Wait, what languages are you using?"
  },
  {
    "startMs": 2687276,
    "text": "Prompts. Elixir. Okay. Well, if you are writing in TypeScript, you should absolutely be using Oxlint. Factory has a great config. Also, Dillon Mulroy is a principal engineer at Cloudflare. He has an awesome public repo with a bunch of rules of how to prevent, uh, you know, a hundred agent patterns that he saw over and over again and then curated into this rule set. Um, but whatever language you're in, you probably have a good linter or you can, you know, vibe up one that works for you."
  },
  {
    "startMs": 2712136,
    "text": "Uh, sorry. Can you say that word you keep saying?\n\nThat's Oxlint."
  },
  {
    "startMs": 2716256,
    "text": "Oxlint. It's O-X-L-I-N-T. So ox as in oxide, which is like a Rust thing. It's, uh, so Rust linter for TypeScript, basically. Yes."
  },
  {
    "startMs": 2729936,
    "text": "That is, uh, that is the fa-- my favorite thing that's-- I've working at Factory and kind of seeing the agentic code base develop, is it's all these patterns that I think engineers probably should have been doing for the last twenty years. Just it's kind of annoying to like write lint rules and keep them up to date. And honestly, there's probably only one engineer who actually knew how to write them. Um, code commenting, all these things I think we've realized, like workstreams, if you set them up correctly, can really just automate all of these code base hygiene, uh, that where you do take very opinionated stances of like our code base should work this"
  },
  {
    "startMs": 2759876,
    "text": "way. Like we had an engineer who was very opinionated around useEffect. Went kind of viral on Twitter, and we have no useEffect hooks in our entire code base, um, because it-- there's a lint rule, like you actually can't add one. Um-"
  },
  {
    "startMs": 2770476,
    "text": "I forgot that was Factory that posted that."
  },
  {
    "startMs": 2772376,
    "text": "Yeah."
  },
  {
    "startMs": 2772596,
    "text": "Yeah. We, we were right around the same point in that journey at HumanLayer. We were like, how-- Did you, did you, did you take the Factory post and implement that or... Yeah. Okay. Yeah, we stole that. It was great. You guys should steal that. No. Ban useEffect from your code base."
  },
  {
    "startMs": 2783836,
    "text": "Um, but it's all those things like actually as a human, it's quite annoying sometimes to figure out how to write around useEffect, but the agents are quite good at that. And so you can get very opinionated without worrying about developer velocity, or you can ban things that typically you're like, \"Well, this is just unreasonable. Our developers are never gonna go for it. It's gonna make things take too much time.\" And then again, the agents, they get a rule, they try to run something, the lint says you can't, and they write it in a better way. Um-"
  },
  {
    "startMs": 2806756,
    "text": "Should we do some more questions?"
  },
  {
    "startMs": 2807996,
    "text": "Yeah."
  },
  {
    "startMs": 2815156,
    "text": "Sorry, what was the question?"
  },
  {
    "startMs": 2817316,
    "text": "Can I replicate this into other harnesses?"
  },
  {
    "startMs": 2821436,
    "text": "The question was, can you integrate the workstream as concept into other harnesses?"
  },
  {
    "startMs": 2827556,
    "text": "No. I mean, I think there's concepts around like large scale agentic orchestration that, you know, are maybe just more generalizable, but this works with Droid. Like within the Factory system, the workstream concepts work with Droid. Um, any other, other questions?"
  },
  {
    "startMs": 2843236,
    "text": "Are the artifacts that are being generated [unclear]? Are both deterministic in nature? Like, how do we, why trust them?"
  },
  {
    "startMs": 2855716,
    "text": "Fair. So there are, I-- there are deterministic portions of that around like basically code analysis that kind of generates some of these structures. But no, they are mostly like a lot of the like these are the product changes are AI telling you that these are the product changes. Um,"
  },
  {
    "startMs": 2871816,
    "text": "I'm actually curious, Dex, you probably have a stronger opinion on this than I do. How do you trust AI to co-- review code?"
  },
  {
    "startMs": 2876816,
    "text": "Uh, I mean, in general, my take is like, uh, linters are necessary but not sufficient. Uh, AI code review is absolutely helpful to catch low-hanging stuff and find weird edge cases that humans might not have caught. But it is, it is not sufficient if your goal is to build a, like, well-architected system that will stand the test of time, and you won't have to rewrite in six months. Um, so I believe that there is a ton, a ton of value in finding ways to better"
  },
  {
    "startMs": 2906776,
    "text": "understand the code. I don't know. The question was about like is it deterministic or not, these PR walkthroughs, and I think probably the one we showed is mostly generated by AI."
  },
  {
    "startMs": 2914656,
    "text": "Yeah."
  },
  {
    "startMs": 2915036,
    "text": "Other than obviously the code diffs are, are the actual code diffs. We're not having AI reproduce the diff in the artifact.  Um, but I think whether it's deterministic or using AI, I think or, or a blend of those things, I think it's really, really important op-optimize for human understanding. Like the, the, the thing I love about interview skills and these PRD things is like how do we pull as much context and intent out of the human into a format that the AI can use it? And then on the other side, on the review side is how do we"
  },
  {
    "startMs": 2944976,
    "text": "pull as much, like and efficiently pull context out of the agent so that it's very easy for a human to consume? And, you know, the high level summary may not be sufficient, but it will tell you where you need to look if you actually wanna go into the weeds and look at individual files or code blocks that are, you know, super critical or core to your system."
  },
  {
    "startMs": 2965136,
    "text": "Oh."
  },
  {
    "startMs": 2968366,
    "text": "Make sure that, uh, your code, your spec is up to date with the code, or even the shared file system is up to date [unclear] scale? Uh, that's one question. 2nd, uh, have you run into any situations where something wasn't in the plan, [unclear] when, you know, the agents made a decision, and you found out two days later there was a wrong decision? Like, who's responsible, what do we do with that?"
  },
  {
    "startMs": 2993966,
    "text": "Yeah. I think that's two things. One, in the workstream setup, it's very important to kind of build the workstream in a way, depending on how fault-tolerant maybe some of these workflows are. The orchestrator can be as kind of hand-holdy or as hands-off as needed in a way that sometimes people do prefer smaller specs that maybe leave out certain details, and you're leaving a little trust in the agent. Versus if you prefer saying, \"Hey, let's make sure everything is in there,\" I found that the orchestrator is often very good at making sure that happens. Uh, with regards to making sure context is up to date with the code"
  },
  {
    "startMs": 3023926,
    "text": "base, the shared file system, maybe anything else you might have, all of these agents are still able to access the latest Git, you know, commits, uh, if you have any documents in Notion or any of these other external file sources. And the shared folder context is, while important for kind of understanding how the agents are orchestrating together, uh, they do still understand that there might be sources of truth and can prompt around-- or, you know, they are designed to make sure that they have the latest information."
  },
  {
    "startMs": 3049846,
    "text": "Yeah. I would say again, like, the, the goal here is building blocks, not an opinionated, like spec-driven development process or something. You bring the specs how you-- however you want to, and we can, we can bring you the tools to basically say like, \"Hey, you know, once a day, check what's been built and compare it to the spec. And if the spec is-- if it's out of date, like, tell the agents to fix it. If there was a new decision, surface it to the human. If the human made a decision, go update the spec.\" Like, you can, you can kind of fragment what would normally be like a giant prompt that might be hard for a model to follow into all these,"
  },
  {
    "startMs": 3079906,
    "text": "like, tiny little loops that will push, you know, over time, push your feature to, uh, to production, to where-- whatever the end state you want, whether it's migrating or building a new thing or just fixing every th-- Sentry alert that comes in. Does that sound right?"
  },
  {
    "startMs": 3095286,
    "text": "Yeah."
  },
  {
    "startMs": 3096746,
    "text": "I have a question too."
  },
  {
    "startMs": 3098645,
    "text": "Yes."
  },
  {
    "startMs": 3099366,
    "text": "Yeah. Uh, our orchestrator uses a shared folder for its agents. But then you-- once-- as the agents work in Git worktrees to avoid collisions in the code base. Is this something that you've tried or is that what y'all do?"
  },
  {
    "startMs": 3111046,
    "text": "So the question-- So I'm just gonna read the question for the live stream, but it's basically like, \"Hey, we have a big agent orchestrator, and it, it uses, uh, it uses Git worktrees to keep agents from stepping on each other and, and messing with each other's work so they can all work in parallel. Uh, how do you, how do you think about that? Do you, do you use worktrees these days?\""
  },
  {
    "startMs": 3127086,
    "text": "Uh, I typically use delegate across like, uh... So for example, actually, in this demo right now, each one of these agents is running in its own cloud sandbox that was spun up specifically for its run. If you are delegating across just local, then we find worktrees are quite effective. There's some limitations with worktrees, especially as I've seen this scale to, you know, thirty, forty, fifty agents at once. Ultimately, worktrees don't scale as, as nicely."
  },
  {
    "startMs": 3150206,
    "text": "Yeah. I think one of the first problems that people tend to run into is, like, if you have a really big monorepo or lots of different repos, uh, worktrees are really great until you need to actually, like, run services that bind ports and have to interact with each other, and then you end up having to spend a ton of time having to wire it so that, like, it can locate all the ports that it needs and find them that are available, and then wire those through into the URLs for the different services to talk to each other. Uh, and the benefit of just, like, using cloud sandboxes for everything is you don't have to worry about"
  },
  {
    "startMs": 3180226,
    "text": "that. Uh, so, like, I have a workstream that's been running for about a week, like rewriting a hundred thousand lines of Go into, uh, TypeScript, and it's doing a bunch of, like, Kubernetes stuff with different services, and it's really easy to just have it tested because it can use [unclear] to, like, spin up a little local Kubernetes cluster and test everything locally. And to parallel path that with, like, lots of different agents that are working on different parts of that, and all those can, like, test, uh, the entire, like, service stack against everything else without having to, like, worry about stepping on each"
  },
  {
    "startMs": 3210166,
    "text": "other's toes. And, like, the thing that, you know, we--  when Dex and I were working just on our workstations all the time, you'd have, like, agents, like, killing each other's services because they're trying to, like, free up ports for their own thing, and they just, like, trample all over each other, and it... Yeah."
  },
  {
    "startMs": 3223986,
    "text": "It wasn't even, it was, it wa-- it wasn't even, like, running services sometimes. It was just like, oh, this agent is running, like, the TypeScript compiler, and there's three of them, and your Mac is literally out of memory because you're running, like, tsgo in four places at once."
  },
  {
    "startMs": 3237526,
    "text": "Um, and I think this is actually the, the example. So for context, in the background, when I was sitting over there, I decided to, say, ask our orchestrator to make our desktop app faster 'cause I was annoyed that it was bugging out. Um, and so right now, well, we have one, two, three, four, five. But basically, my-- especially when you're dealing with performance, having like an isolated environment where you can control all the other services running, basically anything that can be measured, the more you try to parallelize that on the same machine, you introducing noise into those measurements, um, and so it can create"
  },
  {
    "startMs": 3267546,
    "text": "issues. Um, you also can do things like I said, to spin up twenty more. We'll see if it agrees with that statement. Uh, but I was determined to see how many PRs I could get before, uh, this is over. We might not get to one, but we'll see."
  },
  {
    "startMs": 3281386,
    "text": "Do we have non-technical roles using this as well?"
  },
  {
    "startMs": 3284226,
    "text": "Question was, do we have non-technical roles using workstreams in Factory?"
  },
  {
    "startMs": 3288186,
    "text": "Yes. Um, actually across the entire gamut of technical roles. So obviously like tech adjacent, product design, things like that. Uh, I know our sales like team also has started having like a workstream per account and keeping all of the context for that account in there. Ultimately, we view it as just a better way to get work done."
  },
  {
    "startMs": 3304826,
    "text": "That's awesome. I didn't-- I hadn't heard about that. That's sick."
  },
  {
    "startMs": 3308566,
    "text": "Yeah. It's not-- It's definitely maybe not purpose-built for our sales team right now, but I do think at the end of the day, really what you're giving people is a powerful tool to get work done. And I also have the opinion that like the best coding agents are just the best agents. And so over time, I think we see this really just transforming in a way that, you know, people are just gonna work."
  },
  {
    "startMs": 3325886,
    "text": "Didn't, didn't [REDACTED], didn't he post like a long Twitter thread of all the cool shit he uses this for, for like running, running the books?"
  },
  {
    "startMs": 3333026,
    "text": "Yep."
  },
  {
    "startMs": 3333542,
    "text": "[REDACTED] … [REDACTED] … [REDACTED]."
  },
  {
    "startMs": 3338042,
    "text": "And he's not an engineer. He's, he works in finance."
  },
  {
    "startMs": 3341402,
    "text": "Those, those Excel spreadsheets, man. They'll, they'll get to you."
  },
  {
    "startMs": 3343562,
    "text": "Okay. We got f-- we got four and a half minutes left. We'll do as many questions as we can."
  },
  {
    "startMs": 3347002,
    "text": "Let's go. Rapid fire."
  },
  {
    "startMs": 3353102,
    "text": "What, what kind of what?"
  },
  {
    "startMs": 3354102,
    "text": "What kind of bottlenecks?"
  },
  {
    "startMs": 3355662,
    "text": "Oh."
  },
  {
    "startMs": 3356182,
    "text": "Uh, yeah, I think PR review is definitely the-- th-that was why we really had to iterate on how to review PRs because I have, uh... when someone on my team sent me thirty-seven PRs to review one morning, and I was like, \"This is simply not, not gonna scale that well.\" Um, as you can see, I, I'm very curious how many PRs this one ends up making. But I think code review was the most obvious bottleneck. I don't know if-"
  },
  {
    "startMs": 3376342,
    "text": "It makes me feel less bad for sending you five PRs yesterday."
  },
  {
    "startMs": 3380782,
    "text": "Oh, there's-- He created his own Slack channel, just me and him.  Um, but sorry, I just wanna make sure we get to all the questions. Um, any... Oh, sorry. Oh, P-- I think PR review is probably the, the biggest bottleneck initially. Um, yeah, I think PR review and the ability to run agents, like, a bunch of agents at once. And I think the solutions we found were making PR review more approachable for humans, and then of like cloud sandboxes and things like that to really scale across, you know, not just your laptop. 'Cause I"
  },
  {
    "startMs": 3410702,
    "text": "think this would truly be killing my laptop right now, um, 'cause these are all running our performance harness. Uh, sorry. Yes."
  },
  {
    "startMs": 3430702,
    "text": "Uh, okay. So as your agents are, are working and learning things and wanting to make changes to your skills, how do you actually eval that and, and know that the new version of the skill is actually better and is not gonna cause regressions for, you know, engineers working on other things?\n\nThat is a good question. I think for performance, it's the easiest because we have baseline performance metrics that we basically, like, on each PR, I can essentially see how is the performance trending over time and, like, are there regressions. Um, I think it ends up being a little context dependent of, like, which systems are you trying"
  },
  {
    "startMs": 3460682,
    "text": "to measure. Uh, I'm a big fan of you just should be measuring everything, and ultimately you need like a source of truth, um, for whatever you're trying to hill climb on."
  },
  {
    "startMs": 3473562,
    "text": "Yes."
  },
  {
    "startMs": 3476122,
    "text": "Yes.  Uh, like a BYOM situation where you wanna bring maybe your own cloud sandboxes or you have a machine at home or... Basically, you wanna delegate to a machine that you own that is not necessarily your local laptop."
  },
  {
    "startMs": 3489242,
    "text": "Yes. If you wanna spin up like an EC2 in AWS and use that, that could work as well."
  },
  {
    "startMs": 3508462,
    "text": "Yeah."
  },
  {
    "startMs": 3512942,
    "text": "Yeah. I'm gonna hand this to Dex. I'll quickly re-reiterate the question, but it was essentially how do you-- how have we thought about like multiplayer and the ability to have people collaborate? I think Dex is gonna have by far the best take here."
  },
  {
    "startMs": 3522742,
    "text": "And I realize I'm probably not on camera here, so I'm gonna come hang out on stage with you."
  },
  {
    "startMs": 3526422,
    "text": "Oh, you can swap with me."
  },
  {
    "startMs": 3527502,
    "text": "Um, for the last ninety seconds. Um, yes, uh, I think the idea of having... I mean, this was one of the things that we found was like the highest impact to how we worked. Uh, we built like prototypes of things like this in HumanLayer, where multiple people can all prompt the same session. Uh, I don't know how much I can say about what's coming, but yes, we're very excited about the idea of taking a workstream and making it collaborative among multiple people, both across the documents, across talking to the orchestrator, et cetera."
  },
  {
    "startMs": 3578742,
    "text": "Ross, do we have any benchmarks that show that, uh, workstreams and agent swarms are, uh, are a great way of doing work?\n\nSo there-- we have a blog post out that is basically... So we had Missions V1, and as we were hill climbing on what is the next version of Missions, we put out a blog post that's basically the-- there's a handful of benchmarks we essentially indexed against of how do you fan out these really long-running tasks. Um, I don't remember any specific numbers, but there is a great blog post that kind of goes actually quite deeply into how we-- where we were, how we got to this architecture, and why it"
  },
  {
    "startMs": 3608722,
    "text": "actually is better, um, on these various long-running tasks. Yeah. Maybe final question."
  },
  {
    "startMs": 3613902,
    "text": "Yeah. And when you're running sub-agents, what I've noticed when I ask hundred more, twenty more, there's a lot of queues and waiting."
  },
  {
    "startMs": 3620502,
    "text": "Yeah."
  },
  {
    "startMs": 3620622,
    "text": "[unclear] running [unclear]. So what, what have you [unclear] like an orchestrator to manage all these queues? You see they’re working. In reality, they’re stopping, [unclear]."
  },
  {
    "startMs": 3632062,
    "text": "Yeah. I guess in this case, they're actually all... I'm curious here. Okay. So-"
  },
  {
    "startMs": 3635562,
    "text": "Let's go look at, let's go look at one, one of these. What is it doing?"
  },
  {
    "startMs": 3638682,
    "text": "That's actually a point. Um, okay, let me load into one. Um-"
  },
  {
    "startMs": 3643642,
    "text": "Oh, I saw the word V8. That's, uh, that's scary. We're digging into the, the Node VM. Okay."
  },
  {
    "startMs": 3649002,
    "text": "Um, so I think in this case, the agent, actually what it decided to do is instead of spinning up maybe one or two across, like just our entire repo, has stuck each agent on its own particular portion of our repo. Um, and I think that's how it avoids collisions, that these actually can work quite autonomously without worrying. And I think that is time, so."
  },
  {
    "startMs": 3665402,
    "text": "Awesome. Thanks, everybody."
  }
]
