Google DeepMind Mass Spec Skills for Google Antigravity: Gemini Agents Identify Molecules at ~97% Accuracy

Google DeepMind released Mass Spec Skills for Google Antigravity on November 25, 2026: a suite of domain skills that pairs Gemini's chemical reasoning with community-trusted mass spectrometry tools and public chemical database lookups, so an agent can take an unannotated tandem mass spectrum to a proposed molecular structure and an auditable evidence report from a single plain-language prompt. The release matters because spectral library search annotates only about 5% of measured spectra on average — 10% for human samples — and the new skills push exact-match identification on a 100-spectrum benchmark to roughly 97%, with the lightweight Gemini 3.8 Flash model matching frontier Gemini 4 Argon and Gemini 4 Carbon.

What Mass Spec Skills actually are

Mass Spec Skills is a suite of domain skills for Google Antigravity that lets Gemini run established, openly available mass spectrometry tools and query public chemical databases on the user's behalf. Antigravity runs the skills, combines their results, and reasons about the chemistry, laying out the evidence for a chemist to review.

The design premise is that a language model cannot perform structure elucidation alone: matching fragment peaks to a structure requires precise mass calculations, searches across databases of millions of compounds, and simulations of how bonds break. Mass Spec Skills brings those steps into one workflow, with Gemini supplying the chemical reasoning layer.

Users describe their task and any instrument-specific tolerances in plain language without configuring each underlying tool. The agent selects and chains the relevant skills, which lowers the technical barrier for scientists less familiar with computational tooling. Each stage can also be run on its own for smaller tasks such as cleaning a noisy recording, annotating peaks, or comparing candidate isomers.

The problem: most spectra are "dark matter"

Spectral reference library search leaves the majority of measured spectra unannotated, and the unannotated remainder is what researchers call the "dark matter" of mass spectrometry. A modern mass spectrometer detects tens of thousands of small-molecule signals in a single drop of sample extract, but mass measurements and MS/MS fragments do not directly reveal molecular structure.

The standard approach matches each spectrum against reference spectra from previously measured molecules. Even after a decade of expanding reference libraries, spectral searches annotate on average only about 5% of measured spectra, and 10% for human samples.

Many molecules behind unannotated signals are already listed in public chemical databases but have no recorded reference spectrum, so identification requires inferring structure directly from observed fragment ions. Analytical chemists have a well-tested workflow for this — check spectral reference libraries, determine the molecular formula and retrieve candidate structures, then test every candidate against observed fragment peaks — but running it manually for every spectrum is infeasible when a single study can produce thousands of spectra.

The four-step workflow the agent automates

Mass Spec Skills encodes the chemist's manual workflow as four chained stages: Prepare the signal, search reference Libraries, deduce the Formula to Structure candidates, then Cross-check and refine. Each step is carried out by skills built on established, openly available tools.

For molecules already catalogued in a database, identification is much faster. For undiscovered molecules, the agent narrows the molecular formula and the parts of the structure supported by the fragments, giving chemists a starting point for full structure elucidation rather than a confirmed answer.

Worked example: from a negative-mode spectrum to a verified isomer

The end-to-end example in the announcement starts from a negative-mode tandem mass spectrum with a precursor [M-H]- at m/z 395.1387 and 1,761 raw peaks filtered down to 19 preprocessed peaks. Negative-ion spectra are traditionally much harder to annotate than positive-ion recordings because reference libraries are limited and fragmentation mechanisms are less well characterised.

With spectral library lookup disabled, the agent used SIRIUS to determine the molecular formula C20H21ClN6O. In the fragmentation tree, the molecule splits into two complementary halves at m/z 162.1037 ([C9H12N3]-) and m/z 232.0283 ([C11H7ClN3O]-), whose formulas add up to the intact precursor. From the m/z 232.0283 half, sequential neutral losses of HCl and isocyanic acid (HNCO) in both orders form a closed loop — running through m/z 196.0511 and m/z 189.0238 to m/z 153.0453 — indicating a central urea linkage.

The agent then retrieved and scored all 845 C20H21ClN6O isomers in PubChem. Several high-scoring candidates, including a fused triazolobenzazepinol isomer (CID 154638626), accounted for 97.7% of the summed fragment intensity across 14 of the 19 preprocessed peaks. The agent tested whether those candidates were chemically consistent with the observed losses: the triazolobenzazepinol isomer lacks a urea linkage and therefore has no route to lose HNCO, and despite carrying a secondary alcohol, the spectrum shows only baseline noise at the expected water-loss masses (m/z 377.1281 and m/z 214.0178).

