Google ships Antigravity Codebase Optimization agent: 2.69x TPU kernel speedups

teortaxesTex · x · 2026-12-05

Google released the Codebase Optimization pattern agent in Antigravity /teamwork, built on the DuoDiscovery paper's co-discovery pattern.

Results: up to 2.69x speedups on DeepSeek-V4 TPU kernels, 55.1% fewer TPU interruptions in offline Borg scheduler replays, and +5.0% on the DPC4 CPU prefetcher benchmark.

The key idea targets the slow-evaluation bottleneck: instead of editing blind against benchmarks that take minutes to a day, parallel agents jointly find high-headroom code targets and fast local proxy evaluators ('yardsticks') that score candidates 20-50x faster. Every milestone is verified by a clean-room evaluator, and yardsticks are continuously tested for statistical fidelity so proxy drift can't slip into final results.

Original post →

More from coding & agent

coding & agent channel →