Ideas from AI Engineer talks Curated by Alex Vidal (@dobleio) and Borja Pérez (@borjaperfra) 76 ideas · 101 talks · 5 events

The Engineering Brief

Jarred Sumner splits large agent builds into one bulk write and a long repair phase

Jarred Sumner rewrote Bun's ahead-of-time compiler five times in a little over a month with Claude. He describes splitting the work into a mass code-writing batch and a repair phase, and tracking it with an hourly scorecard.

Jarred SumnerAnthropicAIE CODE 20262 min read
Watch from 9:05

Recording by AI Engineer.

The idea

The speaker’s argument, in our words.

Sumner treats a large agent-built project as two different jobs. In the first, agents write most of the code at once; for one version, he says, 140 agents worked in parallel. During that phase he runs one build at the end instead of building after every partial edit, which would spend the time compiling an incomplete system. In the second phase agents fix failures until the code compiles, passes tests and works. With recent models he relies on long-lived subagents for this, because they keep the relevant code in their context window and waste less.

The five rewrites show why each version has to be judged on every requirement. In one, Claude Code came out at a gigabyte. Another was faster but full of brittle special cases, such as treating any property called archive as a possible use of a Bun API. A cleaner version took about 50 seconds to compile Claude Code, too slow for JavaScript users, and ran to some 900,000 lines. The fifth compiled in under 20 seconds and is the one he considers shippable. An hourly scorecard posted to Slack compared prioritised metrics with the previous version, and Sumner says much of his own time went into leading questions and pushing the model past small goals and its own pessimistic estimates.

What they found

From the talk. Figures are self-reported unless stated.
  • In the big-batch writing stage you run one build rather than many, then switch to many individual agents making the code compile, pass tests and work.

    Sumner's description of his workflow on the AOT compiler. For the third version, he says, 140 agents wrote the code at the same time (12:11).

    Technical recommendation

    9:05
  • Successive versions failed for different reasons: a gigabyte-sized Claude Code build, special-case 'slop' code, about 50 seconds of compile time and 900,000 lines; the fifth compiles in under 20 seconds and is the one being shipped.

    Self-reported, across five rewrites. Compile times refer to Claude Code, a large codebase; earlier versions compiled in 10 to 20 seconds, so 50 seconds was a regression. Which figure belongs to which version is reconstructed from a loose spoken timeline.

    Case study

    10:09
  • With recent models he mostly relies on very long-lived subagents, except for the initial writing phase, because they keep relevant code in context and waste less.

    Contrasted with his earlier reliance on Claude Code workflows during the Bun Rust rewrite.

    Technical recommendation

    15:09
  • An hourly update posted a scorecard to Slack comparing prioritised metrics between the previous and current version.

    Used because the project was too large to follow directly.

    Technical recommendation

    16:33

Why it matters

Our reading. Not said in the talk.

Sumner's account suggests that how much parallel work to run, and how long agents should live, depends on the phase of the project. It also shows a project passing one benchmark while failing a requirement nobody had been watching.

What one could try

  • Separate a large agent task into a write phase and a fix phase, with different build and parallelism settings for each.
  • Keep repair subagents alive across related fixes so they retain the code context instead of rediscovering it.
  • Automate a periodic scorecard of every requirement (performance, memory, build time, code size) against the last version.

Limitations

  • One expert's workflow on one project; not compared against alternatives.
  • The figures (140 agents, 50 seconds, 900,000 lines) are self-reported and only roughly placed in the version timeline.

Original sources

This is our synthesis of the talk, checked against the transcript at the linked moments.

Related ideas