# Building uReview, Uber’s Multi-Agent Code Review Engine — Will Bond & Ameya Ketkar, Uber <!-- ref: @content/youtube/aie/2026-08-28-building-ureview-uber-s-multi-agent-code-review-engine-will version: 3 updated_at: 2026-10-31T18:17:30.965Z --> Will Bond & Ameya Ketkar (AI Engineer, 2026-08-28): Code review became Uber's throughput bottleneck as AI-authored PRs grew in volume and size — first-time-to-review stretched from 3 hours in 2024 to 9 hours in 2026 — so the team built uReview rather than buying, because their constraints (Phabricator plus an in-flight GitHub… *Synthesized from Will Bond & Ameya Ketkar on AI Engineer, 2026-08-28.* Will Bond and Ameya Ketkar are engineers at Uber who built uReview, the in-house multi-agent code review system serving thousands of engineers across hundreds of teams, 12 sites, and six language-specific monorepos. ## Core Thesis Code review became Uber's throughput bottleneck as AI-authored PRs grew in volume and size — first-time-to-review stretched from 3 hours in 2024 to 9 hours in 2026 — so the team built uReview rather than buying, because their constraints (Phabricator plus an in-flight GitHub migration, per-team customization, risk-based routing, mandatory security/compliance coverage) weren't met off the shelf. Will Bond and Ameya Ketkar argue the hard part isn't generating review comments; it's the observability and feedback loop that makes them accurate, cheap, and trusted enough that engineers act on them. As agents write more of the code, they see the human outer loop not disappearing but moving up a layer, from implementation nitpicks to architecture, domain expertise, and product thinking. ## Key Insights - The bottleneck metric that motivated the project: median first review latency tripled from ~3 hours (2024) to ~9 hours (2026), alongside growth in both PR count and PR size. - Four constraints drove build-over-buy: Phabricator support (most vendors don't offer it) during a GitHub migration; a consistent review experience shared between human PRs and the inner agent loop; decentralized rule ownership across hundreds of teams; and risk/complexity-aware routing so not every change gets the same depth of review. - Architecture: three review surfaces (GitHub, Phabricator, the agent loop) feed a central uReview service that routes to multiple generators tuned for different cost/performance points — including third-party review systems used as a benchmark — then runs post-processing that rates, categorizes, filters, and deduplicates comments so only high-confidence, actionable ones reach engineers. - uReview started humble: one prompt doing per-file logic checks, one thorough-review agent, and a dispatcher choosing between them. Early observability was surface-level (cost tracking, an NPS survey, Google Forms, Slack support), and the resulting quality-to-cost scatter was, in Ketkar's words, all over the place instead of clustered in the high-quality/low-cost quadrant. - The step change came from richer signals: sentiment classification of developer replies to uReview comments (positive/negative, bucketed into issue classes), address rate (does the developer actually act on the comment?), and agent trajectory profiling — tool calls and reasoning traces — which showed why the agent did what it did and let them tune runtime for speed and cost. - Ketkar's central lesson: the model doesn't know when it's wrong. It reports full confidence regardless, so each team's style guide, patterns, and anti-patterns must be baked in, and guardrails must tell the agent what *not* to burn turns on — review has a time budget, and wasted turns degrade quality. - The customization stack has four layers: per-file general-purpose logic-bug review; deep multi-file review carrying each monorepo's anti-patterns and style guides; AI linters (few-shot rules that deterministically pull context, then catch mechanical/systematic issues); and fully custom team agents linked to a knowledge base, the team's past PRs, and review skills. - Rollout piggybacked on Uber's existing ownership model rather than duplicating it, and customizations are co-located next to the code so teams can iterate on them quickly. Deterministic routing decides which team gets which review type, model, and generators. - Writing a review skill turned out to be trivial — teams asked Claude to read their past PR reviews and generate one. Running those skills at scale with consistent quality and low cost was the hard part, and it took many iterations both from the uReview team and from each adopting team. - Results: ~25,000 comments per week; ~10% receive any feedback; only 4% of PRs draw negative feedback; overall address rate ~67%, with roughly three quarters of high-severity issues addressed. Against a naive implementation, observability and evals cut cost ~60% and raised quality/accuracy ~70%. - Inner-loop review needs *higher* accuracy than human-facing review: a low-quality comment sends the coding agent into cavitation — fixing, re-reviewing, then undoing the fix. Bond also notes agents will cheerfully address 100 nits that would infuriate a human reviewer. - The open risk Bond names: nearly all of uReview's quality gains came from human feedback fed back into prompts and agents. As humans leave the loop, that tuning signal thins — which is why he frames the future as expanding the outer loop rather than killing it. ## Actionable Takeaways 1. Instrument review quality with outcome metrics, not satisfaction proxies. Cost plus NPS/Google Forms wasn't enough; add address rate (did the developer act on it?), sentiment classification of replies bucketed into issue classes, and agent trajectory traces (tool calls, reasoning) to explain *why* a bad comment happened. 2. Route by risk and complexity instead of running one review everywhere. Maintain multiple generators at different cost/performance points and use deterministic routing to pick generator, model, and depth per team and per change. 3. Always post-process before surfacing. Rate, categorize, filter, and deduplicate across generators — multiple agents on one diff will otherwise bury engineers in redundant comments. 4. Build the customization ladder in this order: per-file logic-bug review → multi-file deep review carrying repo-level anti-patterns → few-shot AI linters for mechanical issues → custom team agents wired to a knowledge base and the team's past PRs. 5. Have teams bootstrap their review skill by pointing Claude at their own past PR reviews and asking it to write one — then budget the real effort for making that skill run at scale with stable quality and cost. 6. Write explicit negative guardrails into review agents specifying what not to spend turns on; review is time-boxed, and turn-wasting directly degrades output quality. 7. Co-locate rules and customizations with the code they govern, and hook rollout into your existing team-ownership system rather than rebuilding ownership inside the review platform. 8. Push observability back down to the rule authors — show each team their own comments' address rate and sentiment so they can retire rules their developers keep ignoring. 9. Hold inner-loop (agent-facing) reviews to a stricter accuracy bar than human-facing ones, since a wrong comment costs a full fix-and-revert cycle rather than being ignored. 10. Benchmark continuously against third-party review products by plugging them in as additional generators inside your own pipeline. ## Notable Quotes > "Code review is now the bottleneck that we are running into." — Will Bond > "The model doesn't know that it's wrong. It always confidently says 100% sure that yeah, this is the review for your code." — Ameya Ketkar > "Writing the skill was very easy... the hard part was how to run these skills at scale with consistent quality and low cost." — Ameya Ketkar > "Rather than removing humans from the code review process, we are moving their responsibilities up a layer." — Will Bond > "Agents are more than happy to go through and fix 100 nits on a pull request where your engineers really get frustrated." — Will Bond --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*