Frontier Foundry

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

Talk notes · AI Engineer ·

A close reading of the source at youtube.com: what it says, what it means for someone who builds with AI, and which claims are the publisher’s own.

Agent HarnessVerification Loops & BackpressureAgent Sandboxing & PermissionsTool UseAI AgentsCoding Agents

Problem

Fabian Hedin (co-founder and CTO, Lovable) says Lovable almost failed because in 2023, in the GPT-4 days, it built a multi-agent framework (a main agent spawning implementation, front-end and back-end agents that message each other). "It didn't work at all. We just made the product worse." Intelligence was not there yet (talk). In late 2024 they went back to one main LLM plus small retrieval models, which worked. Now he says agents work and run in production at over a billion tokens per minute (3:03).

Lovable used to cap agent runs at 30 minutes; it now has no bound, with runs of 10+ hours expected (7:48). That needs three things: a durable runtime, a fast computer, and verification loops.

Approach

  1. Runtime. Each agent has an inbox that humans, other agents, or schedules can post to (8:51). The agent's history (its "trajectory") is an append-only log where each event points to a parent, like Git, so you can fork parallel agents from any point (no merging) (10:06). The prompt is rendered from this log, so compaction can differ per model. Worker processes are stateless and persist after every tool call, so Lovable can deploy about 700 times a day (once every two minutes) without interrupting a 10-hour run (13:03).
  2. Computer. A "golden checkpoint" holds OS, services, dev server, disk, memory and running processes, and is copied for a new project in about 230 ms. A checkpoint is saved after each agent turn, so a sandbox idle for ~10 minutes can be spun down and resumed in under a second (14:30). Forks use copy-on-write RAM (free until a page is written) and streamed memory, so the machine boots before all memory has arrived (16:16).
  3. Vite rewrite. Lovable forked Vite and rewrote it in Rust: code starts 2x faster, preview goes from 40 s to 3 s, memory footprint is 6.5x smaller (18:02). (The auto-transcript garbles the name as "V8"; the context is Vite.)
  4. Verification. Inner loop within a turn: build, lint and type errors, runtime errors, a headless browser. Outer loop between turns: visitor behavior, A/B tests, payments and conversions as business metrics (19:13).

Lessons learned

  • Do not build the agent architecture ahead of what the model can do; Hedin says Lovable was "right on the future, wrong on the now" in 2023.
  • Separate the log of what happened from the prompt sent to the model; it lets you change models and compaction without losing history.
  • Keep workers stateless and the state durable; frequent deploys then stop being a threat to long runs.
  • Treat the output as a product or business, not code: Lovable's platform adds hosting, payments, email, SEO, ads and analytics so the agent can optimize the business, not only the code (3:52).
  • All numbers are Lovable's own, unverified.

Theme

Agents & Harnesses.

Where this leads

the concepts it is about

Related briefs

every brief

Cite this page

the version of 2026-11-19
APA
Han, R. (2026, November 19). What it takes to set intelligence free — Fabian Hedin, CTO, Lovable. Frontier Foundry. https://www.ryanhan.ai/briefs/2026-11-19-aie-talks-what-it-takes-to-set-intelligence-free-fabian-hedin-cto-lova
BibTeX
@misc{han2026-briefs-2026-11-19-aie-talks-what-it-takes-to-set-intelligence-free-fabian-hedin-cto-lova,
  author       = {Han, Ryan},
  title        = {{What it takes to set intelligence free — Fabian Hedin, CTO, Lovable}},
  howpublished = {Frontier Foundry},
  year         = {2026},
  month        = nov,
  url          = {https://www.ryanhan.ai/briefs/2026-11-19-aie-talks-what-it-takes-to-set-intelligence-free-fabian-hedin-cto-lova}
}