I’ve been watching the gap between data generation and data interpretation widen across scientific domains for years. Mass spectrometry is a perfect example. Modern instruments can detect tens of thousands of molecular signals in a single blood sample, measuring not just mass but fragmentation patterns that hint at structure. Yet here’s the painful reality: even with a decade of expanded reference libraries, researchers can only confidently identify about 5-10% of the spectra they generate. The rest? It’s called the “dark matter” of mass spectrometry, and it represents an enormous opportunity cost in drug discovery, metabolomics, and natural products research.
What makes this frustrating is that the molecules producing these unannotated signals often already exist in public chemical databases. The problem isn’t missing data; it’s missing workflows that connect the dots between raw spectra and known structures at scale.
The Manual Bottleneck
Analytical chemists have a battle-tested workflow for this. They check spectral libraries, predict molecular formulas, retrieve candidate structures from databases, then systematically test each candidate against observed fragment peaks. It works. But it takes a domain expert potentially days or weeks per spectrum, which is why most signals never get properly analyzed.
The tools exist and are openly available (SIRIUS, MAGMa, MetFrag, matchms, RDKit). The problem is orchestration and time. No single researcher can manually chain these tools together for thousands of spectra. This is where I see the real value of what’s being built with Mass Spec Skills and Google’s Antigravity platform.
Agentic Chemistry
What’s happening here isn’t just LLM hallucination applied to chemistry (which would be dangerous). Instead, Gemini is being paired with dedicated chemistry tools as skills that the agent can invoke. The language model handles reasoning and workflow orchestration, while precise mass calculations, database searches, and molecular simulations remain in the hands of deterministic tools. This is the right architecture for high-stakes scientific work.
In practice, researchers describe their task in plain language. The agent denoises raw spectra, queries reference libraries using configurable mass tolerances, predicts molecular formulas, retrieves candidate structures, simulates how they fragment, and cross-checks fragmentation pathways against observed peaks. From a single prompt, you get a proposed structure backed by an auditable report mapping predicted fragments to measured peaks.
The example in the source material is telling: a negative-mode tandem mass spectrum with 1,761 raw peaks gets filtered to 19 meaningful signals, the formula C20H21ClN6O is identified, and 845 PubChem isomers are ranked. When multiple candidates tie on spectral coverage (97.7% fragment intensity match), the agent tests whether their bond connectivity and functional groups match the observed fragmentation pathways. This kind of reasoning requires both chemical knowledge and systematic elimination, something AI is genuinely well-suited for once you remove the hallucination problem.
Why This Matters for Developers
What excites me about this is the abstraction model. We’ve solved many hard problems in AI agents and tool use, but most applications don’t require precision at this level. Chemistry does. The fact that this workflow can handle tie-breaking through reaction chemistry (ruling out candidates that lack functional groups needed for observed cleavages) suggests these agents are becoming sophisticated enough to handle real expert-level reasoning.
For natural products drug discovery specifically, this could cut annotation time from months to hours. Researchers can now prioritize which features in their data to pursue based on rapid de novo structure predictions. That’s not incremental. That’s workflow transformation.
The architecture also matters. By keeping deterministic chemistry tools at the center and using the LLM for orchestration and interpretation, the system maintains scientific rigor while gaining speed. This is a model I’d like to see more across scientific software: AI as coordinator and reasoner, not as the source of truth.
The Remaining Question
The system achieves 90%+ accuracy in structure prediction across their evaluations, which is legitimately impressive for molecules that weren’t in training data. But accuracy on what? The molecules tested? A held-out validation set? This matters because chemistry is unforgiving. A 90% accurate structure prediction that confidently points a chemist toward the wrong candidate wastes expensive lab time.
I’d want to see these systems deployed in real research environments with explicit logging of when the agent’s top candidate turns out to be wrong, so the feedback loop tightens. That’s how you build tools researchers actually trust with their time and resources.
The deeper implication is that agentic AI isn’t just about automating repetitive work anymore. It’s about amplifying expert judgment at the frontier of human knowledge, handling the systematic workflows that experts find tedious while leaving the creative and experimental decisions to humans. If this pattern holds across other scientific domains, we’re looking at a genuine acceleration of discovery.