A cluster of glowing computer chips and circuit boards levitating above a desk with small robot agents of light orbiting them.

Google Antigravity Agents Hit 2.69x TPU Kernel Speedups

Key Takeaways

  • Google's Antigravity team, with Google Research, announced on 3 December 2026 autonomous codebase optimisation in Antigravity: agents powered by Gemini that find TPU kernel and Borg scheduler speedups and, in one benchmark, beat human CPU designs.
  • Across five DeepSeek-V4 Pallas TPU kernels, the agents reached 1.50× to 2.69× speedups over engineer-written baselines, while passing all correctness and tolerance tests. Gemini 4 Hydrogen achieved a 2.10× geometric mean; Gemini Carbon achieved 1.97×.
  • The Borg results are offline replays of production traces — explicitly "under review, not yet deployed" — and are not a live improvement. Candidate scheduling changes cut TPU workload interruptions by 55.1% and colocation CPU usage by 71.3% in those replays, with host scheduler throughput up 37.3%.
  • On the DPC4 CPU data-prefetcher benchmark, the agents reached +5.0% in 9.6 days, surpassing the best human (+3.5%) and the prior AI system ArchAgent v2 (+3.8%), in under a quarter of the time and a fifth of the evaluations.
  • All figures are Google's own evaluations, not independently verified. This article does not present the results as agents replacing hardware engineers.
  • To use the capability, open a repository with runnable correctness tests and a quantitative benchmark command in Antigravity and invoke `/teamwork` with the target metric. It rolls out in the next update.

What Google Announced

On 3 December 2026, at 17:00 UTC, Google's Antigravity team, working with Google Research, announced a new capability: autonomous codebase optimisation inside Antigravity, the company's agentic development environment. The idea is simple to state and ambitious in practice. Give an agent a repository, a set of correctness tests, and a quantitative benchmark — a number that measures how fast something runs — and let the agent find ways to make it run faster. Not by suggesting edits for a human to approve, but by searching, testing, and refining optimisations itself, across a codebase, until it finds improvements that pass the tests and move the number.

The announcement, covered by AICoder, Forck and LastAI across 3–4 December, describes agents powered by Gemini that work on two kinds of target. The first is TPU kernels: the low-level programs that run on Google's Tensor Processing Units, the custom chips that power much of Google's AI infrastructure. The second is the Borg scheduler: the system that decides which workloads run on which machines across Google's data centres, and that manages the contention when many workloads share the same hardware. Both are deep infrastructure — the kind of code that is normally optimised by specialists, over weeks and months, with careful measurement at every step. Google is saying its agents can now do that work, and do it well.

The capability rolls out in the next update to Antigravity, via a command: `/teamwork`. The workflow, as Google describes it, is straightforward for the user: open a repository with runnable correctness tests and a quantitative benchmark command, invoke `/teamwork` with the target metric, and let the agents work. The simplicity of the interface is part of the point. The complexity is hidden inside the agent system, and the user supplies only the goal and the means of measuring it.

That framing — a simple command, a hard problem, an autonomous system — is the story Google is telling about the future of software engineering. It is a story in which the engineer's job shifts from writing the optimisation to specifying the goal and the constraints, and in which the machine does the searching. Whether that story holds up, and how far it extends, depends on the evidence. The announcement supplies a set of results, and those results are worth examining in detail, because they are specific, quantified, and — with the right caveats — genuinely impressive.

The TPU Kernel Results: 1.50× to 2.69×

The headline results concern TPU kernels. Across five DeepSeek-V4 Pallas TPU kernels, Google's agents reached speedups of 1.50× to 2.69× over engineer-written baselines, while passing all correctness and tolerance tests. That is, the agents took kernels written by human engineers — kernels that were, presumably, already reasonably well optimised, because they were in production use — and made them run between one and a half and nearly two and seven-tenths times faster, without breaking them.

The range matters. A 1.50× speedup on one kernel and a 2.69× speedup on another are not the same achievement, and the spread tells us something about the nature of the work. Some kernels had more room for improvement than others. Some were more amenable to the agents' methods. The top of the range — 2.69× — is the number that travels in headlines, but the bottom of the range — 1.50× — is, in some ways, the more informative figure, because it suggests that even the least improved kernel got substantially faster. A system that improves everything it touches, even modestly, is different from a system that gets lucky once.

