Google’s Antigravity and Research teams have demonstrated that autonomous, Gemini-powered coding agents can optimize low-level hardware kernels, cluster schedulers, and CPU designs faster—and in key benchmarks, better—than human engineers. Using Google Antigravity’s /teamwork workflow powered by a new DuoDiscover framework, the agents accelerated DeepSeek-V4 TPU kernels by up to 2.69x while passing correctness checks, according to the Google Antigravity Blog.
2.69x TPU Speedups and 55.1% Fewer Cluster Interruptions
Across five DeepSeek-V4 TPU kernel optimization campaigns, Gemini agents—comparing Gemini Hydrogen and Gemini Carbon—delivered geometric-mean speedups of up to 2.69x without breaking correctness. Hydrogen, which is faster and cheaper per token, made 163,797 model calls with an 85.7% cache-hit rate, while Carbon made 33,195 calls with a 48.4% cache-hit rate, as detailed by Superpower Daily.
Beyond individual chip kernels, the agents tackled Google’s Borg cluster-management system. In offline replays of production traces, candidate scheduling changes proposed by the agents cut TPU workload interruptions by 55.1%. A separate optimization campaign across 26 files boosted steady-state host-scheduler throughput by 37.3% during peak-load replays with zero infeasible placements, though Google noted these Borg changes are still under engineering review and not yet deployed in production.
Beating Human CPU Data-Prefetcher Designs
On the competitive DPC4 CPU data-prefetcher benchmark, Antigravity agents achieved a +5.0% speedup—surpassing both the best human-engineered design (+3.5%) and prior AI systems (+3.8%). Even more striking was the efficiency gain: the campaign took 9.6 days and evaluated 2,244 candidate designs, compared with over 40 days and more than 12,000 evaluations required by ArchAgent v2.
How DuoDiscover Solves the Evaluation Bottleneck
Real-world systems optimization is rarely limited by how fast an AI can propose code edits; the real bottleneck is waiting for benchmarks. A full TPU-kernel test can take tens of minutes, and a full CPU-design evaluation can take more than a day.
To break that bottleneck, DuoDiscover co-discovers what to optimize alongside custom, lightweight proxy evaluators that run 20 to 50 times faster than full test suites, according to TLDR. Crucially, the system continuously audits those fast yardsticks against full benchmarks and invalidates any proxy metric that drifts or stops ranking candidate edits faithfully.
When Developers Can Try It
Google says the autonomous codebase-optimization capability used in these experiments will roll out to developers in the next Google Antigravity update. If the proxy-evaluation approach holds up across broader commercial codebases, it points toward a major shift in systems engineering: AI agents that don’t just write application code, but tune the underlying compilers, kernels, and schedulers that power modern AI infrastructure.


