Logic Foundry

Build with understanding.

Google Antigravity’s Mass Spec Skills give Gemini a chemistry toolkit for identifying molecules

Google DeepMind released Mass Spec Skills for Google Antigravity on November 24, 2026. Built with analytical chemists, the plugin lets Gemini run established mass spectrometry tools, search public databases and produce a report showing which measurements support a proposed molecular structure. In Google’s benchmark, the lightweight Gemini 3.8 Flash matched two larger models when all three had access to the tools. The test measured identification of compounds with public reference spectra, not discovery of new molecules.

From a peak list to a proposed structure

Tandem mass spectrometry (MS/MS) measures charged molecules and the fragments they break into. A spectrum records fragment peaks rather than a picture of the molecule. The simplest route to identification is to find a matching experimental spectrum, but Google says reference-library searches annotate only about 5% of measured spectra on average, and about 10% for human samples. A chemical database can contain a molecule’s structure even when no library holds its measured spectrum.

In Antigravity, a researcher can describe the task and specify instrument tolerances in plain language. The agent can use matchms to clean the spectrum, then search the GNPS and MoNA reference libraries. If there is no convincing match, it can use SIRIUS to infer a molecular formula, retrieve structures with that formula from PubChem, and use MAGMa and MetFrag to compare predicted fragments with observed peaks. Researchers can also run individual steps, such as cleaning a recording or comparing two candidate structures.

Google’s worked example shows why a report needs more than a match score. With spectral library lookup disabled, the agent filtered 1,761 raw peaks to 19 and evaluated 845 PubChem structures with the formula C20H21ClN6O. Several candidates matched the same 14 peaks, accounting for 97.7% of the summed fragment intensity. What separated them was how the bonds would have to break: a central urea bond in the leading structure could split directly into two observed fragments, while a close alternative would require a different cleavage. Smaller fragments helped distinguish the remaining candidates. The report mapped fragments to peaks so a chemist could inspect the choice.

What the benchmark establishes

Google tested Gemini 3.8 Flash, Gemini 4 Argon and Gemini 4 Carbon on 100 compounds from the Enamine REAL MS/MS collection in MoNA, excluding recordings with too little fragmentation. Each compound’s structure was also in PubChem. Google ran three attempts per spectrum, counted runs exceeding one hour as failures, and excluded transient infrastructure and quota errors.

  • Peak list alone: All three models had exact-match accuracy below 4% without internet access or skills.
  • Internet access alone: Argon and Carbon missed roughly a quarter to a third of the spectra; Flash missed more than three-quarters. Google attributed misses to problems handling mass tolerances, charged forms of molecules and noisy peaks in search scripts the models wrote themselves.
  • Internet access plus Mass Spec Skills: All three identified and verified the exact molecule in around 97% of attempts. Google also reported fewer generated tokens per attempt when the models called ready-made tools instead of writing and debugging one-off scripts.

For a molecule absent from chemical databases, the plugin can propose a formula and show which parts of a structure the fragments support, but it cannot retrieve or confirm the full structure on its own. Even a database match has limits: mirror-image molecules and some closely related isomers produce nearly identical spectra. Distinguishing them can require another measurement, such as chromatographic retention time, ion mobility or nuclear magnetic resonance.