Google also reported results by model. Gemini 4 Hydrogen achieved a 2.10× geometric mean across the kernels, at an estimated $8,826 in API cost across 163,797 calls, with an 85.7% cache hit rate. Gemini Carbon achieved a 1.97× geometric mean, at $12,305 across 33,195 calls, with a 48.4% cache hit rate. Those details are worth pausing on, because they describe a trade-off that will matter to anyone who uses the capability. Hydrogen achieved a better result at a lower cost, but it made far more calls — nearly five times as many — and benefited from a much higher cache hit rate, which means many of its calls reused previous results rather than generating new ones. Carbon made fewer calls but paid more per call, and its cache hit rate was much lower. The two models reached similar outcomes by different routes, and the cost and call-count figures give a first sense of what autonomous optimisation costs in practice: thousands of dollars in API calls, tens or hundreds of thousands of invocations, for a set of kernel improvements.

Two attributions are needed here. The Gemini Hydrogen and Carbon model names, and the token prices associated with them — $1.50, $0.075 and $7.50 per million uncached input, cached input and output tokens for one model, versus $4.00, $0.20 and $20.00 for the other — come from secondary coverage of the announcement, and should be attributed as such. They are not, on the record available to us, figures Google itself published in the announcement. The speedup figures, the API costs, and the call counts are Google's own evaluations, and they have not been independently verified. That does not make them false. It means they should be reported as Google's results, not as established fact.

The correctness condition is as important as the speedup. The agents' optimisations passed all correctness and tolerance tests. That is the guardrail that makes the whole exercise meaningful: a kernel that runs faster but produces wrong answers is not an optimisation, it is a bug. The requirement that every candidate pass the tests — and the fact that Google reports that they did — is what separates this from a system that merely finds ways to cut corners. Whether the tests are sufficient to catch every possible error is a separate question, and one that only independent verification could answer, but the discipline of requiring correctness is built into the method.

The Borg Results: Impressive Replays, Not Live Gains

The second set of results concerns Borg, Google's cluster scheduler — the system that decides how workloads are placed on machines and how they share resources. In offline replays of Google's Borg production traces, candidate scheduling changes cut TPU workload interruptions by 55.1% and colocation CPU usage by 71.3%, with host scheduler throughput up 37.3%.

Those are large numbers. A 55.1% reduction in interruptions to TPU workloads would, if realised in production, mean substantially less wasted work and substantially better utilisation of expensive hardware. A 71.3% reduction in colocation CPU usage would mean the scheduler is far better at packing workloads together without them interfering with each other. And a 37.3% increase in host scheduler throughput would mean the scheduler itself can handle more decisions, faster. Taken together, they describe a scheduling system that is markedly better than the one currently in production.

But the word that matters most in that paragraph is "replays." These results come from offline replays of production traces — simulations, run after the fact, in which candidate scheduling changes were applied to recorded traces of what the production system did, and the outcomes were measured. They are not measurements of a live system running the new scheduler. They are measurements of what would have happened, on historical data, if the new scheduler had been in place. And Google is explicit about the status of the changes: they are "under review, not yet deployed."

That distinction is essential, and it is the distinction most likely to be lost as the numbers circulate. An offline replay is a powerful tool — it lets you test a change against real workloads without risking production — but it is not the same as a production deployment. Production is where the unexpected lives: the workloads that do not look like the traces, the failures that do not appear in the recording, the interactions between the scheduler and the rest of the system that a replay cannot capture. A 55.1% reduction in a replay is a promising result. A 55.1% reduction in production would be a proven one. Google has not claimed the second, and this article does not claim it either.

The "under review" status is also informative in its own right. It tells us that Google's own internal process — the review that a change to production infrastructure must pass — has not yet been completed. That is normal, and it is responsible. A change to the scheduler that manages Google's data centres is not something to deploy on the basis of a replay alone. The review will examine the replay results, the risks, the edge cases, and the rollback plan. Until it concludes, the Borg improvements are a candidate, not a fact of production. They are worth reporting, because they show what the agents found, but they should be reported with their status attached.