Filtering the 845 isomers for structures with a central urea bond that cleaves into the two measured halves narrowed the list to five urea regioisomers and ruled out close amide isomers such as the runner-up CID 55558151. Secondary fragments from the chlorophenyl-pyrazole side at m/z 206.0485 and m/z 126.0114 singled out the correct molecule, CID 137835447.

Spectral coverage alone cannot separate top candidates

The top two candidates both matched 14 of 19 preprocessed peaks, or 97.7% of fragment intensity, so mass-based spectral coverage could not distinguish them; the decision required testing fragmentation pathways.

  • Verified structure (CID 137835447): the asymmetric urea C-N bond cleaves directly into m/z 162.1037 and m/z 232.0283, and the C-linked pyrimidine forms the low-mass fragments from m/z 93.0463 to m/z 119.0611 without breaking aromatic rings. Sum bond-break score: 26.0.
  • Runner-up (CID 55558151): inverting the piperidine ring turns the urea into an amide, requiring C-C cleavage, and leaves an N-linked pyrimidine with no attached carbon to form [C5H5N2]- at m/z 93.0463 without breaking aromatic rings. Sum bond-break score: 49.0; lower indicates a lower cleavage penalty.

DeepMind's point is that spectral coverage measures how much peak intensity a candidate matches by mass alone, without testing whether its functional groups and bond connectivity can plausibly form those fragments. Checking candidates against diagnostic neutral losses and bond cleavages, as an analytical chemist would, is what lets Antigravity rule out high-scoring mismatches on its own.

Benchmark: about 97% exact-match accuracy, including with a lightweight model

DeepMind evaluated end-to-end identification and verification on 100 compounds sampled from the Enamine REAL MS/MS collection in MoNA (with structures also catalogued in PubChem), after filtering out under-fragmented recordings such as intact precursors or dimers that barely broke apart. Each spectrum got three attempts, with a one-hour wall-clock budget; attempts exceeding the budget were scored as failures, and transient infrastructure and quota errors were excluded.

The study compared three set-ups across three models — the lightweight Gemini 3.8 Flash and the frontier Gemini 4 Argon and Gemini 4 Carbon:

  1. No internet access, no skills: accuracy stayed below 4% across all three models, confirming that they cannot reliably deduce structures from a peak list alone.
  2. Internet access only: models could query online libraries, but search scripts written from scratch proved brittle around precursor windows, adducts, and noisy peaks. Frontier models missed a quarter to a third of the spectra; the lightweight model missed more than three-quarters.
  3. Internet access plus Mass Spec Skills: all three models identified and verified the exact molecule in around 97% of attempts, with the lightweight Gemini 3.8 Flash matching the frontier models' accuracy.

Skills also cut token cost per attempt

Mass Spec Skills reduced generated tokens per attempt across every model, because the agent calls validated, ready-made skills instead of improvising API queries and debugging one-off scripts. Relative to a baseline of Gemini 4 Argon with internet access, generated tokens per attempt fell by nearly four times on Gemini 3.8 Flash, by half on Gemini 4 Argon, and by nearly a fifth on Gemini 4 Carbon.

Without internet or skills, models used the most tokens per attempt trying to deduce structures from raw peak lists; internet access alone still carried substantial token overhead from writing and debugging custom searches.

Limits: what the agent cannot resolve

Some questions cannot be answered from an LC-MS/MS spectrum at all. Mirror-image molecules and some closely related isomers break apart in nearly identical ways, and distinguishing them requires other measurements such as chromatographic retention time, ion mobility, or NMR.

Genuinely new molecules, including many natural products, are absent from existing databases, so Antigravity cannot retrieve or confirm their structures on its own. For those, it supplies an informed starting point: a predicted formula, peak assignments, and a detailed annotation table.

DeepMind frames the skills as a collaborative assistant that performs the time-consuming groundwork of spectral interpretation while keeping the chemist in control of decisions requiring scientific judgement. Scaling automated spectral interpretation from single spectra to full metabolomics studies is the stated opportunity for identifying more of the unknown small molecules across human health, environmental science, and natural-product discovery.

Availability

Mass Spec Skills are available on Google Antigravity as of the announcement. Users download the Antigravity App and install the Mass Spec plugin; Enterprise users can start by choosing "Use Business Account" and logging into the app with Google Cloud credentials.

DeepMind is also offering 10,000 scientists the highest usage tier in Google Antigravity free of charge for 6 months, onboarded on a rolling basis and subject to eligibility, capacity, and selection, with applications open now.

Sources