[
  {
    "startMs": 1309,
    "text": "[music]"
  },
  {
    "startMs": 12320,
    "text": "Welcome everyone. Glad to be here. I'm"
  },
  {
    "startMs": 14400,
    "text": "Fabian, co-founder and CTO of uh of"
  },
  {
    "startMs": 17279,
    "text": "Lovable. And um we spent the last three"
  },
  {
    "startMs": 20320,
    "text": "years or so building a platform to let"
  },
  {
    "startMs": 22960,
    "text": "anyone create software and then operate"
  },
  {
    "startMs": 25039,
    "text": "that and deploy that software. Um and um"
  },
  {
    "startMs": 29279,
    "text": "the the topic of today is what it takes"
  },
  {
    "startMs": 32399,
    "text": "to set intelligence free. Um really um"
  },
  {
    "startMs": 37920,
    "text": "for us this takes us back to when we"
  },
  {
    "startMs": 40800,
    "text": "when we started three years ago and um I"
  },
  {
    "startMs": 43600,
    "text": "have to say I have a bit of a"
  },
  {
    "startMs": 45840,
    "text": "complicated relationship with with"
  },
  {
    "startMs": 47760,
    "text": "agents. Um and I I'll tell you why. um"
  },
  {
    "startMs": 51360,
    "text": "we almost uh failed as a company because"
  },
  {
    "startMs": 54239,
    "text": "we thought um back in 2023 that hey we"
  },
  {
    "startMs": 58239,
    "text": "these agents are the future so let's"
  },
  {
    "startMs": 59920,
    "text": "build for them now um I think they we"
  },
  {
    "startMs": 62719,
    "text": "kind of turned out to be true that they"
  },
  {
    "startMs": 64239,
    "text": "were the future but we were definitely"
  },
  {
    "startMs": 66000,
    "text": "wrong on the the now piece in in 23 so"
  },
  {
    "startMs": 68799,
    "text": "this was back in kind of GPT4 days um"
  },
  {
    "startMs": 72159,
    "text": "and um at the at that time the"
  },
  {
    "startMs": 75200,
    "text": "intelligence was simply not there to"
  },
  {
    "startMs": 76799,
    "text": "have more of these kind of complex"
  },
  {
    "startMs": 78560,
    "text": "agentic systems Um but now it is right"
  },
  {
    "startMs": 82080,
    "text": "now uh now the intelligence is actually"
  },
  {
    "startMs": 84720,
    "text": "at a place where where you can really"
  },
  {
    "startMs": 86560,
    "text": "build out more complicated systems"
  },
  {
    "startMs": 88479,
    "text": "around them. Um and so I I'll give you"
  },
  {
    "startMs": 91119,
    "text": "kind of a quick um background story here"
  },
  {
    "startMs": 94560,
    "text": "of uh of our journey um in in working"
  },
  {
    "startMs": 98079,
    "text": "with intelligence or or these LMS. And"
  },
  {
    "startMs": 101759,
    "text": "so"
  },
  {
    "startMs": 103280,
    "text": "um back in 2023 we built the first"
  },
  {
    "startMs": 106240,
    "text": "version of our product. We called it GPT"
  },
  {
    "startMs": 107920,
    "text": "Engineer back then. Um, and uh, really"
  },
  {
    "startMs": 110720,
    "text": "the UI was very similar to what it is"
  },
  {
    "startMs": 112560,
    "text": "today where you kind of have a chat and"
  },
  {
    "startMs": 113840,
    "text": "and this preview. Um, but uh, the AI at"
  },
  {
    "startMs": 116479,
    "text": "that point was uh, quite simple. We just"
  },
  {
    "startMs": 118719,
    "text": "had a prompt and a response, one LM call"
  },
  {
    "startMs": 121920,
    "text": "per user message. Uh, very simple. It it"
  },
  {
    "startMs": 124640,
    "text": "worked fine. Um, but you could kind of"
  },
  {
    "startMs": 126799,
    "text": "build one page apps and and simpler"
  },
  {
    "startMs": 129280,
    "text": "applications with this. Um and then um"
  },
  {
    "startMs": 132800,
    "text": "we thought okay this intelligence is"
  },
  {
    "startMs": 135440,
    "text": "going to keep on evolving so we have to"
  },
  {
    "startMs": 137280,
    "text": "be ready for uh for it as it evolves and"
  },
  {
    "startMs": 140319,
    "text": "so we thought let's go out and build"
  },
  {
    "startMs": 142400,
    "text": "this agentic framework and so we we went"
  },
  {
    "startMs": 144959,
    "text": "and we built this very sophisticated"
  },
  {
    "startMs": 147440,
    "text": "there I say beautiful framework for for"
  },
  {
    "startMs": 149680,
    "text": "agents to work and um we had kind of"
  },
  {
    "startMs": 153040,
    "text": "this one main agent that would talk to"
  },
  {
    "startMs": 154640,
    "text": "the user and that agent would spawn"
  },
  {
    "startMs": 156800,
    "text": "other agents like an implementation"
  },
  {
    "startMs": 158800,
    "text": "agent here in the example"
  },
  {
    "startMs": 160400,
    "text": "And each agent could have a specialtity."
  },
  {
    "startMs": 162720,
    "text": "This agent would kind of specialize in"
  },
  {
    "startMs": 164879,
    "text": "the first generation of an app. And then"
  },
  {
    "startMs": 166319,
    "text": "you would have like a front end agent"
  },
  {
    "startMs": 167519,
    "text": "and a backend agent. And they would all"
  },
  {
    "startMs": 169519,
    "text": "talk to each other, send messages back"
  },
  {
    "startMs": 171200,
    "text": "and forth. And we thought, \"Oh, this is"
  },
  {
    "startMs": 173680,
    "text": "beautiful.\" And there was papers around"
  },
  {
    "startMs": 175040,
    "text": "this and how well this could work. And"
  },
  {
    "startMs": 177360,
    "text": "uh in the end, it didn't work at all. We"
  },
  {
    "startMs": 179920,
    "text": "just made the product worse. Um we um we"
  },
  {
    "startMs": 184239,
    "text": "definitely [clears throat] failed"
  },
  {
    "startMs": 185367,
    "text": "[laughter] on this one. Um but uh"
  },
  {
    "startMs": 187840,
    "text": "luckily before we ran out of money we"
  },
  {
    "startMs": 190000,
    "text": "figured out like hey let's go back to a"
  },
  {
    "startMs": 191440,
    "text": "simpler system again. So uh in late 24"
  },
  {
    "startMs": 194319,
    "text": "we went back to a much simpler um system"
  },
  {
    "startMs": 197360,
    "text": "where it was a bit of a shame where we"
  },
  {
    "startMs": 199200,
    "text": "had like some some smaller LMS doing"
  },
  {
    "startMs": 200959,
    "text": "some knowledge retrieval and then really"
  },
  {
    "startMs": 203519,
    "text": "just one main LM kind of writing to the"
  },
  {
    "startMs": 205440,
    "text": "user and and writing the code in the"
  },
  {
    "startMs": 207440,
    "text": "same message. And this worked great. it"
  },
  {
    "startMs": 209680,
    "text": "was very responsive for for users in the"
  },
  {
    "startMs": 211920,
    "text": "UI and and it was reliable and users"
  },
  {
    "startMs": 214159,
    "text": "were kind of in it and and iterating"
  },
  {
    "startMs": 215840,
    "text": "with uh with the model. Um and so um"
  },
  {
    "startMs": 220959,
    "text": "let's close that down. Um but now it's"
  },
  {
    "startMs": 224560,
    "text": "time again. We're back. We're so back."
  },
  {
    "startMs": 226720,
    "text": "Agents this time uh they work um and uh"
  },
  {
    "startMs": 230239,
    "text": "we're running them in production over a"
  },
  {
    "startMs": 232000,
    "text": "billion tokens per minute on on on these"
  },
  {
    "startMs": 234080,
    "text": "systems that I'm going to talk about. Um"
  },
  {
    "startMs": 236799,
    "text": "but um first just looking at okay what"
  },
  {
    "startMs": 240239,
    "text": "is actually lovable. So uh if you"
  },
  {
    "startMs": 243120,
    "text": "simplify the UI and this was same back"
  },
  {
    "startMs": 245680,
    "text": "in 2023 as it is today. Uh to the left"
  },
  {
    "startMs": 248560,
    "text": "we have a chat where humans come in and"
  },
  {
    "startMs": 250879,
    "text": "they kind of describe their their intent"
  },
  {
    "startMs": 252799,
    "text": "to to build or whatever they want to do."
  },
  {
    "startMs": 254720,
    "text": "And to the right you have a preview uh"
  },
  {
    "startMs": 257440,
    "text": "which is the output or or the outcomes"
  },
  {
    "startMs": 259280,
    "text": "of uh of what you're building. Um and"
  },
  {
    "startMs": 262880,
    "text": "this back in 23 you could do simpler"
  },
  {
    "startMs": 265520,
    "text": "things with right but now we've really"
  },
  {
    "startMs": 268080,
    "text": "seen working at this layer of"
  },
  {
    "startMs": 270400,
    "text": "abstraction you're able to build very"
  },
  {
    "startMs": 271919,
    "text": "complex things right and I think we've"
  },
  {
    "startMs": 274320,
    "text": "even seen uh a lot of tooling meant for"
  },
  {
    "startMs": 277199,
    "text": "for developers for example moving to"
  },
  {
    "startMs": 279040,
    "text": "this type of interface where you're not"
  },
  {
    "startMs": 281040,
    "text": "really looking at the code every day and"
  },
  {
    "startMs": 282400,
    "text": "so on and you're getting kind of"
  },
  {
    "startMs": 284400,
    "text": "abstracted and working on on be"
  },
  {
    "startMs": 286800,
    "text": "architecture uh or looking at some kind"
  },
  {
    "startMs": 289120,
    "text": "of output of of what you're"
  },
  {
    "startMs": 291120,
    "text": "And um this is something that we've"
  },
  {
    "startMs": 294000,
    "text": "always believed in and it's been kind of"
  },
  {
    "startMs": 295759,
    "text": "a core thesis behind lovable that you"
  },
  {
    "startMs": 298000,
    "text": "won't have to care about the code in in"
  },
  {
    "startMs": 300479,
    "text": "the same way that you had had to do"
  },
  {
    "startMs": 302560,
    "text": "before. And I think today we're kind of"
  },
  {
    "startMs": 304720,
    "text": "in this almost a bit in between I think"
  },
  {
    "startMs": 306560,
    "text": "in the industry where you know some"
  },
  {
    "startMs": 307919,
    "text": "people might say oh you don't have to"
  },
  {
    "startMs": 309120,
    "text": "care about code at all and some people"
  },
  {
    "startMs": 310960,
    "text": "might have different opinions. Um um I"
  },
  {
    "startMs": 314479,
    "text": "of course like growing up coding and"
  },
  {
    "startMs": 316320,
    "text": "these things you get a bit attached. Uh"
  },
  {
    "startMs": 318479,
    "text": "but in the end what matters is is"
  },
  {
    "startMs": 321199,
    "text": "actually not the code. Um sorry if we"
  },
  {
    "startMs": 324240,
    "text": "remove that last part but uh what what"
  },
  {
    "startMs": 326479,
    "text": "matters is uh is the outcomes right? Um"
  },
  {
    "startMs": 330560,
    "text": "and so um the outcomes what is that?"
  },
  {
    "startMs": 333520,
    "text": "Well, for for our users, the outcomes is"
  },
  {
    "startMs": 336720,
    "text": "um uh creating a business and monetizing"
  },
  {
    "startMs": 339680,
    "text": "and creating value for for others in in"
  },
  {
    "startMs": 342000,
    "text": "in some type of way. And uh I'll kind of"
  },
  {
    "startMs": 345039,
    "text": "quickly go over um what we build as a"
  },
  {
    "startMs": 348240,
    "text": "platform to to enable this before I go"
  },
  {
    "startMs": 349840,
    "text": "in kind of on the uh on the technical"
  },
  {
    "startMs": 352000,
    "text": "side of this talk. So if you if you look"
  },
  {
    "startMs": 354880,
    "text": "at lovable the first thing that that you"
  },
  {
    "startMs": 357840,
    "text": "can say about the platform is that we"
  },
  {
    "startMs": 359199,
    "text": "have this agent and like any other agent"
  },
  {
    "startMs": 361840,
    "text": "it can do quite arbitrary things and"
  },
  {
    "startMs": 364000,
    "text": "it's quite specialized at at building"
  },
  {
    "startMs": 366080,
    "text": "software uh and it has access to a"
  },
  {
    "startMs": 369600,
    "text": "browser so it can verify what it's"
  },
  {
    "startMs": 371120,
    "text": "building and um it connects to to GitHub"
  },
  {
    "startMs": 374319,
    "text": "and you know it writes code that and you"
  },
  {
    "startMs": 376479,
    "text": "can do whatever you want with that code"
  },
  {
    "startMs": 378000,
    "text": "so on. So that's um kind of your basic"
  },
  {
    "startMs": 380479,
    "text": "uh coding coding agent. Um and the other"
  },
  {
    "startMs": 383520,
    "text": "pieces of the platform is this kind of"
  },
  {
    "startMs": 385199,
    "text": "cloud and and business piece of the"
  },
  {
    "startMs": 386960,
    "text": "platform. And so um the cloud part of"
  },
  {
    "startMs": 390080,
    "text": "the platform is is about just giving"
  },
  {
    "startMs": 392160,
    "text": "kind of these u hosting primitives just"
  },
  {
    "startMs": 394560,
    "text": "seamlessly to to this agent. And so we"
  },
  {
    "startMs": 396960,
    "text": "we built out databases, authentication,"
  },
  {
    "startMs": 399039,
    "text": "storage, uh all type of backend compute"
  },
  {
    "startMs": 401680,
    "text": "and security scanners and like backups"
  },
  {
    "startMs": 404240,
    "text": "and logs for all of these things. And"
  },
  {
    "startMs": 405759,
    "text": "all of it can be introspected by by the"
  },
  {
    "startMs": 408240,
    "text": "agent. Um, and this just makes it"
  },
  {
    "startMs": 410160,
    "text": "seamless to to build things. You don't"
  },
  {
    "startMs": 412160,
    "text": "have to kind of go to different services"
  },
  {
    "startMs": 414240,
    "text": "to set this together. We just kind of"
  },
  {
    "startMs": 415840,
    "text": "provide you uh these primitives. Um, so"
  },
  {
    "startMs": 418479,
    "text": "that's still around building software"
  },
  {
    "startMs": 420080,
    "text": "and hosting this, right? Um, but then"
  },
  {
    "startMs": 422080,
    "text": "the last piece is around um these"
  },
  {
    "startMs": 424400,
    "text": "business capabilities where uh again the"
  },
  {
    "startMs": 426880,
    "text": "output of what our users are doing on"
  },
  {
    "startMs": 428960,
    "text": "lovable, we don't see that output as"
  },
  {
    "startMs": 430639,
    "text": "code. the output is is a product or or a"
  },
  {
    "startMs": 434240,
    "text": "business. Um, and if you want to succeed"
  },
  {
    "startMs": 437360,
    "text": "as a business, you need to do more"
  },
  {
    "startMs": 439680,
    "text": "things than just write code, right? And"
  },
  {
    "startMs": 441360,
    "text": "so we we we help our users with uh"
  },
  {
    "startMs": 443840,
    "text": "receiving payments, sending emails,"
  },
  {
    "startMs": 445520,
    "text": "optimizing SEO, um, doing ads on on"
  },
  {
    "startMs": 448479,
    "text": "Google and meta um, and kind of"
  },
  {
    "startMs": 450880,
    "text": "analyzing what is happening with the"
  },
  {
    "startMs": 452639,
    "text": "product through uh, through analytics"
  },
  {
    "startMs": 454720,
    "text": "and you can look at kind of conversions"
  },
  {
    "startMs": 456720,
    "text": "and and optimize these sort of things."
  },
  {
    "startMs": 458560,
    "text": "and the agent is in the loop in all of"
  },
  {
    "startMs": 460880,
    "text": "this. Right? So that's kind of our uh"
  },
  {
    "startMs": 464400,
    "text": "capability offering you could say. Um"
  },
  {
    "startMs": 467039,
    "text": "and again the core part of this is an"
  },
  {
    "startMs": 469039,
    "text": "agent that all of these capabilities are"
  },
  {
    "startMs": 470800,
    "text": "built for. Um and at some point in level"
  },
  {
    "startMs": 475120,
    "text": "history we used to limit our agents to"
  },
  {
    "startMs": 477360,
    "text": "work for only 30 minutes because we"
  },
  {
    "startMs": 479360,
    "text": "thought they weren't reliable to to work"
  },
  {
    "startMs": 481039,
    "text": "for a longer amount of time. Um but uh"
  },
  {
    "startMs": 484080,
    "text": "now we've changed this to really be uh"
  },
  {
    "startMs": 486879,
    "text": "without any any sort of bound in terms"
  },
  {
    "startMs": 489199,
    "text": "of the length an agent can work. And so"
  },
  {
    "startMs": 490879,
    "text": "you can imagine agents working for for"
  },
  {
    "startMs": 493120,
    "text": "10 hours plus. Um and so I'll I'll go"
  },
  {
    "startMs": 495840,
    "text": "into some of the things that we've done"
  },
  {
    "startMs": 498240,
    "text": "um in our architecture to to enable"
  },
  {
    "startMs": 500319,
    "text": "this. And so the first piece is really"
  },
  {
    "startMs": 503199,
    "text": "around the agent runtime itself and how"
  },
  {
    "startMs": 505599,
    "text": "how we enable that to to run for a"
  },
  {
    "startMs": 507520,
    "text": "longer amount of time. And the second"
  },
  {
    "startMs": 509440,
    "text": "piece is the computer where each of"
  },
  {
    "startMs": 512399,
    "text": "these agents are actually doing their"
  },
  {
    "startMs": 513680,
    "text": "work running a dev server um and um"
  },
  {
    "startMs": 517440,
    "text": "actually verifying what it's doing. And"
  },
  {
    "startMs": 519279,
    "text": "so so the last piece then is the"
  },
  {
    "startMs": 520959,
    "text": "verification itself where if you want an"
  },
  {
    "startMs": 523519,
    "text": "agent to to work for a long amount of"
  },
  {
    "startMs": 525040,
    "text": "time, you need to make sure that you"
  },
  {
    "startMs": 526399,
    "text": "have these feedback loops in place so"
  },
  {
    "startMs": 528480,
    "text": "that it's not kind of going off uh in in"
  },
  {
    "startMs": 530720,
    "text": "in the wrong direction. Um and so if we"
  },
  {
    "startMs": 534640,
    "text": "start by looking at the agent runtime"
  },
  {
    "startMs": 537040,
    "text": "itself um you can imagine that um um you"
  },
  {
    "startMs": 541440,
    "text": "have um really three different sources"
  },
  {
    "startMs": 543680,
    "text": "that can um interact with an agent. So"
  },
  {
    "startMs": 547120,
    "text": "it can be yourself kind of prompting"
  },
  {
    "startMs": 548720,
    "text": "this or a human. It could be other"
  },
  {
    "startMs": 550640,
    "text": "agents and it could also be just a"
  },
  {
    "startMs": 552720,
    "text": "system on on a schedule waking up. And"
  },
  {
    "startMs": 555440,
    "text": "the way we chose to architect this is"
  },
  {
    "startMs": 557360,
    "text": "that for for each agent we have a"
  },
  {
    "startMs": 559760,
    "text": "separate inbox uh where any of these"
  },
  {
    "startMs": 562320,
    "text": "sources would kind of send in messages."
  },
  {
    "startMs": 564640,
    "text": "And so you might have a message here"
  },
  {
    "startMs": 566720,
    "text": "like what's the status? Um and you can"
  },
  {
    "startMs": 568959,
    "text": "imagine you have this agent and this"
  },
  {
    "startMs": 570560,
    "text": "agent is kind of an always on agent that"
  },
  {
    "startMs": 572480,
    "text": "that might be working right. And so um"
  },
  {
    "startMs": 574880,
    "text": "you can imagine it has done like three"
  },
  {
    "startMs": 576800,
    "text": "actions here a request a tool call and"
  },
  {
    "startMs": 578640,
    "text": "it got some some result. And then at"
  },
  {
    "startMs": 580720,
    "text": "this point the agent is ready to"
  },
  {
    "startMs": 582080,
    "text": "actually receive uh messages. So um"
  },
  {
    "startMs": 586160,
    "text": "since anyone can drop a message into"
  },
  {
    "startMs": 587760,
    "text": "this inbox, the agent then can copy that"
  },
  {
    "startMs": 589839,
    "text": "itself into its own uh what we call a"
  },
  {
    "startMs": 592399,
    "text": "trajectory basically it's a task"
  },
  {
    "startMs": 593920,
    "text": "history. Um and this is the type of"
  },
  {
    "startMs": 596320,
    "text": "interaction that I think you're familiar"
  },
  {
    "startMs": 597920,
    "text": "with if if you're using agents overall."
  },
  {
    "startMs": 600399,
    "text": "Um so that's kind of the the first"
  },
  {
    "startMs": 603120,
    "text": "design principle uh behind this agent"
  },
  {
    "startMs": 605440,
    "text": "runtime. I'll go through a few more"
  },
  {
    "startMs": 607920,
    "text": "here. And so um the the trajectory in"
  },
  {
    "startMs": 611600,
    "text": "which the the agent is working in which"
  },
  {
    "startMs": 613920,
    "text": "is kind of the history of what has"
  },
  {
    "startMs": 615279,
    "text": "happened so far um and really the basis"
  },
  {
    "startMs": 617839,
    "text": "for any sort of of memory for for for"
  },
  {
    "startMs": 621279,
    "text": "the agent right um and we designed this"
  },
  {
    "startMs": 624160,
    "text": "trajectory with uh really git as"
  },
  {
    "startMs": 626959,
    "text": "inspiration and so the trajectory what"
  },
  {
    "startMs": 629519,
    "text": "is it it's an append only log where each"
  },
  {
    "startMs": 633040,
    "text": "event uh points towards a parent the"
  },
  {
    "startMs": 636720,
    "text": "previous event Um and because of this"
  },
  {
    "startMs": 639680,
    "text": "you get um a nice um capability just"
  },
  {
    "startMs": 643440,
    "text": "like in git where you can fork things"
  },
  {
    "startMs": 645040,
    "text": "right. So you can have two events"
  },
  {
    "startMs": 646800,
    "text": "pointing to the same parent which"
  },
  {
    "startMs": 648480,
    "text": "essentially creates a fork. Um and"
  },
  {
    "startMs": 650800,
    "text": "because of that you can kind of spin up"
  },
  {
    "startMs": 652480,
    "text": "parallel agents at um um at any point of"
  },
  {
    "startMs": 656240,
    "text": "time in the history without having to"
  },
  {
    "startMs": 658000,
    "text": "duplicate all of the kind of the shared"
  },
  {
    "startMs": 660320,
    "text": "history. Um and um semantically it's a"
  },
  {
    "startMs": 663440,
    "text": "bit unclear what would happen if you"
  },
  {
    "startMs": 664640,
    "text": "merge this. So unlike it we cannot merge"
  },
  {
    "startMs": 667200,
    "text": "agent trajectories but we can kind of um"
  },
  {
    "startMs": 669600,
    "text": "spawn them out right and these agents"
  },
  {
    "startMs": 671200,
    "text": "can can talk to each other. Um the other"
  },
  {
    "startMs": 674160,
    "text": "thing that uh we made sure to design for"
  },
  {
    "startMs": 676720,
    "text": "is that this uh agent trajectory it"
  },
  {
    "startMs": 679920,
    "text": "includes kind of the full history and"
  },
  {
    "startMs": 681760,
    "text": "everything that happens uh with the"
  },
  {
    "startMs": 683519,
    "text": "agent. So every tool call um a bunch of"
  },
  {
    "startMs": 686640,
    "text": "other things happening on the platform"
  },
  {
    "startMs": 687920,
    "text": "if a tool call like failed or succeeded"
  },
  {
    "startMs": 690320,
    "text": "and a bunch of things that might not be"
  },
  {
    "startMs": 692399,
    "text": "fully relevant for a prompt. But um then"
  },
  {
    "startMs": 696480,
    "text": "what we've done is to make sure that we"
  },
  {
    "startMs": 698079,
    "text": "have this appendon log and and from that"
  },
  {
    "startMs": 700959,
    "text": "we can actually build a prompt that we"
  },
  {
    "startMs": 702800,
    "text": "would feed into into the actual LM. And"
  },
  {
    "startMs": 705920,
    "text": "um you might ask why why why would you"
  },
  {
    "startMs": 707519,
    "text": "want to do this? Well, um, one one"
  },
  {
    "startMs": 710240,
    "text": "reason is that, um, when you build a"
  },
  {
    "startMs": 712240,
    "text": "prompt, you if you have a long history,"
  },
  {
    "startMs": 714079,
    "text": "you probably want to do some sort of"
  },
  {
    "startMs": 715279,
    "text": "compaction. You want to summarize part"
  },
  {
    "startMs": 717040,
    "text": "of that history, um, in in the earlier"
  },
  {
    "startMs": 719360,
    "text": "steps, for example. Um, but this"
  },
  {
    "startMs": 721519,
    "text": "summarization would differ um, for"
  },
  {
    "startMs": 723680,
    "text": "example, if you use different models"
  },
  {
    "startMs": 725519,
    "text": "with different context lens, you would"
  },
  {
    "startMs": 726959,
    "text": "probably think differently about when"
  },
  {
    "startMs": 729200,
    "text": "you should summarize and not. And so by"
  },
  {
    "startMs": 732000,
    "text": "separating the the prompt from the"
  },
  {
    "startMs": 733839,
    "text": "actual task history, we're able to"
  },
  {
    "startMs": 735920,
    "text": "render prompts for for any type of model"
  },
  {
    "startMs": 737680,
    "text": "or or any type of task um that um that"
  },
  {
    "startMs": 740959,
    "text": "we can kind of find the best and optimal"
  },
  {
    "startMs": 742639,
    "text": "prompt for. Um so to show this event"
  },
  {
    "startMs": 747279,
    "text": "history in in progress, we have this"
  },
  {
    "startMs": 749440,
    "text": "debug tool here. So here it's just"
  },
  {
    "startMs": 751120,
    "text": "recording of me dragging this uh slider"
  },
  {
    "startMs": 753680,
    "text": "in our UI. And you can see on the right"
  },
  {
    "startMs": 755760,
    "text": "that uh um the UI is kind of updating as"
  },
  {
    "startMs": 758480,
    "text": "I'm as I'm dragging this along. And you"
  },
  {
    "startMs": 760240,
    "text": "have 156 events here and one each of"
  },
  {
    "startMs": 762880,
    "text": "those is an event in this event history."
  },
  {
    "startMs": 765440,
    "text": "Uh and you can see how how the UI can"
  },
  {
    "startMs": 767519,
    "text": "render kind of any point in history. And"
  },
  {
    "startMs": 769760,
    "text": "this is just showcasing that at any"
  },
  {
    "startMs": 772320,
    "text": "point in time we have full control of um"
  },
  {
    "startMs": 775279,
    "text": "of say the UI or or anything else"
  },
  {
    "startMs": 777440,
    "text": "happening on the this platform thanks to"
  },
  {
    "startMs": 779600,
    "text": "um this history kind of detailing"
  },
  {
    "startMs": 781680,
    "text": "everything that has happened."
  },
  {
    "startMs": 783920,
    "text": "Um the the last piece I'll go over here"
  },
  {
    "startMs": 786959,
    "text": "on the on the runtime itself is that um"
  },
  {
    "startMs": 790000,
    "text": "the process that is running these"
  },
  {
    "startMs": 792079,
    "text": "agents, they're separate from from the"
  },
  {
    "startMs": 794160,
    "text": "actual task history. And so the process"
  },
  {
    "startMs": 796720,
    "text": "is uh almost entirely stateless in that"
  },
  {
    "startMs": 799440,
    "text": "uh between each each call each call each"
  },
  {
    "startMs": 801839,
    "text": "turn um it will actually just persist"
  },
  {
    "startMs": 804639,
    "text": "into the task history. And so you can"
  },
  {
    "startMs": 806880,
    "text": "have a process come and go. Um and and"
  },
  {
    "startMs": 810000,
    "text": "then the question is why why do we care"
  },
  {
    "startMs": 811600,
    "text": "about this? Um well"
  },
  {
    "startMs": 814560,
    "text": "at lovable this system um we deploy to"
  },
  {
    "startMs": 817519,
    "text": "it um 700 times per day. So that's about"
  },
  {
    "startMs": 820800,
    "text": "once every two minutes. And you can"
  },
  {
    "startMs": 822959,
    "text": "imagine if you have um a agent working"
  },
  {
    "startMs": 825839,
    "text": "for for 10 hours um you want to not"
  },
  {
    "startMs": 829440,
    "text": "disrupt that agent when it's working,"
  },
  {
    "startMs": 830959,
    "text": "right? This this agent is doing"
  },
  {
    "startMs": 832320,
    "text": "something for for a customer. Um but at"
  },
  {
    "startMs": 834800,
    "text": "the same time we want to make sure that"
  },
  {
    "startMs": 836000,
    "text": "this agent is running on the latest"
  },
  {
    "startMs": 838000,
    "text": "deploy. and it might be a new feature or"
  },
  {
    "startMs": 840079,
    "text": "something like that, but it might also"
  },
  {
    "startMs": 841519,
    "text": "be like a security vulnerability in in"
  },
  {
    "startMs": 844079,
    "text": "the Linux kernel and it's like, okay, we"
  },
  {
    "startMs": 845839,
    "text": "need to update this ASAP. Um, and and so"
  },
  {
    "startMs": 848800,
    "text": "to do that, thanks to this separation"
  },
  {
    "startMs": 850639,
    "text": "between the actual history and and the"
  },
  {
    "startMs": 852720,
    "text": "processes, we can actually make sure"
  },
  {
    "startMs": 855360,
    "text": "that we have one one agent that is"
  },
  {
    "startMs": 857920,
    "text": "working on one task, but we can have"
  },
  {
    "startMs": 859760,
    "text": "different processes taking up and"
  },
  {
    "startMs": 861680,
    "text": "actually doing the compute behind that"
  },
  {
    "startMs": 863760,
    "text": "work. Um so so this task can keep on"
  },
  {
    "startMs": 866399,
    "text": "working while we have um different"
  },
  {
    "startMs": 868560,
    "text": "deploys um working on it be it for 10"
  },
  {
    "startMs": 872320,
    "text": "hours or or even longer right"
  },
  {
    "startMs": 875040,
    "text": "um so that's the agent runtime the"
  },
  {
    "startMs": 878000,
    "text": "second piece of um of this platform"
  },
  {
    "startMs": 880720,
    "text": "right is the is the computer so this is"
  },
  {
    "startMs": 882639,
    "text": "where the work is actually happening um"
  },
  {
    "startMs": 885040,
    "text": "and we've been through a lot of"
  },
  {
    "startMs": 886800,
    "text": "iterations and a lot of vendors kind of"
  },
  {
    "startMs": 889120,
    "text": "working with um um providing these"
  },
  {
    "startMs": 891360,
    "text": "sandboxes for for the computer for for"
  },
  {
    "startMs": 893839,
    "text": "agent to work in and we've landed in in"
  },
  {
    "startMs": 896240,
    "text": "this system that we've worked really"
  },
  {
    "startMs": 898240,
    "text": "hard now to develop which is um um"
  },
  {
    "startMs": 901760,
    "text": "checkpointing um a computer and so you"
  },
  {
    "startMs": 905199,
    "text": "can imagine you come to level you start"
  },
  {
    "startMs": 906560,
    "text": "a new project uh we have this common"
  },
  {
    "startMs": 908720,
    "text": "what we call a golden checkpoint which"
  },
  {
    "startMs": 911120,
    "text": "contains the OS and the system services"
  },
  {
    "startMs": 914079,
    "text": "it has common tools installed and a dev"
  },
  {
    "startMs": 916320,
    "text": "server that is ready to start and this"
  },
  {
    "startMs": 918560,
    "text": "checkpoint it it includes everything on"
  },
  {
    "startMs": 920560,
    "text": "disk uh memory and also running"
  },
  {
    "startMs": 922639,
    "text": "processes"
  },
  {
    "startMs": 923839,
    "text": "And and so when you start a new project,"
  },
  {
    "startMs": 925920,
    "text": "you get all of that for free. And uh all"
  },
  {
    "startMs": 928240,
    "text": "of that is copied over in about 230"
  },
  {
    "startMs": 930240,
    "text": "millonds. Um and so once you start a"
  },
  {
    "startMs": 933839,
    "text": "project, you you might have some"
  },
  {
    "startMs": 935279,
    "text": "specific code and and some dependencies"
  },
  {
    "startMs": 937360,
    "text": "within that project. Um and um that is"
  },
  {
    "startMs": 941040,
    "text": "also checkpointed as you go. And and so"
  },
  {
    "startMs": 944639,
    "text": "each time the the agent is running and"
  },
  {
    "startMs": 947600,
    "text": "it finishes a turn, we will actually"
  },
  {
    "startMs": 949600,
    "text": "save a checkpoint of of that computer."
  },
  {
    "startMs": 952000,
    "text": "And and from that we're able to again"
  },
  {
    "startMs": 954000,
    "text": "like very quickly sub-second uh uh spin"
  },
  {
    "startMs": 956959,
    "text": "that computer up whenever you need it."
  },
  {
    "startMs": 958639,
    "text": "That means we can save on on resources"
  },
  {
    "startMs": 960480,
    "text": "by kind of spinning this down. If you"
  },
  {
    "startMs": 962240,
    "text": "leave for say 10 minutes or or so and"
  },
  {
    "startMs": 965279,
    "text": "come back, we can just spin it up"
  },
  {
    "startMs": 966720,
    "text": "extremely quickly. So you don't even"
  },
  {
    "startMs": 967920,
    "text": "notice this. And even uh kind of"
  },
  {
    "startMs": 970160,
    "text": "requests um in transit will will not"
  },
  {
    "startMs": 972959,
    "text": "even be dropped in in this setup. Um the"
  },
  {
    "startMs": 976800,
    "text": "other thing we can do thanks to uh this"
  },
  {
    "startMs": 979040,
    "text": "checkpointing is that just like the"
  },
  {
    "startMs": 981440,
    "text": "trajectory itself uh in the agent"
  },
  {
    "startMs": 983519,
    "text": "runtime we can also fork um the computer"
  },
  {
    "startMs": 986959,
    "text": "and uh when we do this um we have for"
  },
  {
    "startMs": 989759,
    "text": "example we have um a feature in in level"
  },
  {
    "startMs": 992800,
    "text": "that is called drafts where you kind of"
  },
  {
    "startMs": 994160,
    "text": "work in different environments of what"
  },
  {
    "startMs": 995759,
    "text": "you're doing and and to support that we"
  },
  {
    "startMs": 997279,
    "text": "need to fork the computer that you're"
  },
  {
    "startMs": 998720,
    "text": "working in. Um and um here we have um um"
  },
  {
    "startMs": 1004240,
    "text": "kind of the example of doing two at the"
  },
  {
    "startMs": 1006639,
    "text": "same time. And um you can imagine doing"
  },
  {
    "startMs": 1008720,
    "text": "hundreds of these, right? Um and so um"
  },
  {
    "startMs": 1012240,
    "text": "we've we've had to do uh some"
  },
  {
    "startMs": 1014720,
    "text": "optimizations to make this feasible to"
  },
  {
    "startMs": 1016720,
    "text": "to actually run. So one of these"
  },
  {
    "startMs": 1018320,
    "text": "optimizations is copy and write on the"
  },
  {
    "startMs": 1020800,
    "text": "RAM itself. And so creating one of these"
  },
  {
    "startMs": 1023199,
    "text": "forks of a computer is uh is basically"
  },
  {
    "startMs": 1025600,
    "text": "free in terms of of the RAM that it's"
  },
  {
    "startMs": 1027760,
    "text": "using. But um as soon as you start"
  },
  {
    "startMs": 1030319,
    "text": "writing um um in in a process to to RAM,"
  },
  {
    "startMs": 1033520,
    "text": "we will kind of copy that page over and"
  },
  {
    "startMs": 1035839,
    "text": "only then will you start having to"
  },
  {
    "startMs": 1037839,
    "text": "allocate new memory. Um and and there's"
  },
  {
    "startMs": 1041600,
    "text": "another optimization here also which is"
  },
  {
    "startMs": 1043839,
    "text": "that um each of these sandboxes require"
  },
  {
    "startMs": 1046160,
    "text": "a few hundreds of megabytes of memory."
  },
  {
    "startMs": 1048720,
    "text": "Um but and that would take a few seconds"
  },
  {
    "startMs": 1051440,
    "text": "to stream in if you have it in like cold"
  },
  {
    "startMs": 1053280,
    "text": "object storage and then it has to go to"
  },
  {
    "startMs": 1054880,
    "text": "disk and then then into memory of this"
  },
  {
    "startMs": 1056880,
    "text": "uh um this VM. But um thanks to uh um"
  },
  {
    "startMs": 1062240,
    "text": "being able to stream the memory, we can"
  },
  {
    "startMs": 1064080,
    "text": "actually boot up the uh the machine"
  },
  {
    "startMs": 1066799,
    "text": "before all of the memory is is actually"
  },
  {
    "startMs": 1070320,
    "text": "um ready on it. So the the memory the OS"
  },
  {
    "startMs": 1073600,
    "text": "uses comes first and then like some"
  },
  {
    "startMs": 1075039,
    "text": "processes and so on will will start to"
  },
  {
    "startMs": 1076880,
    "text": "work as soon as the memory gets there."
  },
  {
    "startMs": 1078320,
    "text": "And this also shaves off uh some some"
  },
  {
    "startMs": 1080880,
    "text": "extra startup time. Um and then we"
  },
  {
    "startMs": 1083200,
    "text": "started asking ourselves how can we make"
  },
  {
    "startMs": 1084720,
    "text": "this even more efficient and even more"
  },
  {
    "startMs": 1086080,
    "text": "faster for our users. And so you might"
  },
  {
    "startMs": 1088240,
    "text": "be familiar with V. It's this great dev"
  },
  {
    "startMs": 1090160,
    "text": "server that most of the meta frameworks"
  },
  {
    "startMs": 1092320,
    "text": "out there in the JavaScript ecosystem is"
  },
  {
    "startMs": 1094240,
    "text": "using. Uh and so we we took that and we"
  },
  {
    "startMs": 1096880,
    "text": "forked it and we rewrote it in in Rust."
  },
  {
    "startMs": 1099600,
    "text": "And uh that made our code starts two"
  },
  {
    "startMs": 1102000,
    "text": "times faster and we went from getting"
  },
  {
    "startMs": 1103520,
    "text": "this preview from 14 seconds to to 3"
  },
  {
    "startMs": 1105520,
    "text": "seconds. And the main um kind of thing"
  },
  {
    "startMs": 1107840,
    "text": "that we made faster here is that vit"
  },
  {
    "startMs": 1109440,
    "text": "uses nojs and we're able to like drop"
  },
  {
    "startMs": 1112240,
    "text": "that dependency off vit itself and just"
  },
  {
    "startMs": 1114400,
    "text": "have this rust binary. So um that made"
  },
  {
    "startMs": 1117039,
    "text": "the memory footprint be 6.5 times less"
  },
  {
    "startMs": 1120160,
    "text": "uh in these machines. Um and by taking"
  },
  {
    "startMs": 1122799,
    "text": "control of the applications that we're"
  },
  {
    "startMs": 1124720,
    "text": "running in these computers, we're also"
  },
  {
    "startMs": 1126080,
    "text": "able to control kind of how we write to"
  },
  {
    "startMs": 1128559,
    "text": "memory. And so when we control how we"
  },
  {
    "startMs": 1130960,
    "text": "write to memory, we're even more"
  },
  {
    "startMs": 1132720,
    "text": "optimizing. If you remember back to the"
  },
  {
    "startMs": 1134400,
    "text": "kind of the copy on write solution when"
  },
  {
    "startMs": 1136000,
    "text": "we're drafting different um um different"
  },
  {
    "startMs": 1139120,
    "text": "computers and so we're able to uh run"
  },
  {
    "startMs": 1141600,
    "text": "this extremely efficiently so that we"
  },
  {
    "startMs": 1143280,
    "text": "can run um lots and lots of agents in in"
  },
  {
    "startMs": 1146000,
    "text": "parallel and kind of have agents explore"
  },
  {
    "startMs": 1148480,
    "text": "different solutions to solving a bug or"
  },
  {
    "startMs": 1151039,
    "text": "improving the performance of of your"
  },
  {
    "startMs": 1152720,
    "text": "applications and and so on. Um and so"
  },
  {
    "startMs": 1156480,
    "text": "this has been fun. Um [laughter]"
  },
  {
    "startMs": 1158799,
    "text": "uh but the last piece now is is about"
  },
  {
    "startMs": 1161039,
    "text": "verification. And of course this kind of"
  },
  {
    "startMs": 1162799,
    "text": "computer and this dev service is a big"
  },
  {
    "startMs": 1164320,
    "text": "piece of being able to verify what an"
  },
  {
    "startMs": 1166640,
    "text": "agent is doing. Um and if you look at"
  },
  {
    "startMs": 1170799,
    "text": "verification, you can think of these"
  },
  {
    "startMs": 1172480,
    "text": "feedback loops, right? That the agent"
  },
  {
    "startMs": 1174320,
    "text": "needs to get information. It took an"
  },
  {
    "startMs": 1175760,
    "text": "action. Was this a good action or was it"
  },
  {
    "startMs": 1177919,
    "text": "a bad action? And um you can think of it"
  },
  {
    "startMs": 1180160,
    "text": "as this inner loop and this outer loop."
  },
  {
    "startMs": 1182000,
    "text": "So this inner loop is um during the turn"
  },
  {
    "startMs": 1184240,
    "text": "of the agent. Then you have kind of"
  },
  {
    "startMs": 1185840,
    "text": "obvious things such as like the um is"
  },
  {
    "startMs": 1188080,
    "text": "the build working? Do we have lint"
  },
  {
    "startMs": 1189600,
    "text": "errors or type errors in the code that"
  },
  {
    "startMs": 1190960,
    "text": "we're running? And then you can check"
  },
  {
    "startMs": 1192880,
    "text": "for runtime errors in in the preview"
  },
  {
    "startMs": 1194720,
    "text": "that you're running. You can also have"
  },
  {
    "startMs": 1196640,
    "text": "within this computer a headless browser"
  },
  {
    "startMs": 1198720,
    "text": "where the agent can go in and kind of"
  },
  {
    "startMs": 1200559,
    "text": "explore um the the web app it's it's"
  },
  {
    "startMs": 1203440,
    "text": "building or whatever it's building,"
  },
  {
    "startMs": 1204880,
    "text": "right? Um and and a bunch of other"
  },
  {
    "startMs": 1207039,
    "text": "things that we're using to help verify"
  },
  {
    "startMs": 1208960,
    "text": "within the turn of an agent. But then"
  },
  {
    "startMs": 1210880,
    "text": "you also have this outer loop which is"
  },
  {
    "startMs": 1213280,
    "text": "kind of between each turn and the turn"
  },
  {
    "startMs": 1215120,
    "text": "you can think of like when the agent is"
  },
  {
    "startMs": 1216559,
    "text": "yielding to you as a user. Um and um"
  },
  {
    "startMs": 1220160,
    "text": "between each turn you might get some"
  },
  {
    "startMs": 1221760,
    "text": "info on on the product itself uh from"
  },
  {
    "startMs": 1224240,
    "text": "from production from your users right"
  },
  {
    "startMs": 1226000,
    "text": "and so you can look at how your visitors"
  },
  {
    "startMs": 1227600,
    "text": "are behavior are behaving um what users"
  },
  {
    "startMs": 1230799,
    "text": "are are telling you online uh you can do"
  },
  {
    "startMs": 1233200,
    "text": "automatic AB tests and actually see"
  },
  {
    "startMs": 1236240,
    "text": "change some copy and see is this"
  },
  {
    "startMs": 1237600,
    "text": "improving conversion and so on and then"
  },
  {
    "startMs": 1239440,
    "text": "you can also take these business metrics"
  },
  {
    "startMs": 1241039,
    "text": "and and remember this goes back to kind"
  },
  {
    "startMs": 1242640,
    "text": "of the capabilities I showed you by"
  },
  {
    "startMs": 1244480,
    "text": "having control over these things we can"
  },
  {
    "startMs": 1246400,
    "text": "make sure that we can optimize how the"
  },
  {
    "startMs": 1248080,
    "text": "agent is is getting this outer feedback"
  },
  {
    "startMs": 1250320,
    "text": "loop. So, we can make sure that if"
  },
  {
    "startMs": 1252320,
    "text": "you're running payments, we can actually"
  },
  {
    "startMs": 1254159,
    "text": "uh track those transactions and"
  },
  {
    "startMs": 1256480,
    "text": "conversions and make sure that um the"
  },
  {
    "startMs": 1258799,
    "text": "agent can actually help you optimize uh"
  },
  {
    "startMs": 1260799,
    "text": "not only the the code, right, but the"
  },
  {
    "startMs": 1263520,
    "text": "the business strategy um around around"
  },
  {
    "startMs": 1266159,
    "text": "your product. Um and so those are really"
  },
  {
    "startMs": 1270240,
    "text": "the the three things that uh that we've"
  },
  {
    "startMs": 1272400,
    "text": "been working for and we'll continue to"
  },
  {
    "startMs": 1275440,
    "text": "kind of build out um these uh these"
  },
  {
    "startMs": 1278400,
    "text": "capabilities and this architecture"
  },
  {
    "startMs": 1280960,
    "text": "around really orchestrating these LMS"
  },
  {
    "startMs": 1284080,
    "text": "into into agents. And so um this aentic"
  },
  {
    "startMs": 1287280,
    "text": "system that we're building is running"
  },
  {
    "startMs": 1288480,
    "text": "billions of tokens per minute. um and um"
  },
  {
    "startMs": 1291919,
    "text": "um these computers, right? We can spawn"
  },
  {
    "startMs": 1293840,
    "text": "up with each agent and we can have"
  },
  {
    "startMs": 1295440,
    "text": "multiple agents use one computer. And"
  },
  {
    "startMs": 1297360,
    "text": "now we're kind of back to this uh uh"
  },
  {
    "startMs": 1299600,
    "text": "quite beautiful setup where you have"
  },
  {
    "startMs": 1301039,
    "text": "agents talking to agents and they're"
  },
  {
    "startMs": 1302480,
    "text": "orchestrating and and this time it's"
  },
  {
    "startMs": 1305360,
    "text": "it's actually working and it's working"
  },
  {
    "startMs": 1307600,
    "text": "at scale thanks to some of these"
  },
  {
    "startMs": 1309120,
    "text": "optimizations. Um and so if you're"
  },
  {
    "startMs": 1312000,
    "text": "curious to try this out, you can head to"
  },
  {
    "startMs": 1313520,
    "text": "level.dev and you'll you'll see our our"
  },
  {
    "startMs": 1315360,
    "text": "previews spinning up and and so on, but"
  },
  {
    "startMs": 1317360,
    "text": "you'll get a very simple and um a nice"
  },
  {
    "startMs": 1320080,
    "text": "interface and you won't have to care"
  },
  {
    "startMs": 1321520,
    "text": "about all of this stuff. Uh thank you so"
  },
  {
    "startMs": 1323760,
    "text": "much. It's been pleasure. Um and uh"
  },
  {
    "startMs": 1326320,
    "text": "yeah, hope you hope you learned"
  },
  {
    "startMs": 1327600,
    "text": "something. Thanks so much."
  }
]