Beating Humans on DPC4 — on a Benchmark

The third set of results is the one most likely to generate headlines about agents replacing engineers, and it is the one that most needs careful reading. On the DPC4 CPU data-prefetcher benchmark, Google's agents reached +5.0% in 9.6 days across 2,244 evaluations, surpassing the best human result (+3.5%) and the prior AI system ArchAgent v2 (+3.8%), in under a quarter of the time and a fifth of the evaluations.

A data prefetcher is a piece of hardware logic that predicts which data a processor will need next and fetches it in advance, so the processor does not have to wait. It is a classic problem in computer architecture: hard to get right, sensitive to the details of the workload, and the subject of long-running research and competition. DPC4 is a benchmark for it — a standardised test, with a defined scoring method, on which humans and machines can be compared. The best human result on that benchmark was +3.5%. The best prior AI system, ArchAgent v2, reached +3.8%. Google's Antigravity agents reached +5.0%.

That is a genuine achievement, and it is worth stating plainly: on this benchmark, the agents did better than the best human and better than the best previous AI system, and they did it faster — in under a quarter of the time and a fifth of the evaluations. The efficiency matters as much as the score. A system that reaches a better result with fewer evaluations is a system that searches more intelligently, not merely one that searches more. The combination — better result, less time, fewer evaluations — is the signature of a method that works, not of brute force.

But DPC4 is a benchmark, not production silicon. That is not a dismissal; benchmarks exist precisely so that different approaches can be compared on a common footing, and a benchmark result is a real result. But a benchmark is a simplified, standardised version of a problem, with defined inputs, defined scoring, and defined constraints. Production silicon is messier: it has to work across workloads that were not in the benchmark, under conditions the benchmark does not test, with constraints — power, area, timing, verification — that the benchmark does not capture. A +5.0% on DPC4 is evidence that the agents can do excellent work on a well-defined hardware problem. It is not evidence that they can design a production prefetcher, or replace the engineers who do. The gap between a benchmark and a product is real, and it is the gap in which most of hardware engineering lives.

The time figure — 9.6 days — is also worth noting, because it frames the achievement in human terms. Nine and a half days is a long time for a machine and a short time for a human research project. The agents worked, presumably, continuously, across thousands of evaluations, without rest. A human achieving +3.5% would have worked over a longer period, in a different way, with different tools. The comparison is not quite apples to apples, and it should not be read as a race in which the agents beat a human who was trying as hard as possible in the same conditions. It is a comparison of outcomes on a benchmark, and it shows that the agents' outcome was better. That is enough, and it is also the limit of what the result shows.

How the Agents Work: Branched Search and Clean-Room Verification

Google's announcement also describes the method, and the method is as interesting as the results, because it explains how the agents achieve what they achieve — and what guards against them achieving the wrong thing.

The approach, as described, is built around parallel branched worker agents that profile hotspots bottom-up and co-discover local proxy yardsticks that are 20× to 50× faster than the true evaluation. The idea is to separate the search from the verification. The true evaluation — running the actual kernel, or the actual scheduler, or the actual benchmark — is expensive. It takes time, it takes compute, and it can only be done so many times. A proxy yardstick is a cheaper, faster approximation: a way of estimating whether a candidate change is promising, without paying the full cost of testing it. If the proxy is 20 to 50 times faster than the true evaluation, the agents can test 20 to 50 times as many candidates in the same time, and only spend the expensive true evaluation on the candidates that look promising.

The risk, of course, is that the proxy is wrong — that it says a change is good when it is not, or says a change is bad when it is good. Google's answer to that risk is a fidelity check, using Kendall's tau, a statistical measure of how well two rankings agree. The proxy's ranking of candidates is compared against the true evaluation's ranking, and the proxy is trusted only to the extent that the two agree. That is a principled guardrail: it does not assume the proxy is accurate, it measures whether it is, and it uses the measurement to decide how much to rely on it.

