MetaboT: an LLM-based multi-agent framework for interactive analysis of mass spectrometry metabolomics knowledge graphs

Mass spectrometry-based metabolomics generates complex, high-dimensional data that holds vast potential for biological discovery but remains difficult to integrate and interpret. Knowledge graphs (KGs) unify this heterogeneous information by representing spectra, annotations, taxa, chemical classes, and biological activities as a single interoperable network; however, their practical use is limited by the steep learning curve of corresponding specialized representation and query languages. Here we introduce MetaboT, an open-source multi-agent Large Language Model (LLM) framework that translates natural-language questions into executable SPARQL queries over metabolomics knowledge graphs. MetaboT is designed to mitigate the hallucination and schema-compliance limitations of single-model approaches through a modular architecture in which specialised agents handle scope validation, entity resolution against authoritative resources, schema-aware query generation, iterative refinement, and result interpretation. We validated MetaboT on the Experimental Natural Products Knowledge Graph (ENPKG), using an expert-authored benchmark of natural-language questions paired with reference SPARQL queries, and demonstrate its ability to answer complex questions about plant–metabolite relationships and biological activities, achieving 83.67% accuracy versus 8.16% for a single-shot baseline and reducing schema-mismatch errors to a single residual case in our benchmark. MetaboT lowers the technical barrier for metabolomics researchers and enables semantic data mining without specialised programming expertise. Scientific contribution MetaboT introduces a multi-agent LLM architecture that grounds each step of natural-language-to-SPARQL translation in authoritative identifier resolution and schema-aware validation, substantially reducing the hallucinations observed with single-model baselines. The framework couples orchestrated agents with domain-specific tools for chemical, taxonomic, and biological target resolution, and with an iterative refinement loop that distinguishes query-construction errors from genuine data absence. Released as open-source software with an archived evaluated version, a reusable benchmark, and a public web demonstrator, MetaboT provides a reproducible reference implementation for knowledge-graph-driven exploration of mass spectrometry metabolomics data.

Authors

Institutions

Publication Details

Journal
Journal of Cheminformatics
Published
2026-07-24
DOI
https://doi.org/10.1186/s13321-026-01257-8
Primary Topic
Metabolomics and Mass Spectrometry Studies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MetaboT: an LLM-based multi-agent framework for interactive analysis of mass spectrometry metabolomics knowledge graphs

Marco Pagni, Florence Mehl, Olivier Kirchhoffer, Franck Michel et al.
Journal of Cheminformatics
Metabolomics and Mass Spectrometry Studies
article

MetaboT: an LLM-based multi-agent framework for interactive analysis of mass spectrometry metabolomics knowledge graphs

Marco Pagni, Florence Mehl, Olivier Kirchhoffer, Franck Michel, Fabien Gandon, Soha Hassoun, Yousouf Taghzouti, Jean‐Luc Wolfender, Wout Bittremieux, Louis‐Félix Nothias, Emma Tysinger, Lucas Pradi, Yan Zhou Chen, Madina Bekbergenova, Benjamin Navet, Matthieu Feraud, Martin Legrand, Tao Jiang
article en

Abstract

Mass spectrometry-based metabolomics generates complex, high-dimensional data that holds vast potential for biological discovery but remains difficult to integrate and interpret. Knowledge graphs (KGs) unify this heterogeneous information by representing spectra, annotations, taxa, chemical classes, and biological activities as a single interoperable network; however, their practical use is limited by the steep learning curve of corresponding specialized representation and query languages. Here we introduce MetaboT, an open-source multi-agent Large Language Model (LLM) framework that translates natural-language questions into executable SPARQL queries over metabolomics knowledge graphs. MetaboT is designed to mitigate the hallucination and schema-compliance limitations of single-model approaches through a modular architecture in which specialised agents handle scope validation, entity resolution against authoritative resources, schema-aware query generation, iterative refinement, and result interpretation. We validated MetaboT on the Experimental Natural Products Knowledge Graph (ENPKG), using an expert-authored benchmark of natural-language questions paired with reference SPARQL queries, and demonstrate its ability to answer complex questions about plant–metabolite relationships and biological activities, achieving 83.67% accuracy versus 8.16% for a single-shot baseline and reducing schema-mismatch errors to a single residual case in our benchmark. MetaboT lowers the technical barrier for metabolomics researchers and enables semantic data mining without specialised programming expertise. Scientific contribution MetaboT introduces a multi-agent LLM architecture that grounds each step of natural-language-to-SPARQL translation in authoritative identifier resolution and schema-aware validation, substantially reducing the hallucinations observed with single-model baselines. The framework couples orchestrated agents with domain-specific tools for chemical, taxonomic, and biological target resolution, and with an iterative refinement loop that distinguishes query-construction errors from genuine data absence. Released as open-source software with an archived evaluated version, a reusable benchmark, and a public web demonstrator, MetaboT provides a reproducible reference implementation for knowledge-graph-driven exploration of mass spectrometry metabolomics data.

Journal of Cheminformatics
University of Geneva (CH), Tufts University (US), SIB Swiss Institute of Bioinformatics (CH), Centre National de la Recherche Scientifique (FR), Institut national de recherche en sciences et technologies du numérique (FR), University of Antwerp (BE), HES-SO University of Applied Sciences and Arts Western Switzerland (CH), Université Côte d'Azur (FR), Institut de Chimie de Nice (FR), Fondation Sophia Antipolis (FR), ProbaYes (France) (FR), Massachusetts Institute of Technology (US)
Agence Nationale de la Recherche, Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung, Fonds Wetenschappelijk Onderzoek
Openalex Percentile: Top 15%
Metabolomics and Mass Spectrometry Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.