# What it takes to set intelligence free — Fabian Hedin, Lovable

Fabian Hedin, Lovable

[Talk page](https://ai.engineer/talks/pZWPq_ZAmM4-what-it-takes-set-intelligence-free) · [Video](https://www.youtube.com/watch?v=pZWPq_ZAmM4)

## What it takes to set intelligence free

Lovable’s first multi-agent framework made the product worse. Fabian Hedin traces the return to agents through a runtime that can hand off long tasks, sandboxes that can resume and fork, and feedback from both the running app and the business it serves.

### Why Lovable shelved its first agent framework

[0:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=12s)

In 2023, GPT Engineer could build a one-page app with one model call per user message. The interface already had the two halves Lovable would keep: a chat to describe what to build and a preview to see the result. The setup worked for simple apps. Fabian Hedin, Lovable’s co-founder and CTO, recalls nearly running the company out of money by building for the more capable models the team expected to come next.

The team built what Hedin still calls a “beautiful” framework. A main agent spoke to the user and spawned specialists. One implementation agent could generate the first version of an app, with frontend and backend agents handling their own areas. The agents sent messages back and forth to coordinate. The extra machinery made the product worse, a regression Hedin attributes to what the models could handle at the time.

In late 2024, Lovable went back to a simpler division of labor. Smaller models retrieved information. One main model spoke to the user and wrote the code in the same message. The UI felt responsive, the system was reliable enough for users to iterate with it, and the multi-agent framework went away. As models got better at handling more complex agentic work, Lovable had reason to try orchestration again.

### From chat and preview to running a business

[3:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=236s)

The interface still starts with intent on the left and a running preview on the right. As that interface began to support more complex software, users could spend more of their time on architecture and visible behavior. A working preview is an early outcome. A product that serves customers and can make money needs more of the stack within reach.

- **Building software.** The coding agent can exercise the app in a browser to check its work. It connects to GitHub so users can take and use the code it writes.
- **Running the app.** The platform gives the agent databases, authentication, storage, backend compute, security scanners, backups and logs. The agent can inspect those services while working on the app.
- **Operating the business.** The agent can help with receiving payments, sending emails, improving search visibility, running ads on Google and Meta, and using product analytics to examine conversions. Those same services can feed observations back into later work.

### An inbox for agents already at work

[7:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=470s)

Lovable used to stop agents after 30 minutes because the team doubted they could work reliably for longer. It removed that time cap. A task lasting 10 hours or more illustrates what the architecture now has to support. The runtime must carry the task forward, the sandbox must keep the software runnable, and the agent needs feedback soon enough to correct a bad turn.

Each agent gets its own inbox. A person, another agent or a scheduled system event can send it a message. Suppose someone asks “what’s the status?” while the agent is working. In Hedin’s example, the agent has a request, a tool call and its result in its task history by the time it is ready to receive messages. The status question waits in the inbox until the agent copies it into that history. Lovable calls the history a *trajectory*.

![A short dark Before bar represents 30 minutes. A long multicolor Now bar represents 10+ hours on an axis marked from 0 to 10 hours.](https://ai.engineer/api/talk-essay-media/7f83442de5c7ee4a265fad5b2b21b3777726dd3fbcc211929ff7d6c69452616f)

Lovable capped agent runs at 30 minutes because it doubted agents could work reliably for longer. Hedin says Lovable lifted the cap, a change the chart illustrates with a bar stretching past 10 hours.

### Forking the task history

[10:07](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=607s)

The trajectory is an append-only log inspired by Git. Each new event points back to its parent, the previous event on that branch. To start two agents from the same point in a task, give the first event on each branch the same parent. Both agents inherit the earlier events without copying them, then build up their own histories as they work.

Lovable leaves divergent trajectories separate because the meaning of merging two sequences of actions is unclear. The agents can still exchange findings through messages.

Two trajectories with the same parent
Which events do the two agents share? Follow either branch’s parent pointer and you reach the same earlier records.
- Earlier event — Part of the history before the fork.
- Shared parent event — The point in the history where the continuations split.
- New event on branch A — One agent’s continuation.
- New event on branch B — A parallel continuation from the same task state.
- Shared parent event → Earlier event (points to previous event)
- New event on branch A → Shared parent event (points to parent)
- New event on branch B → Shared parent event (points to parent)

### One event history feeds prompts and the debugger

[11:14](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=674s)

A trajectory keeps tool calls, their successes and failures, and other platform events. The runtime builds the prompt from that fuller record. When a history gets long, it can summarize the early steps to fit the model’s context window. A model with more room can keep more of that history in detail, and a different task can call for a different prompt. Those rendering choices leave the original events available.

The debugger uses the same history to reconstruct the interface. The recording shows Hedin dragging a slider through a run with 156 events. As he moves the slider, the UI on the right updates to show the corresponding point in the run. The event position controls what the debugger renders, so an engineer can inspect an earlier state after the agent has moved on. [12:29](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=749s)

### A new worker can pick up the next turn

[13:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=783s)

The worker that runs an agent is almost stateless. It persists progress to the task history between turns, so another process can pick up the same task from that record. The agent’s work can span several worker processes and several versions of the runtime.

Hedin puts Lovable’s deployment rate for this system at 700 times a day, about once every two minutes. A 10-hour customer task can outlast many deployments. With turn-by-turn persistence, a worker from a new deployment can take over the next turn. The team can roll out a feature or an urgent fix without waiting for the customer’s task to finish.

### Checkpointing the computer, including its running processes

[14:35](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=875s)

The agent also needs the computer where it edits files, runs a development server and verifies the app. After trying several sandbox vendors and designs, Lovable built around checkpoints. A new project starts from a shared *golden checkpoint* with an operating system, system services, common tools and a dev server ready to start. The checkpoint captures disk, RAM and running processes. Hedin puts the time to provision from that base at about 230 milliseconds.

Once the project has its own code and dependencies, Lovable saves a project checkpoint at the end of each agent turn. It can stop an idle sandbox to save resources and restore that computer in under a second when someone comes back. Hedin gives a user stepping away for about 10 minutes as an example. He also says the setup preserves requests already in transit, though the talk leaves the handling of those requests unspecified.

### Sandbox forks share RAM until a write

[16:16](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=976s)

A checkpoint can also start more than one computer. Lovable’s drafts feature uses that ability to let users work in separate environments from the same starting state. Hedin gives an example with two drafts at once. At a larger fan-out, the cost of copying every sandbox’s memory would add up quickly.

Copy-on-write makes the initial fork nearly free in RAM. Both drafts can read the same page. If draft B writes to it, the system copies that page for B and applies the write to its copy. Draft A still sees the original contents. New RAM is allocated page by page as the drafts write.

A separate optimization helps when a checkpoint’s memory is cold. A sandbox needs a few hundred megabytes of RAM, and moving all of it from object storage through disk into the VM can take a few seconds. Lovable streams the memory so the machine can start before the full transfer finishes. The operating system gets its memory first, and other processes can start working as the memory they need arrives.

What two drafts see when one writes
Which draft sees the change? Draft B’s write creates a second copy of just that page. Draft A still reads the original.
- Draft A — Reads the checkpoint’s page.
- Draft B — Reads the same page.
- Shared page — One copy in RAM.
- Draft A — Keeps reading the original page.
- Draft B — Reads and writes its own copy of this page.
- Original page — Still contains the checkpoint’s contents.
- Private page — Newly allocated in RAM, with draft B’s change.
- Draft A → Shared page (reads)
- Draft B → Shared page (reads)
- Draft A → Original page (reads)
- Draft B → Private page (writes)

### Rewriting Vite in Rust brings the preview up sooner

[18:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1083s)

Lovable forked Vite, the JavaScript ecosystem’s development server, and rewrote it in Rust. That let the team drop the dev server’s Node.js dependency and run a Rust binary. For Lovable’s setup, Hedin reports a twofold startup speedup, a drop in time to preview from 14 seconds to 3 seconds, and a memory footprint about one-sixth of its former size, a 6.5-fold reduction.

Owning the dev server also gives the team control over how it writes to memory. Every write to a shared page can trigger a copy in a fork, so the write pattern affects how much memory several sandboxes can keep sharing. With cheaper forks, parallel agents can try different fixes for the same bug or explore different ways to improve an app’s performance.

### Checking the software during a turn and the product between turns

[19:18](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1158s)

A running sandbox gives the agent feedback while it can still change course. In this *inner loop*, the agent can check whether the build works, look for lint and type errors, and inspect runtime errors in the preview. A headless browser in the sandbox lets it open and explore the web app, so it can respond to behavior that only appears once the code runs.

The *outer loop* runs between turns, after the agent yields back to the user. Once the app is in production, visitor behavior and what users say online can inform the next change. In Hedin’s A/B test example, the agent could change a piece of copy and compare conversion between the two versions. The build and browser checks can establish that the variant works. Conversion data can help decide whether to keep it.

That is where the business tools feed back into the agent. When an app takes payments through the platform, Lovable can track transactions and conversions and give the agent those signals. A subsequent turn can use them to help the user decide what to change in the product or its business strategy.

Agents talking to agents are back in production. Lovable can give each agent a computer or let several agents use one, and Hedin puts production throughput at over a billion tokens per minute. For the user, all of that still starts by describing a change in chat and watching it take shape in the preview.

## Key takeaways

- The append-only trajectory gives Lovable three ways to use the same events. Agents can fork from a shared parent, the runtime can render a prompt for a particular model, and the debugger can reconstruct an earlier UI state.
- There are two kinds of state to recover between turns. The task history lets a new worker continue the agent’s work. A computer checkpoint restores the project’s files, memory and processes.
- Copy-on-write makes starting more drafts cheap in RAM. The memory cost as they diverge depends on which pages their processes write.
- During a turn, the running preview can expose a software error in time to fix it. Between turns, production signals such as conversion can help decide which working change is worth keeping.

## Slides

### From 30 minutes to 10+ hours

Lovable capped agent runs at 30 minutes because it doubted agents could work reliably for longer. Hedin says Lovable lifted the cap, a change the chart illustrates with a bar stretching past 10 hours.

[7:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=474s) [A short dark Before bar represents 30 minutes. A long multicolor Now bar represents 10+ hours on an axis marked from 0 to 10 hours.](https://assets.ai.engineer/sites/aiecode2025/sha256/7f83442de5c7ee4a265fad5b2b21b3777726dd3fbcc211929ff7d6c69452616f.webp)

From 30 minutes to 10+ hours

Before
30 minutes

Now
10+ hours

X-axis ticks: 0h, 2h, 4h, 6h, 8h, 10h

Interface text:
[illegible]er
[illegible]mmit
[illegible]ED BY
[illegible]epMind
Edit with Lovable ×

## Full transcript

[0:01](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1s) [music]

[0:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=12s) Welcome everyone. Glad to be here. I'm

[0:14](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=14s) Fabian, co-founder and CTO of uh of

[0:17](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=17s) Lovable. And um we spent the last three

[0:20](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=20s) years or so building a platform to let

[0:22](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=22s) anyone create software and then operate

[0:25](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=25s) that and deploy that software. Um and um

[0:29](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=29s) the the topic of today is what it takes

[0:32](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=32s) to set intelligence free. Um really um

[0:37](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=37s) for us this takes us back to when we

[0:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=40s) when we started three years ago and um I

[0:43](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=43s) have to say I have a bit of a

[0:45](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=45s) complicated relationship with with

[0:47](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=47s) agents. Um and I I'll tell you why. um

[0:51](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=51s) we almost uh failed as a company because

[0:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=54s) we thought um back in 2023 that hey we

[0:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=58s) these agents are the future so let's

[0:59](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=59s) build for them now um I think they we

[1:02](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=62s) kind of turned out to be true that they

[1:04](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=64s) were the future but we were definitely

[1:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=66s) wrong on the the now piece in in 23 so

[1:08](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=68s) this was back in kind of GPT4 days um

[1:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=72s) and um at the at that time the

[1:15](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=75s) intelligence was simply not there to

[1:16](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=76s) have more of these kind of complex

[1:18](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=78s) agentic systems Um but now it is right

[1:22](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=82s) now uh now the intelligence is actually

[1:24](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=84s) at a place where where you can really

[1:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=86s) build out more complicated systems

[1:28](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=88s) around them. Um and so I I'll give you

[1:31](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=91s) kind of a quick um background story here

[1:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=94s) of uh of our journey um in in working

[1:38](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=98s) with intelligence or or these LMS. And

[1:41](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=101s) so

[1:43](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=103s) um back in 2023 we built the first

[1:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=106s) version of our product. We called it GPT

[1:47](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=107s) Engineer back then. Um, and uh, really

[1:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=110s) the UI was very similar to what it is

[1:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=112s) today where you kind of have a chat and

[1:53](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=113s) and this preview. Um, but uh, the AI at

[1:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=116s) that point was uh, quite simple. We just

[1:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=118s) had a prompt and a response, one LM call

[2:01](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=121s) per user message. Uh, very simple. It it

[2:04](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=124s) worked fine. Um, but you could kind of

[2:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=126s) build one page apps and and simpler

[2:09](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=129s) applications with this. Um and then um

[2:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=132s) we thought okay this intelligence is

[2:15](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=135s) going to keep on evolving so we have to

[2:17](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=137s) be ready for uh for it as it evolves and

[2:20](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=140s) so we thought let's go out and build

[2:22](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=142s) this agentic framework and so we we went

[2:24](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=144s) and we built this very sophisticated

[2:27](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=147s) there I say beautiful framework for for

[2:29](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=149s) agents to work and um we had kind of

[2:33](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=153s) this one main agent that would talk to

[2:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=154s) the user and that agent would spawn

[2:36](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=156s) other agents like an implementation

[2:38](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=158s) agent here in the example

[2:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=160s) And each agent could have a specialtity.

[2:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=162s) This agent would kind of specialize in

[2:44](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=164s) the first generation of an app. And then

[2:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=166s) you would have like a front end agent

[2:47](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=167s) and a backend agent. And they would all

[2:49](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=169s) talk to each other, send messages back

[2:51](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=171s) and forth. And we thought, "Oh, this is

[2:53](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=173s) beautiful." And there was papers around

[2:55](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=175s) this and how well this could work. And

[2:57](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=177s) uh in the end, it didn't work at all. We

[2:59](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=179s) just made the product worse. Um we um we

[3:04](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=184s) definitely [clears throat] failed

[3:05](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=185s) [laughter] on this one. Um but uh

[3:07](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=187s) luckily before we ran out of money we

[3:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=190s) figured out like hey let's go back to a

[3:11](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=191s) simpler system again. So uh in late 24

[3:14](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=194s) we went back to a much simpler um system

[3:17](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=197s) where it was a bit of a shame where we

[3:19](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=199s) had like some some smaller LMS doing

[3:20](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=200s) some knowledge retrieval and then really

[3:23](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=203s) just one main LM kind of writing to the

[3:25](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=205s) user and and writing the code in the

[3:27](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=207s) same message. And this worked great. it

[3:29](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=209s) was very responsive for for users in the

[3:31](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=211s) UI and and it was reliable and users

[3:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=214s) were kind of in it and and iterating

[3:35](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=215s) with uh with the model. Um and so um

[3:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=220s) let's close that down. Um but now it's

[3:44](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=224s) time again. We're back. We're so back.

[3:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=226s) Agents this time uh they work um and uh

[3:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=230s) we're running them in production over a

[3:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=232s) billion tokens per minute on on on these

[3:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=234s) systems that I'm going to talk about. Um

[3:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=236s) but um first just looking at okay what

[4:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=240s) is actually lovable. So uh if you

[4:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=243s) simplify the UI and this was same back

[4:05](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=245s) in 2023 as it is today. Uh to the left

[4:08](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=248s) we have a chat where humans come in and

[4:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=250s) they kind of describe their their intent

[4:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=252s) to to build or whatever they want to do.

[4:14](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=254s) And to the right you have a preview uh

[4:17](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=257s) which is the output or or the outcomes

[4:19](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=259s) of uh of what you're building. Um and

[4:22](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=262s) this back in 23 you could do simpler

[4:25](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=265s) things with right but now we've really

[4:28](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=268s) seen working at this layer of

[4:30](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=270s) abstraction you're able to build very

[4:31](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=271s) complex things right and I think we've

[4:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=274s) even seen uh a lot of tooling meant for

[4:37](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=277s) for developers for example moving to

[4:39](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=279s) this type of interface where you're not

[4:41](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=281s) really looking at the code every day and

[4:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=282s) so on and you're getting kind of

[4:44](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=284s) abstracted and working on on be

[4:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=286s) architecture uh or looking at some kind

[4:49](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=289s) of output of of what you're

[4:51](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=291s) And um this is something that we've

[4:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=294s) always believed in and it's been kind of

[4:55](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=295s) a core thesis behind lovable that you

[4:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=298s) won't have to care about the code in in

[5:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=300s) the same way that you had had to do

[5:02](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=302s) before. And I think today we're kind of

[5:04](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=304s) in this almost a bit in between I think

[5:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=306s) in the industry where you know some

[5:07](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=307s) people might say oh you don't have to

[5:09](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=309s) care about code at all and some people

[5:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=310s) might have different opinions. Um um I

[5:14](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=314s) of course like growing up coding and

[5:16](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=316s) these things you get a bit attached. Uh

[5:18](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=318s) but in the end what matters is is

[5:21](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=321s) actually not the code. Um sorry if we

[5:24](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=324s) remove that last part but uh what what

[5:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=326s) matters is uh is the outcomes right? Um

[5:30](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=330s) and so um the outcomes what is that?

[5:33](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=333s) Well, for for our users, the outcomes is

[5:36](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=336s) um uh creating a business and monetizing

[5:39](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=339s) and creating value for for others in in

[5:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=342s) in some type of way. And uh I'll kind of

[5:45](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=345s) quickly go over um what we build as a

[5:48](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=348s) platform to to enable this before I go

[5:49](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=349s) in kind of on the uh on the technical

[5:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=352s) side of this talk. So if you if you look

[5:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=354s) at lovable the first thing that that you

[5:57](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=357s) can say about the platform is that we

[5:59](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=359s) have this agent and like any other agent

[6:01](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=361s) it can do quite arbitrary things and

[6:04](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=364s) it's quite specialized at at building

[6:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=366s) software uh and it has access to a

[6:09](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=369s) browser so it can verify what it's

[6:11](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=371s) building and um it connects to to GitHub

[6:14](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=374s) and you know it writes code that and you

[6:16](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=376s) can do whatever you want with that code

[6:18](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=378s) so on. So that's um kind of your basic

[6:20](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=380s) uh coding coding agent. Um and the other

[6:23](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=383s) pieces of the platform is this kind of

[6:25](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=385s) cloud and and business piece of the

[6:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=386s) platform. And so um the cloud part of

[6:30](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=390s) the platform is is about just giving

[6:32](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=392s) kind of these u hosting primitives just

[6:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=394s) seamlessly to to this agent. And so we

[6:36](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=396s) we built out databases, authentication,

[6:39](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=399s) storage, uh all type of backend compute

[6:41](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=401s) and security scanners and like backups

[6:44](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=404s) and logs for all of these things. And

[6:45](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=405s) all of it can be introspected by by the

[6:48](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=408s) agent. Um, and this just makes it

[6:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=410s) seamless to to build things. You don't

[6:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=412s) have to kind of go to different services

[6:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=414s) to set this together. We just kind of

[6:55](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=415s) provide you uh these primitives. Um, so

[6:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=418s) that's still around building software

[7:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=420s) and hosting this, right? Um, but then

[7:02](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=422s) the last piece is around um these

[7:04](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=424s) business capabilities where uh again the

[7:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=426s) output of what our users are doing on

[7:08](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=428s) lovable, we don't see that output as

[7:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=430s) code. the output is is a product or or a

[7:14](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=434s) business. Um, and if you want to succeed

[7:17](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=437s) as a business, you need to do more

[7:19](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=439s) things than just write code, right? And

[7:21](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=441s) so we we we help our users with uh

[7:23](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=443s) receiving payments, sending emails,

[7:25](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=445s) optimizing SEO, um, doing ads on on

[7:28](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=448s) Google and meta um, and kind of

[7:30](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=450s) analyzing what is happening with the

[7:32](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=452s) product through uh, through analytics

[7:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=454s) and you can look at kind of conversions

[7:36](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=456s) and and optimize these sort of things.

[7:38](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=458s) and the agent is in the loop in all of

[7:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=460s) this. Right? So that's kind of our uh

[7:44](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=464s) capability offering you could say. Um

[7:47](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=467s) and again the core part of this is an

[7:49](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=469s) agent that all of these capabilities are

[7:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=470s) built for. Um and at some point in level

[7:55](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=475s) history we used to limit our agents to

[7:57](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=477s) work for only 30 minutes because we

[7:59](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=479s) thought they weren't reliable to to work

[8:01](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=481s) for a longer amount of time. Um but uh

[8:04](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=484s) now we've changed this to really be uh

[8:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=486s) without any any sort of bound in terms

[8:09](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=489s) of the length an agent can work. And so

[8:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=490s) you can imagine agents working for for

[8:13](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=493s) 10 hours plus. Um and so I'll I'll go

[8:15](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=495s) into some of the things that we've done

[8:18](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=498s) um in our architecture to to enable

[8:20](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=500s) this. And so the first piece is really

[8:23](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=503s) around the agent runtime itself and how

[8:25](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=505s) how we enable that to to run for a

[8:27](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=507s) longer amount of time. And the second

[8:29](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=509s) piece is the computer where each of

[8:32](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=512s) these agents are actually doing their

[8:33](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=513s) work running a dev server um and um

[8:37](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=517s) actually verifying what it's doing. And

[8:39](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=519s) so so the last piece then is the

[8:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=520s) verification itself where if you want an

[8:43](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=523s) agent to to work for a long amount of

[8:45](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=525s) time, you need to make sure that you

[8:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=526s) have these feedback loops in place so

[8:48](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=528s) that it's not kind of going off uh in in

[8:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=530s) in the wrong direction. Um and so if we

[8:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=534s) start by looking at the agent runtime

[8:57](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=537s) itself um you can imagine that um um you

[9:01](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=541s) have um really three different sources

[9:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=543s) that can um interact with an agent. So

[9:07](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=547s) it can be yourself kind of prompting

[9:08](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=548s) this or a human. It could be other

[9:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=550s) agents and it could also be just a

[9:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=552s) system on on a schedule waking up. And

[9:15](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=555s) the way we chose to architect this is

[9:17](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=557s) that for for each agent we have a

[9:19](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=559s) separate inbox uh where any of these

[9:22](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=562s) sources would kind of send in messages.

[9:24](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=564s) And so you might have a message here

[9:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=566s) like what's the status? Um and you can

[9:28](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=568s) imagine you have this agent and this

[9:30](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=570s) agent is kind of an always on agent that

[9:32](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=572s) that might be working right. And so um

[9:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=574s) you can imagine it has done like three

[9:36](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=576s) actions here a request a tool call and

[9:38](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=578s) it got some some result. And then at

[9:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=580s) this point the agent is ready to

[9:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=582s) actually receive uh messages. So um

[9:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=586s) since anyone can drop a message into

[9:47](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=587s) this inbox, the agent then can copy that

[9:49](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=589s) itself into its own uh what we call a

[9:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=592s) trajectory basically it's a task

[9:53](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=593s) history. Um and this is the type of

[9:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=596s) interaction that I think you're familiar

[9:57](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=597s) with if if you're using agents overall.

[10:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=600s) Um so that's kind of the the first

[10:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=603s) design principle uh behind this agent

[10:05](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=605s) runtime. I'll go through a few more

[10:07](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=607s) here. And so um the the trajectory in

[10:11](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=611s) which the the agent is working in which

[10:13](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=613s) is kind of the history of what has

[10:15](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=615s) happened so far um and really the basis

[10:17](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=617s) for any sort of of memory for for for

[10:21](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=621s) the agent right um and we designed this

[10:24](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=624s) trajectory with uh really git as

[10:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=626s) inspiration and so the trajectory what

[10:29](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=629s) is it it's an append only log where each

[10:33](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=633s) event uh points towards a parent the

[10:36](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=636s) previous event Um and because of this

[10:39](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=639s) you get um a nice um capability just

[10:43](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=643s) like in git where you can fork things

[10:45](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=645s) right. So you can have two events

[10:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=646s) pointing to the same parent which

[10:48](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=648s) essentially creates a fork. Um and

[10:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=650s) because of that you can kind of spin up

[10:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=652s) parallel agents at um um at any point of

[10:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=656s) time in the history without having to

[10:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=658s) duplicate all of the kind of the shared

[11:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=660s) history. Um and um semantically it's a

[11:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=663s) bit unclear what would happen if you

[11:04](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=664s) merge this. So unlike it we cannot merge

[11:07](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=667s) agent trajectories but we can kind of um

[11:09](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=669s) spawn them out right and these agents

[11:11](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=671s) can can talk to each other. Um the other

[11:14](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=674s) thing that uh we made sure to design for

[11:16](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=676s) is that this uh agent trajectory it

[11:19](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=679s) includes kind of the full history and

[11:21](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=681s) everything that happens uh with the

[11:23](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=683s) agent. So every tool call um a bunch of

[11:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=686s) other things happening on the platform

[11:27](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=687s) if a tool call like failed or succeeded

[11:30](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=690s) and a bunch of things that might not be

[11:32](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=692s) fully relevant for a prompt. But um then

[11:36](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=696s) what we've done is to make sure that we

[11:38](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=698s) have this appendon log and and from that

[11:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=700s) we can actually build a prompt that we

[11:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=702s) would feed into into the actual LM. And

[11:45](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=705s) um you might ask why why why would you

[11:47](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=707s) want to do this? Well, um, one one

[11:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=710s) reason is that, um, when you build a

[11:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=712s) prompt, you if you have a long history,

[11:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=714s) you probably want to do some sort of

[11:55](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=715s) compaction. You want to summarize part

[11:57](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=717s) of that history, um, in in the earlier

[11:59](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=719s) steps, for example. Um, but this

[12:01](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=721s) summarization would differ um, for

[12:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=723s) example, if you use different models

[12:05](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=725s) with different context lens, you would

[12:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=726s) probably think differently about when

[12:09](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=729s) you should summarize and not. And so by

[12:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=732s) separating the the prompt from the

[12:13](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=733s) actual task history, we're able to

[12:15](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=735s) render prompts for for any type of model

[12:17](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=737s) or or any type of task um that um that

[12:20](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=740s) we can kind of find the best and optimal

[12:22](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=742s) prompt for. Um so to show this event

[12:27](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=747s) history in in progress, we have this

[12:29](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=749s) debug tool here. So here it's just

[12:31](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=751s) recording of me dragging this uh slider

[12:33](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=753s) in our UI. And you can see on the right

[12:35](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=755s) that uh um the UI is kind of updating as

[12:38](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=758s) I'm as I'm dragging this along. And you

[12:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=760s) have 156 events here and one each of

[12:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=762s) those is an event in this event history.

[12:45](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=765s) Uh and you can see how how the UI can

[12:47](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=767s) render kind of any point in history. And

[12:49](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=769s) this is just showcasing that at any

[12:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=772s) point in time we have full control of um

[12:55](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=775s) of say the UI or or anything else

[12:57](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=777s) happening on the this platform thanks to

[12:59](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=779s) um this history kind of detailing

[13:01](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=781s) everything that has happened.

[13:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=783s) Um the the last piece I'll go over here

[13:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=786s) on the on the runtime itself is that um

[13:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=790s) the process that is running these

[13:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=792s) agents, they're separate from from the

[13:14](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=794s) actual task history. And so the process

[13:16](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=796s) is uh almost entirely stateless in that

[13:19](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=799s) uh between each each call each call each

[13:21](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=801s) turn um it will actually just persist

[13:24](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=804s) into the task history. And so you can

[13:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=806s) have a process come and go. Um and and

[13:30](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=810s) then the question is why why do we care

[13:31](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=811s) about this? Um well

[13:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=814s) at lovable this system um we deploy to

[13:37](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=817s) it um 700 times per day. So that's about

[13:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=820s) once every two minutes. And you can

[13:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=822s) imagine if you have um a agent working

[13:45](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=825s) for for 10 hours um you want to not

[13:49](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=829s) disrupt that agent when it's working,

[13:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=830s) right? This this agent is doing

[13:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=832s) something for for a customer. Um but at

[13:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=834s) the same time we want to make sure that

[13:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=836s) this agent is running on the latest

[13:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=838s) deploy. and it might be a new feature or

[14:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=840s) something like that, but it might also

[14:01](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=841s) be like a security vulnerability in in

[14:04](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=844s) the Linux kernel and it's like, okay, we

[14:05](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=845s) need to update this ASAP. Um, and and so

[14:08](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=848s) to do that, thanks to this separation

[14:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=850s) between the actual history and and the

[14:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=852s) processes, we can actually make sure

[14:15](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=855s) that we have one one agent that is

[14:17](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=857s) working on one task, but we can have

[14:19](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=859s) different processes taking up and

[14:21](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=861s) actually doing the compute behind that

[14:23](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=863s) work. Um so so this task can keep on

[14:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=866s) working while we have um different

[14:28](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=868s) deploys um working on it be it for 10

[14:32](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=872s) hours or or even longer right

[14:35](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=875s) um so that's the agent runtime the

[14:38](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=878s) second piece of um of this platform

[14:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=880s) right is the is the computer so this is

[14:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=882s) where the work is actually happening um

[14:45](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=885s) and we've been through a lot of

[14:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=886s) iterations and a lot of vendors kind of

[14:49](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=889s) working with um um providing these

[14:51](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=891s) sandboxes for for the computer for for

[14:53](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=893s) agent to work in and we've landed in in

[14:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=896s) this system that we've worked really

[14:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=898s) hard now to develop which is um um

[15:01](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=901s) checkpointing um a computer and so you

[15:05](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=905s) can imagine you come to level you start

[15:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=906s) a new project uh we have this common

[15:08](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=908s) what we call a golden checkpoint which

[15:11](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=911s) contains the OS and the system services

[15:14](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=914s) it has common tools installed and a dev

[15:16](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=916s) server that is ready to start and this

[15:18](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=918s) checkpoint it it includes everything on

[15:20](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=920s) disk uh memory and also running

[15:22](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=922s) processes

[15:23](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=923s) And and so when you start a new project,

[15:25](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=925s) you get all of that for free. And uh all

[15:28](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=928s) of that is copied over in about 230

[15:30](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=930s) millonds. Um and so once you start a

[15:33](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=933s) project, you you might have some

[15:35](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=935s) specific code and and some dependencies

[15:37](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=937s) within that project. Um and um that is

[15:41](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=941s) also checkpointed as you go. And and so

[15:44](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=944s) each time the the agent is running and

[15:47](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=947s) it finishes a turn, we will actually

[15:49](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=949s) save a checkpoint of of that computer.

[15:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=952s) And and from that we're able to again

[15:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=954s) like very quickly sub-second uh uh spin

[15:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=956s) that computer up whenever you need it.

[15:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=958s) That means we can save on on resources

[16:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=960s) by kind of spinning this down. If you

[16:02](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=962s) leave for say 10 minutes or or so and

[16:05](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=965s) come back, we can just spin it up

[16:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=966s) extremely quickly. So you don't even

[16:07](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=967s) notice this. And even uh kind of

[16:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=970s) requests um in transit will will not

[16:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=972s) even be dropped in in this setup. Um the

[16:16](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=976s) other thing we can do thanks to uh this

[16:19](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=979s) checkpointing is that just like the

[16:21](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=981s) trajectory itself uh in the agent

[16:23](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=983s) runtime we can also fork um the computer

[16:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=986s) and uh when we do this um we have for

[16:29](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=989s) example we have um a feature in in level

[16:32](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=992s) that is called drafts where you kind of

[16:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=994s) work in different environments of what

[16:35](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=995s) you're doing and and to support that we

[16:37](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=997s) need to fork the computer that you're

[16:38](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=998s) working in. Um and um here we have um um

[16:44](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1004s) kind of the example of doing two at the

[16:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1006s) same time. And um you can imagine doing

[16:48](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1008s) hundreds of these, right? Um and so um

[16:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1012s) we've we've had to do uh some

[16:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1014s) optimizations to make this feasible to

[16:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1016s) to actually run. So one of these

[16:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1018s) optimizations is copy and write on the

[17:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1020s) RAM itself. And so creating one of these

[17:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1023s) forks of a computer is uh is basically

[17:05](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1025s) free in terms of of the RAM that it's

[17:07](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1027s) using. But um as soon as you start

[17:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1030s) writing um um in in a process to to RAM,

[17:13](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1033s) we will kind of copy that page over and

[17:15](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1035s) only then will you start having to

[17:17](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1037s) allocate new memory. Um and and there's

[17:21](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1041s) another optimization here also which is

[17:23](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1043s) that um each of these sandboxes require

[17:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1046s) a few hundreds of megabytes of memory.

[17:28](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1048s) Um but and that would take a few seconds

[17:31](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1051s) to stream in if you have it in like cold

[17:33](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1053s) object storage and then it has to go to

[17:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1054s) disk and then then into memory of this

[17:36](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1056s) uh um this VM. But um thanks to uh um

[17:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1062s) being able to stream the memory, we can

[17:44](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1064s) actually boot up the uh the machine

[17:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1066s) before all of the memory is is actually

[17:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1070s) um ready on it. So the the memory the OS

[17:53](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1073s) uses comes first and then like some

[17:55](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1075s) processes and so on will will start to

[17:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1076s) work as soon as the memory gets there.

[17:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1078s) And this also shaves off uh some some

[18:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1080s) extra startup time. Um and then we

[18:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1083s) started asking ourselves how can we make

[18:04](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1084s) this even more efficient and even more

[18:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1086s) faster for our users. And so you might

[18:08](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1088s) be familiar with V. It's this great dev

[18:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1090s) server that most of the meta frameworks

[18:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1092s) out there in the JavaScript ecosystem is

[18:14](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1094s) using. Uh and so we we took that and we

[18:16](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1096s) forked it and we rewrote it in in Rust.

[18:19](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1099s) And uh that made our code starts two

[18:22](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1102s) times faster and we went from getting

[18:23](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1103s) this preview from 14 seconds to to 3

[18:25](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1105s) seconds. And the main um kind of thing

[18:27](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1107s) that we made faster here is that vit

[18:29](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1109s) uses nojs and we're able to like drop

[18:32](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1112s) that dependency off vit itself and just

[18:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1114s) have this rust binary. So um that made

[18:37](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1117s) the memory footprint be 6.5 times less

[18:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1120s) uh in these machines. Um and by taking

[18:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1122s) control of the applications that we're

[18:44](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1124s) running in these computers, we're also

[18:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1126s) able to control kind of how we write to

[18:48](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1128s) memory. And so when we control how we

[18:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1130s) write to memory, we're even more

[18:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1132s) optimizing. If you remember back to the

[18:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1134s) kind of the copy on write solution when

[18:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1136s) we're drafting different um um different

[18:59](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1139s) computers and so we're able to uh run

[19:01](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1141s) this extremely efficiently so that we

[19:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1143s) can run um lots and lots of agents in in

[19:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1146s) parallel and kind of have agents explore

[19:08](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1148s) different solutions to solving a bug or

[19:11](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1151s) improving the performance of of your

[19:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1152s) applications and and so on. Um and so

[19:16](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1156s) this has been fun. Um [laughter]

[19:18](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1158s) uh but the last piece now is is about

[19:21](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1161s) verification. And of course this kind of

[19:22](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1162s) computer and this dev service is a big

[19:24](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1164s) piece of being able to verify what an

[19:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1166s) agent is doing. Um and if you look at

[19:30](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1170s) verification, you can think of these

[19:32](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1172s) feedback loops, right? That the agent

[19:34](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1174s) needs to get information. It took an

[19:35](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1175s) action. Was this a good action or was it

[19:37](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1177s) a bad action? And um you can think of it

[19:40](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1180s) as this inner loop and this outer loop.

[19:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1182s) So this inner loop is um during the turn

[19:44](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1184s) of the agent. Then you have kind of

[19:45](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1185s) obvious things such as like the um is

[19:48](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1188s) the build working? Do we have lint

[19:49](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1189s) errors or type errors in the code that

[19:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1190s) we're running? And then you can check

[19:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1192s) for runtime errors in in the preview

[19:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1194s) that you're running. You can also have

[19:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1196s) within this computer a headless browser

[19:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1198s) where the agent can go in and kind of

[20:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1200s) explore um the the web app it's it's

[20:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1203s) building or whatever it's building,

[20:04](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1204s) right? Um and and a bunch of other

[20:07](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1207s) things that we're using to help verify

[20:08](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1208s) within the turn of an agent. But then

[20:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1210s) you also have this outer loop which is

[20:13](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1213s) kind of between each turn and the turn

[20:15](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1215s) you can think of like when the agent is

[20:16](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1216s) yielding to you as a user. Um and um

[20:20](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1220s) between each turn you might get some

[20:21](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1221s) info on on the product itself uh from

[20:24](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1224s) from production from your users right

[20:26](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1226s) and so you can look at how your visitors

[20:27](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1227s) are behavior are behaving um what users

[20:30](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1230s) are are telling you online uh you can do

[20:33](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1233s) automatic AB tests and actually see

[20:36](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1236s) change some copy and see is this

[20:37](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1237s) improving conversion and so on and then

[20:39](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1239s) you can also take these business metrics

[20:41](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1241s) and and remember this goes back to kind

[20:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1242s) of the capabilities I showed you by

[20:44](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1244s) having control over these things we can

[20:46](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1246s) make sure that we can optimize how the

[20:48](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1248s) agent is is getting this outer feedback

[20:50](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1250s) loop. So, we can make sure that if

[20:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1252s) you're running payments, we can actually

[20:54](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1254s) uh track those transactions and

[20:56](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1256s) conversions and make sure that um the

[20:58](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1258s) agent can actually help you optimize uh

[21:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1260s) not only the the code, right, but the

[21:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1263s) the business strategy um around around

[21:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1266s) your product. Um and so those are really

[21:10](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1270s) the the three things that uh that we've

[21:12](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1272s) been working for and we'll continue to

[21:15](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1275s) kind of build out um these uh these

[21:18](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1278s) capabilities and this architecture

[21:20](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1280s) around really orchestrating these LMS

[21:24](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1284s) into into agents. And so um this aentic

[21:27](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1287s) system that we're building is running

[21:28](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1288s) billions of tokens per minute. um and um

[21:31](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1291s) um these computers, right? We can spawn

[21:33](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1293s) up with each agent and we can have

[21:35](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1295s) multiple agents use one computer. And

[21:37](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1297s) now we're kind of back to this uh uh

[21:39](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1299s) quite beautiful setup where you have

[21:41](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1301s) agents talking to agents and they're

[21:42](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1302s) orchestrating and and this time it's

[21:45](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1305s) it's actually working and it's working

[21:47](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1307s) at scale thanks to some of these

[21:49](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1309s) optimizations. Um and so if you're

[21:52](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1312s) curious to try this out, you can head to

[21:53](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1313s) level.dev and you'll you'll see our our

[21:55](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1315s) previews spinning up and and so on, but

[21:57](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1317s) you'll get a very simple and um a nice

[22:00](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1320s) interface and you won't have to care

[22:01](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1321s) about all of this stuff. Uh thank you so

[22:03](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1323s) much. It's been pleasure. Um and uh

[22:06](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1326s) yeah, hope you hope you learned

[22:07](https://www.youtube.com/watch?v=pZWPq_ZAmM4&t=1327s) something. Thanks so much.
