Back to 21 September edition

AI in Practice, briefing

Uber used an agentic loop to hunt production search latency

A coding agent repeatedly pulled live profiles, chose bottlenecks, proposed fixes, opened PRs, and benchmarked the result against a latency target.

A circular measure identify fix validate performance loop

Uber built an agentic optimization loop around production search latency: measure live profiles, identify a bottleneck, draft a code change, open a pull request, benchmark it, then repeat until gains flattened out.

A fast quality-evaluation layer was critical so latency wins did not silently degrade search quality.

Why it matters

This is a strong agent pattern because the loop has an objective external verifier. The agent is not asked whether its fix is good; benchmarks and quality checks decide.

VERIFICATION

Sources

Evidence
primary
Signal
high
Difficulty
advanced
  1. Uber — Halving the Time: How Uber Eats Rebuilt Its Search Pipeline