AI-generated text

Google Antigravity adds tools for mass spectrometry analysis

Tools · November 25, 2026

Google Antigravity adds tools for mass spectrometry analysis

Mass Spec Skills combines Gemini’s reasoning with established chemistry tools to help scientists identify molecules from tandem mass spectra.

In this article · 4

Google Antigravity’s new Mass Spec Skills suite combines Gemini’s chemical reasoning with openly available mass spectrometry tools and public chemical databases. Developed with analytical chemists using community tools, it is intended to help researchers infer molecular structures from measurements while presenting the supporting evidence for review.

Blood, soil and plant samples contain many small molecules, including nutrients, hormones, drugs, pollutants and other compounds. A modern mass spectrometer can detect tens of thousands of molecular signals in a single sample extract. Tandem mass spectrometry, or MS/MS, measures both charged molecules and the fragments they produce, but does not directly reveal their structures.

Researchers generally compare results with reference spectra from previously measured compounds. According to the source, these searches identify only about 5% of measured spectra on average, or 10% for human samples. Some of the remaining signals come from molecules already listed in public databases but for which no reference spectrum has been recorded.

A workflow built from existing tools

Analytical chemists typically check spectral libraries, determine a possible molecular formula, retrieve candidate structures from databases and compare them with fragment peaks. Open tools exist for each step, but running the complete workflow takes experts considerable time, while a single study can produce thousands of spectra.

Mass Spec Skills connects these steps. At the user’s request, Antigravity selects and runs relevant tools, queries databases and organizes the chemical evidence in a report for review. Researchers can describe the task and instrument-specific tolerances in plain language. Individual stages can also be used separately, for example to clean up a noisy recording, annotate peaks or compare candidate isomers.

The approach can speed up identification of molecules already in databases. For new molecules, it can help establish a possible formula and structural features supported by the fragments, but it cannot necessarily confirm the complete structure on its own. A language model alone cannot reliably perform the precise mass calculations, searches across millions of compounds and bond-breaking simulations involved.

An example of a difficult spectrum

In one example, the agent analyzed a tandem spectrum recorded in negative-ion mode, with a precursor signal at m/z 395.1387. Such spectra are generally harder to interpret than positive-ion recordings because reference libraries are more limited and fragmentation mechanisms are less well characterized.

With spectral library lookup disabled, the agent used SIRIUS to arrive at the molecular formula C20H21ClN6O. It found two complementary fragments at m/z 162.1037 and 232.0283. Further fragmentation of the latter, involving losses of hydrogen chloride and isocyanic acid, pointed to a central urea linkage.

The agent then retrieved and scored all 845 isomers with that formula in the PubChem database. Several candidates, including the isomer identified as CID 154638626, covered 14 of the 19 processed peaks and 97.7% of the summed fragment intensity. That alone did not establish the structure: the candidate lacked a urea linkage and therefore provided no chemically plausible explanation for the loss of isocyanic acid.

Examining bond cleavages and additional fragments narrowed the list to five urea regioisomers and then singled out the molecule identified as CID 137835447. The example illustrates why matching peak masses alone is not always enough: possible fragmentation pathways must also be checked.

Test results and limitations

The developers also tested the system on 100 compounds sampled from the Enamine REAL MS/MS collection through the MoNA database; their structures were also catalogued in PubChem. Recordings with too little fragmentation were filtered out beforehand. The test compared three settings: no internet or skills, permitted internet access without Mass Spec Skills, and internet access with the new suite. It covered the lightweight Gemini 3.8 Flash model and the Gemini 4 Argon and Gemini 4 Carbon models.

Without internet or skills, all three models achieved accuracy below 4%. With internet access alone, errors in custom search scripts meant the two larger models missed between a quarter and a third of the spectra, while the lightweight model missed more than three-quarters. With Mass Spec Skills, all three identified and verified the exact molecule in about 97% of attempts. The developers said the ready-made tools also reduced generated tokens per attempt: nearly fourfold for Flash, by half for Argon and by nearly a fifth for Carbon.

The system still has limits. An LC-MS/MS spectrum cannot distinguish some mirror-image molecules and closely related isomers because they fragment in nearly identical ways. Additional measurements, such as chromatographic retention time, ion mobility or NMR, may be needed. For genuinely new molecules absent from databases, the tool can give chemists a starting point with a predicted formula, peak assignments and detailed annotations.

Availability

Mass Spec Skills is available in the Google Antigravity app by installing the Mass Spec plugin. Enterprise users can also sign in with Google Cloud credentials. Google is offering 10,000 scientists six months of free access to Antigravity’s highest usage tier; applications are open, subject to eligibility, capacity and selection.

Certified Services Partner, Claude Partner Network