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

The Engineering Brief

Brian Douglas treats a senior engineer's pushback on an agent as review knowledge

Brian Douglas records his team's coding-agent sessions, labels the moments when an experienced engineer corrects the agent, and uses them to pre-review his own pull requests. He recommends turning those lessons into a skill before training a model.

Brian DouglasAIE CODE 20263 min read
Watch from 1:08

Recording by AI Engineer.

The idea

The speaker’s argument, in our words.

When an experienced engineer pushes back on an agent, the correction usually carries knowledge the agent lacked: how the team has decided to structure its APIs, which service already exists, which library not to reinvent. Douglas describes himself as a junior Rust engineer who tends to accept the agent's Rust at face value. His pull requests get a top score from an automated reviewer and then draw pushback from the human reviewers.

His answer is to capture every agent session in a store shared by the team, label the ones with pushback, and use them as a dataset. He built a private command-line reviewer that comments on his pull requests the way one Go and Rust colleague would, using a small model post-trained only on that colleague's corrections in the agent traces. His recommendation for most teams is cheaper: turn the traces into a skill, write evals for it, and only consider fine-tuning if the skill falls short.

What they found

From the talk. Figures are self-reported unless stated.
  • Sessions are stored centrally for the whole team and labelled; filtering on a pushback label surfaces moments when a senior colleague corrected the agent on Go or Rust code.

    Demonstrated live in the speaker's own console, built on his open-source capture tool Tapes. He says the choice of capture tool is secondary.

    Case study

    4:27
  • As a self-described junior Rust engineer, his agent-written Rust got a five out of five automated review and still drew substantial pushback from human reviewers.

    Personal account.

    Case study

    5:29
  • A command-line tool, TwinReview, reviews a pull request as that colleague would, using a model post-trained only on the labelled agent traces, without GitHub review data. It is not open source because the data is sensitive.

    Live demo on one pull request. No accuracy or agreement figures were shown. The speaker first called it open source, then corrected himself.

    Case study

    6:39
  • Write a skill first, then evals, then post-train if needed; his team had almost 80,000 sessions to build skills from. He used supervised fine-tuning on a small quantized model on a consumer GPU, because preference optimization (DPO) needs much more compute; he says the result works well.

    His own experiments, with no figures; the model size is given as 8B in one place and 4B in another.

    Technical recommendation

    9:57

Why it matters

Our reading. Not said in the talk.

Douglas, citing others, worries that agents take over the repetitions junior engineers used to learn from. If the corrections senior engineers make to agents are recorded and labelled, that feedback can reach others before review instead of after. Starting is cheap because many harnesses and tracing tools already capture sessions.

What one could try

  • Turn on session capture for your coding agents and store sessions where the team can query them.
  • Agree on a few labels (pushback, golden session, regression) and apply them during or after sessions.
  • Periodically read the pushback sessions for one area of the codebase and write the recurring corrections into a review skill.
  • Write a handful of evals from past pushback cases to check the skill catches them before considering fine-tuning.

Limitations

  • No evaluation of the reviewer is shown: no comparison with the colleague's actual comments and no false positive rate.
  • One team, one demo pull request, and the speaker's own tools (Tapes and a waitlisted console) are part of the setup.
  • Training on one person's corrections also copies that person's preferences and biases.
  • The talk gives two different model sizes and few training details.

Original sources

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

Related ideas