Audit, then fan out PRs to sub-agents
Workflow
First ask the model to audit the codebase and propose improvements or an ordered set of PRs (proposed code changes). Then tell it to spin up sub-agents (parallel helper agents) to do the work and merge once checks pass.
Theo's current stance
Theo got big wins on Lakebed: sync delay from up to 800ms to under 30, and 10 merged PRs deleting 13,000 lines net. He calls auto-merge risky but acceptable when a human still approves the production release.
Try it
- Ask your agent for an audit of what to improve before launch, with an ordered list of PRs, deletions first.
- Read the report, then tell it to use sub-agents and watch each PR until all checks and review bots pass.
- Allow merging of simple wins only if a human still approves the release and you test results.
First seen
43:36
like real things worth cleaning up. Spin up some sub agents using Fable 5.1 and get all this work up. When you file PRs, make sure to baby sit them until they pass all the different checks and review agents that come in to leave their thoughts. Let me know when all the PRs
Every mention
33:55
first prompt was me asking if it thinks there's anything we should improve or focus on in Lakebed before launch. And then the second one was, okay, cool. Spit out some sub agents and go do it. And it did. And I told that it could
33:30
changes as they occurred. Astra got that time down to under 30 milliseconds. In many cases, it shaved the P95 by 98%.
43:36
like real things worth cleaning up. Spin up some sub agents using Fable 5.1 and get all this work up. When you file PRs, make sure to baby sit them until they pass all the different checks and review agents that come in to leave their thoughts. Let me know when all the PRs
44:08
all 10 PRs are merged. Everyone went green on CI, Code Rabbit, Cursor, BugBot, and Macroscope when it ran. With every bot thread answered or fixed before merge. Net across the batch was 340 files. And it deleted 13K lines net, which is crazy. This is a huge cleanup
Theo Daily is unofficial and not affiliated with Theo or t3.gg. Written by Claude Opus 5.5 from each video's transcript.