The second guardrail is clean-room verification. Candidate changes are verified in an isolated environment, separate from the search process, so that the verification is not contaminated by the assumptions or the shortcuts of the search. And the filtering is aggressive: the system filters out over 80% of unpromising edits in a fast inner loop, reserving the expensive true evaluations for confirmation of the candidates that survive. The picture that emerges is not of a single agent making inspired guesses, but of a system of agents — branching, searching, testing, filtering, and verifying — in which the verification is deliberately separated from the generation, so that the system can be both fast and trustworthy.

That architecture is, in itself, a statement about how Google thinks autonomous optimisation should work. It is not a single model, left alone with a codebase. It is a pipeline, with stages, checks, and separations of concern — and the checks are statistical and procedural, not merely a matter of trusting the model. Whether that architecture is sufficient is a question that only wider use and independent evaluation can answer, but the design shows an awareness of the failure modes, and an attempt to engineer around them.

What This Is Not: Agents Replacing Hardware Engineers

The temptation, with results like these, is to write the story as a replacement narrative: agents beat humans on a benchmark, agents speed up kernels by 2.69×, agents improve the scheduler by 55% — therefore, hardware engineers are obsolete. That story is wrong, and it is wrong in ways that matter, because it misdescribes both what the agents did and what hardware engineers do.

What the agents did, on the evidence presented, is optimise within a defined problem: a given kernel, a given benchmark, a given metric, with correctness tests already written and a quantitative benchmark already in place. The problem was specified by humans. The tests were written by humans. The metric was chosen by humans. The agents searched within that specification, and they searched well. But the specification itself — the decision about what to optimise, what counts as correct, and what is worth measuring — is the work of engineers, and it is not work the announcement claims the agents did.

Hardware engineering, in production, is also far broader than the problems in the announcement. It includes deciding what to build, understanding the system the hardware will run in, working within constraints of power, area, cost, and manufacturability, verifying a design across conditions a benchmark does not cover, and taking responsibility for a product that will ship to customers. None of that is in the DPC4 benchmark, or in a TPU kernel speedup, or in a Borg replay. The agents' results are results on well-defined optimisation problems. The engineer's job is to define the problems, and to own the consequences of the solutions. Those are different jobs, and the announcement does not claim otherwise.

There is also a question of generality. The results are on five TPU kernels, one scheduler, and one benchmark. They are impressive, but they are also narrow. Whether the same method works as well on a different kind of kernel, a different scheduler, or a different hardware problem is not established by these results. The method may generalise broadly, or it may be most effective on the kinds of problems where a fast proxy yardstick can be built and where the correctness tests are comprehensive. That is an empirical question, and it will be answered by use, not by announcement.

The right way to read the Antigravity announcement, then, is as a demonstration of a capability, not as a declaration of a replacement. It shows that agents can find real optimisations in real infrastructure code, that they can do so faster and, on the measures reported, better than previous approaches, and that the results can be verified. That is significant. It is also a long way from the claim that agents have replaced the engineers who build that infrastructure, and this article does not make that claim.

What to Watch Next

The most informative next step is the simplest: whether the Borg scheduling changes, currently under review, are deployed — and, if they are, what the production results look like. A replay improvement of 55.1% that survives production would be a major result. A replay improvement that shrinks, or that reveals edge cases the replay did not capture, would be informative in a different way. Either outcome will teach us something about the gap between offline evaluation and live deployment, and about how much of the agents' advantage survives contact with production.

The second thing to watch is independent verification. All of the figures in the announcement are Google's own evaluations. They have not been independently verified, and the kernels, the traces, and the benchmark conditions are Google's. Independent replication — by other labs, on other hardware, on other problems — would strengthen the results considerably. Its absence does not invalidate them, but it limits how far they can be generalised.

The third is the rollout itself. The capability arrives in the next Antigravity update, via `/teamwork`, for any repository with runnable correctness tests and a quantitative benchmark command. How widely it is used, what kinds of problems users apply it to, and what results they report will be the real test of the method. A capability that works on Google's infrastructure, with Google's tests and Google's benchmarks, may work differently in the hands of other users, on other codebases, with other constraints. The user reports, when they arrive, will be the most informative evidence of all.

