Internal Agents Map

Separate the search from the check

DoorDash gives a scout the search and two reviewers the verification.

First posted · Updated · 2 min read

Two designs that missed findings

DoorDash first assigned code review to specialists for security, tests, performance, and other areas. They found local mistakes but missed changes that crossed system boundaries. No specialist held the wider context.

The second version gave two general reviewers the whole change. They could see those relationships, but each had too much to investigate in one session. Some real findings were lost among the work of reading, tracing, and checking. [1]

A shared list of leads

The third version puts a scout before the two reviewers. It identifies suspicious changes and produces investigation leads. The reviewers trace those leads, verify the evidence, and drop candidates that do not hold up. [1]

Scout: candidate issuesRead the diff and describe what needs investigation.

The leads go to two reviewers working in parallel.

Reviewer AInvestigate leads and verify findings.
Reviewer BInvestigate leads and verify findings.
Our illustration of the reported handoff. The scout's output is a set of leads, not verified bugs.

This gives the handoff a specific work product. A reviewer can examine a candidate and its context without treating the scout’s suspicion as a conclusion. The distinction matters because another agent’s confidence is not evidence that a bug exists.

DoorDash credits the change with improving its reviewer. The version history, however, does not isolate the effect of the scout from other changes. It supplies a concrete response to overloaded reviewers, without measuring whether this arrangement is better or cheaper for a different review workload.

Source

  1. DoorDash: How we built an AI code reviewerThe “How we got here” section describes all three designs.
Know an internal agent?

Share a resource or public mention, suggest an addition, or correct an existing entry. Pull requests are also welcome.