And the fourth is the cost. The reported API costs — $8,826 for Hydrogen's run, $12,305 for Carbon's — are, in the context of the value of a 2× kernel speedup on production infrastructure, trivial. But they are costs for a single set of kernels, and they scale with the size of the problem and the number of evaluations. Whether autonomous optimisation is economical for smaller problems, for smaller organisations, and for problems where the payoff is less dramatic, will determine how broadly the capability is adopted — and whether it becomes a standard part of the engineering workflow or a tool reserved for the highest-value targets.

Why 2.69x Matters Beyond Google

A speedup of 2.69× on a TPU kernel is, in isolation, a technical result. It means a particular piece of code runs nearly two and seven-tenths times faster than it did before. But the significance of the result is not in the number itself. It is in what the number represents, multiplied across the scale at which Google operates, and in what it suggests about the economics of AI infrastructure.

Consider the arithmetic of scale. Google runs an enormous fleet of TPUs, training and serving models around the clock. A kernel that runs 2.69× faster does not merely save time; it saves capacity. Work that previously required a certain number of chip-hours now requires a fraction of them, and the freed capacity can be used for other work — more training, more inference, more experimentation. At Google's scale, even a modest improvement in kernel efficiency translates into a large absolute saving, in hardware, in energy, and in cost. A 1.50× improvement on the least-improved kernel is, in that context, as significant as the 2.69× on the best, because it applies across the fleet, to every workload that uses those kernels.

That is the economic logic that makes autonomous optimisation valuable, and it is the logic that will drive its adoption beyond Google. Every organisation that runs AI workloads faces the same equation: compute is expensive, and efficiency is money. A system that can find a 1.50× or 2× improvement in the code that runs on that compute, without breaking correctness, is a system that pays for itself quickly — far more quickly than the thousands of dollars in API calls that Google reports spending on its optimisation runs. The $8,826 that Gemini 4 Hydrogen spent, and the $12,305 that Gemini Carbon spent, are trivial sums against the value of the improvements they found, if those improvements are deployed across production infrastructure. The return on investment, on those figures, is not marginal. It is overwhelming.

But the significance extends beyond cost. Kernel efficiency is also a competitive factor. The organisations that can run their models faster, on the same hardware, can train larger models, serve more users, and iterate more quickly than their competitors. In an industry where the pace of iteration is itself a competitive advantage, a 2× improvement in kernel performance is not merely a saving. It is a speedup of the entire development cycle. The labs that optimise their infrastructure fastest will, other things being equal, move fastest, and the Antigravity announcement is, in part, a statement about Google's ability to do exactly that.

There is also a strategic dimension, and it concerns the hardware itself. Google's TPUs are custom silicon, designed in-house, and optimised for Google's workloads. The agents that optimise TPU kernels are, in effect, closing a loop: the hardware is designed by Google, the software that runs on it is optimised by Google's agents, and the improvements feed back into the efficiency of the whole system. That loop is a form of vertical integration — not of ownership, but of optimisation — and it is a loop that competitors without custom silicon cannot replicate in the same way. AWS, with Trainium, is building a similar loop, and the competition between the two — between Google's TPUs and AWS's Trainium, between Antigravity's agents and whatever AWS builds next — is the hardware race of the next few years. The Antigravity announcement is a move in that race, and it should be read as one.

For the individual developer, the implications are more immediate and more practical. The capability arrives in the next Antigravity update, via `/teamwork`, for any repository with runnable correctness tests and a quantitative benchmark command. That is a low bar, deliberately so: the requirement is not that the user be a performance expert, but that the user be able to say what "correct" means and what "faster" means. If the capability works as advertised for ordinary repositories — not merely for Google's TPU kernels, but for the code that developers actually write — then it changes the economics of optimisation for everyone. Work that previously required a specialist, over weeks, could be done by an agent, overnight, at the cost of a few thousand dollars in API calls. That is a democratisation of a scarce skill, and it is the kind of change that reshapes a profession — not by replacing the profession, but by changing what the profession spends its time on.

The Verification Problem: Trusting the Machine That Grades Itself

There is a question that runs underneath the Antigravity announcement, and it is a question that applies to every claim about AI systems improving themselves: who verifies the verifier? The agents optimise code, and the agents also participate in verifying that the optimised code is correct — through the proxy yardsticks, the fidelity checks, and the clean-room verification that Google describes. The system is, in a sense, grading its own homework, and the guardrails Google describes are the answer to that concern. But the concern does not disappear because guardrails exist. It is a structural feature of autonomous optimisation, and it deserves to be taken seriously.

The clean-room verification is the most important of the guardrails, because it separates the generation of a candidate from its verification. The agent that proposes a change is not the agent that confirms it works. That separation is a sound principle, and it mirrors the separation of concerns in human engineering: the person who writes the code is not the person who reviews it, and the team that builds a system is not the team that tests it. But the separation is only as strong as the independence of the verifier. If the verifier shares the assumptions, the blind spots, or the errors of the generator — if both are powered by the same model, trained on the same data, with the same tendencies — then the separation is procedural rather than substantive, and the verification may not catch what the generation got wrong.

The Kendall's tau fidelity check addresses a related concern: whether the fast proxy yardstick, which the agents use to search, agrees with the true evaluation, which is the ground truth. That is a statistical check, and it is a principled one. But it is also a check that operates within the system, using the system's own measurements. It can tell us whether the proxy is a good approximation of the true evaluation, as the system understands it. It cannot tell us whether the true evaluation itself is adequate — whether the correctness tests are comprehensive, whether the tolerance tests capture the ways a kernel can be wrong, or whether the benchmark measures what matters. Those are human judgements, made by the engineers who wrote the tests and chose the metric, and the agents cannot verify them, because they are the premises on which the agents operate.

That is not a criticism of Google's method. It is a description of its limits, and the limits are inherent in any system that optimises within a specification. The specification — the tests, the metric, the constraints — is the ground truth, and the agents' job is to do well within it. Whether the specification is right is a question for humans, and it is a question that becomes more important, not less, as the agents get better at optimising within it. A system that is very good at maximising a metric will find the ways to maximise it that the metric's authors did not anticipate, including, in the worst case, ways that satisfy the metric while violating the intent behind it. That is the classic problem of specification gaming, and it is a risk that grows with the capability of the optimiser.

The practical implication is that the human role in autonomous optimisation is not diminished by the agents' success. It is shifted, and in some ways increased. The work moves from writing the optimisation to writing the specification — to defining correctness, to choosing the metric, to anticipating the ways a metric can be gamed, and to verifying, independently, that the optimised code does what it is supposed to do in the real world, not merely on the benchmark. That is skilled work, and it is work that requires judgement. The agents can search. The humans must still decide what is worth searching for, and whether the result is trustworthy. The Antigravity announcement, read carefully, is consistent with that division of labour. It is the headlines that suggest otherwise, and the headlines are wrong.

What We Could Not Verify

  • Any of the performance figures independently. All figures in the announcement — the 1.50× to 2.69× kernel speedups, the Borg replay improvements, the DPC4 +5.0% — are Google's own evaluations. They have not been independently verified, and we have not presented them as established fact.
  • Whether the Borg improvements will work in production. The Borg results are offline replays of production traces, explicitly "under review, not yet deployed." We do not know whether they will be deployed, or what the production results would be.
  • The Gemini Hydrogen and Carbon model names and token prices. These come from secondary coverage of the announcement and are attributed as such. They are not, on the record available to us, figures Google itself published.
  • Whether the method generalises. The results cover five TPU kernels, one scheduler, and one benchmark. We do not have evidence about how the method performs on other kinds of hardware problems, and we have not assumed it generalises.
  • Whether agents can replace hardware engineers. The announcement does not claim this, and the evidence presented does not support it. The agents optimised within human-specified problems, with human-written tests and human-chosen metrics.

Further Reading

Sources: Google Antigravity blog post, 3 Dec 2026 (17:00 UTC); AICoder; Forck; LastAI. Gemini Hydrogen/Carbon model names and token prices via secondary coverage, attributed.

Similar Posts