MR-MAS: an end-to-end multi-agent system for autonomous Mendelian randomization analysis
Open accessAbstract
Motivation: Understanding disease-related causal mechanisms is essential for biomedical research, yet the practical use of Mendelian Randomization (MR) remains constrained by fragmented analytical workflows and a strong dependence on specialized expertise. These challenges limit the efficient, standardized, and reproducible execution of end-to-end MR analyses. Results: We propose MR-MAS, an end-to-end automated MR analysis system built on a multi-agent architecture. MR-MAS leverages the reasoning and coordination capabilities of large language models (LLMs) and integrates external tools to unify data acquisition, causal effect estimation, results interpretation, and manuscript preparation into a single workflow, thereby reducing manual effort. MR-MAS further incorporates a structured Mendelian Randomization Knowledge Base (MRKB) to support MR method implementation and targeted repair of MR analysis code. Across diverse test scenarios, MR-MAS demonstrated stable workflow execution, reproduced several literature-supported causal signals, and maintained consistent causal estimates across repeated runs and different model backends. Additional evaluations showed robust trait retrieval and improved code-repair performance with MRKB guidance. These results suggest that MR-MAS may provide practical support for scalable, standardized, and reproducible MR analyses in biomedical research. Availability and Implementation: The source code, MRKB, and benchmark data are freely available at https://github.com/Zaiwen/MR-MAS, with the version used in this study archived at https://doi.org/10.5281/zenodo.20342636.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Bowden, J., Davey Smith, G., & Burgess, S. (2015) · International Journal of Epidemiology · doi:10.1093/ije/dyv080 · Cited by 9,816 · cited 1× · see citing works
“As summarized in Table S1, it covers conventional and robust MR methods such as IVW regression (Smith and Ebrahim 2003), MR-Egger regression (Bowden et al. 2015), weighted median (Bowden et al. 2016), weighted mode (Hartwig et al. 2017), MR-PRESSO (Verbanck et al. 2018), MRMix (Qi and Chatterjee…”
Bowden, J., Davey Smith, G., Haycock, P. C., & Burgess, S. (2016) · Genetic Epidemiology · doi:10.1002/gepi.21965 · Cited by 8,922 · cited 1× · see citing works
“…conventional and robust MR methods such as IVW regression (Smith and Ebrahim 2003), MR-Egger regression (Bowden et al. 2015), weighted median (Bowden et al. 2016), weighted mode (Hartwig et al. 2017), MR-PRESSO (Verbanck et al. 2018), MRMix (Qi and Chatterjee 2019), GSMR (Zhu et al. 2018),…”
The UK Biobank resource with deep phenotyping and genomic data
Bycroft, C., Freeman, C., Petkova, D., Band, G., Elliott, L. T., Sharp, K., Motyer, A., Vukcevic, D., Delaneau, O., O’Connell, J., et al. (2018) · Nature · doi:10.1038/s41586-018-0579-z · Cited by 8,876 · cited 2× · see citing works
“With the availability of large-scale genomic resources such as the UK Biobank (Bycroft et al. 2018), OpenGWAS (Elsworth et al. 2020), and the GWAS Catalog (Buniello et al. 2019), MR has been widely adopted to elucidate causal relationships, identify actionable risk factors and prioritize therapeutic targets.”
Verbanck, M., Chen, C.-Y., Neale, B., & Do, R. (2018) · Nature Genetics · doi:10.1038/s41588-018-0099-7 · Cited by 8,591 · cited 3× · see citing works
“For each pair, we applied five core MR methods: IVW, MR-Egger regression, weighted median, weighted mode, and MR-PRESSO, and recorded the corresponding P -values and effect directions.”
The MR-Base platform supports systematic causal inference across the human phenome
Hemani, G., Zheng, J., Elsworth, B., Wade, K. H., Haberland, V., Baird, D., Laurin, C., Burgess, S., Bowden, J., Langdon, R., et al. (2018) · eLife · doi:10.7554/elife.34408 · Cited by 7,959 · cited 2× · see citing works
“A full analysis typically involves multiple steps, including GWAS data retrieval, instrument selection, causal effect estimation, sensitivity analyses, and result interpretation ( Lawlor et al. 2008, Hemani et al. 2018), often requiring frequent switches between different tools and platforms.”
Davey Smith, G., & Ebrahim, S. (2003) · International Journal of Epidemiology · doi:10.1093/ije/dyg070 · Cited by 5,882 · cited 2× · see citing works
“Mendelian Randomization (MR) offers a powerful alternative by leveraging the random allocation of genetic variants and using them as instrumental variables for causal inference (Smith and Ebrahim 2003).”
Mendelian randomization: Using genes as instruments for making causal inferences in epidemiology
Lawlor, D. A., Harbord, R. M., Sterne, J. A. C., Timpson, N., & Davey Smith, G. (2008) · Statistics in Medicine · doi:10.1002/sim.3034 · Cited by 4,618 · cited 2× · see citing works
“A full analysis typically involves multiple steps, including GWAS data retrieval, instrument selection, causal effect estimation, sensitivity analyses, and result interpretation ( Lawlor et al. 2008, Hemani et al. 2018), often requiring frequent switches between different tools and platforms.”
Chain-Of-Thought Prompting Elicits Reasoning in Large Language Models
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q. V., & Zhou, D. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1800 · Cited by 4,505 · cited 1× · see citing works
“A growing body of work has demonstrated that LLM-driven agent systems (Wei et al. 2022, Yao et al. 2023) can perform complex scientific tasks via role specialization and collaborative reasoning.”
Buniello, A., MacArthur, J. A. L., Cerezo, M., Harris, L. W., Hayhurst, J., Malangone, C., McMahon, A., Morales, J., Mountjoy, E., Sollis, E., et al. (2019) · Nucleic Acids Research · doi:10.1093/nar/gky1120 · Cited by 4,000 · cited 6× · see citing works
“Specifically, it provides programmatic access to the GWAS Catalog for GWAS study retrieval and summary statistics download, and supports PubMed (Canese and Weis 2013) and PubMed Central retrieval for literature evidence collection.”
InfluentialCausal Diagrams for Epidemiologic Research
Greenland, S., Pearl, J., & Robins, J. M. (1999) · Epidemiology · doi:10.1097/00001648-199901000-00008 · Cited by 3,728 · cited 1× · see citing works
“However, traditional observational studies are often affected by unmeasured confounding and reverse causation (Greenland et al. 1999, Lawlor et al. 2008, Toonsi et al. 2024).”
Robust inference in summary data Mendelian randomization via the zero modal pleiotropy assumption
Hartwig, F. P., Davey Smith, G., & Bowden, J. (2017) · International Journal of Epidemiology · doi:10.1093/ije/dyx102 · Cited by 3,485 · see citing works
A Survey on Evaluation of Large Language Models
Chang, Y., Wang, X., Wang, J., Wu, Y., Yang, L., Zhu, K., Chen, H., Yi, X., Wang, C., Wang, Y., et al. (2024) · ACM Transactions on Intelligent Systems and Technology · doi:10.1145/3641289 · Cited by 2,842 · cited 1× · see citing works
“In recent years, large language models (LLMs) have shown substantial potential for building ‘AI scientists’ through their capabilities in natural language processing, reasoning, code generation and task planning (Achiam et al. 2023, Chang et al. 2024).”
Yavorska, O. O., & Burgess, S. (2017) · International Journal of Epidemiology · doi:10.1093/ije/dyx034 · Cited by 2,013 · cited 3× · see citing works
“Mendelian Randomization (MR) offers a powerful alternative by leveraging the random allocation of genetic variants and using them as instrumental variables for causal inference (Smith and Ebrahim 2003).”
An information-theoretic perspective of tf–idf measures
Aizawa, A. (2003) · Information Processing & Management · doi:10.1016/s0306-4573(02)00021-3 · Cited by 1,419 · cited 1× · see citing works
“It then combines keyword-based recall with semantic ranking based on TF-IDF similarity (Aizawa 2003) to identify the most relevant trait candidates.”
Causal associations between risk factors and common diseases inferred from GWAS summary data
Zhu, Z., Zheng, Z., Zhang, F., Wu, Y., Trzaskowski, M., Maier, R., Robinson, M. R., McGrath, J. J., Visscher, P. M., Wray, N. R., et al. (2018) · Nature Communications · doi:10.1038/s41467-017-02317-2 · Cited by 951 · cited 2× · see citing works
“As summarized in Table S1, it covers conventional and robust MR methods such as IVW regression (Smith and Ebrahim 2003), MR-Egger regression (Bowden et al. 2015), weighted median (Bowden et al. 2016), weighted mode (Hartwig et al. 2017), MR-PRESSO (Verbanck et al. 2018), MRMix (Qi and Chatterjee 2019), GSMR (Zhu et al…”
The MRC IEU OpenGWAS data infrastructurePreprint
Elsworth, B., Lyon, M., Alexander, T., Liu, Y., Matthews, P., Hallett, J., Bates, P., Palmer, T., Haberland, V., Smith, G. D., et al. (2020) · bioRxiv (Cold Spring Harbor Laboratory) · doi:10.1101/2020.08.10.244293 · Cited by 932 · cited 2× · see citing works
“With the availability of large-scale genomic resources such as the UK Biobank (Bycroft et al. 2018), OpenGWAS (Elsworth et al. 2020), and the GWAS Catalog (Buniello et al. 2019), MR has been widely adopted to elucidate causal relationships, identify actionable risk factors and prioritize therapeutic targets.”
Augmenting large language models with chemistry tools
M. Bran, A., Cox, S., Schilter, O., Baldassari, C., White, A. D., & Schwaller, P. (2024) · Nature Machine Intelligence · doi:10.1038/s42256-024-00832-8 · Cited by 794 · cited 1× · see citing works
“ChemCrow (Bran et al. 2024) tightly integrates LLMs with a chemistry toolset to achieve automated reaction planning and experimental task execution.”
Morrison, J., Knoblauch, N., Marcus, J. H., Stephens, M., & He, X. (2020) · Nature Genetics · doi:10.1038/s41588-020-0631-4 · Cited by 578 · cited 3× · see citing works
“…on real GWAS research questions, we assessed its performance using exposure–outcome pairs stratified into five prior-evidence categories (Morrison et al. 2020): considered causal, supported by literature, unknown or conflicting evidence, implausible or unsupported, and considered…”
Interpreting Causality in the Health Sciences
Russo, F., & Williamson, J. (2007) · International Studies in the Philosophy of Science · doi:10.1080/02698590701498084 · Cited by 549 · cited 1× · see citing works
“In biomedical research, accurately identifying causal relationships between traits, such as risk factors, lifestyle behaviours, or biomarkers, and diseases is fundamental for understanding disease mechanisms and designing effective interventions (Russo and Williamson 2007).”
Qi, G., & Chatterjee, N. (2019) · Nature Communications · doi:10.1038/s41467-019-09432-2 · Cited by 207 · see citing works
Autonomous biomedical research with an artificial intelligence agent
Huang, K., Zhang, S., Wang, H., Qu, Y., Lu, Y., Li, R., Roohani, Y., Qiu, L., Cao, S., Li, G. L., et al. (2026) · Science · doi:10.1126/science.adz4351 · Cited by 198 · see citing works
OpenAI, :, Hurst, A., Lerer, A., Goucher, A. P., Perelman, A., Ramesh, A., Clark, A., Ostrow, A., Welihinda, A., et al. (2024) · arXiv · Cited by 180 · cited 1× · see citing works
“For analytical consistency, MR-MAS was run with gpt-4o (Hurst et al. 2024) on exposure–outcome pairs spanning five prior-evidence categories.”
The Virtual Lab of AI agents designs new SARS-CoV-2 nanobodies
Swanson, K., Wu, W., Bulaong, N. L., Pak, J. E., & Zou, J. (2025) · Nature · doi:10.1038/s41586-025-09442-9 · Cited by 169 · cited 2× · see citing works
“Virtual Lab (Swanson et al. 2025) further demonstrates the innovative capacity of agent systems in real biomedical scenarios, where newly designed SARS-CoV-2 nanobodies exhibit strong performance in experimental validation.”
Ghafarollahi, A., & Buehler, M. J. (2024) · Advanced Materials · doi:10.1002/adma.202413523 · Cited by 153 · cited 2× · see citing works
“For instance, CRISPR-GPT (Qu et al. 2025) can autonomously plan and analyse gene-editing experiments, SciAgents (Ghafarollahi and Buehler 2025) combines multiple agents with knowledge-graph reasoning to generate hypotheses and predict material properties, and AutoBA (Zhou et al. 2024) leverages…”
An AI Agent for Fully Automated Multi‐Omic Analyses
Zhou, J., Zhang, B., Li, G., Chen, X., Li, H., Xu, X., Chen, S., He, W., Xu, C., Liu, L., et al. (2024) · Advanced Science · doi:10.1002/advs.202407094 · Cited by 100 · see citing works
OpenAI, :, Jaech, A., Kalai, A., Lerer, A., Richardson, A., El-Kishky, A., Low, A., Helyar, A., Madry, A., et al. (2024) · arXiv · Cited by 50 · cited 1× · see citing works
“TraitMatcher is evaluated using Top-k hit rates under noisy query settings, with the reported results averaged across all four base model backends: o1 (Jaech et al. 2024), gpt-4o, o1-mini (Jaech et al. 2024), and DeepSeek-V3.”
Yang, E.-W., & Velazquez-Villarreal, E. (2025) · Bioinform. · doi:10.1093/bioinformatics/btaf359 · Cited by 34 · see citing works
The AI Scientist-v2: Workshop-Level Automated Scientific Discovery via Agentic Tree Search
Yamada, Y., Lange, R. T., Lu, C., Hu, S., Lu, C., Foerster, J., Clune, J., & Ha, D. (2025) · arXiv · doi:10.48550/arxiv.2504.08066 · Cited by 32 · cited 2× · see citing works
“AI Scientist-v2 (Yamada et al. 2025) constructs a fully automated framework that spans hypothesis generation, experiment design and execution, result analysis and manuscript writing, and further advances the ‘AI scientists’ paradigm by incorporating a multi-agent collaboration mechanism guided by tree search.”
Xu, W., Luo, G., Meng, W., Zhai, X., Zheng, K., Wu, J. Y., Li, Y., Xing, A., Li, J., Li, Z., et al. (2025) · Briefings in Bioinformatics · doi:10.1093/bib/bbaf140 · Cited by 20 · cited 6× · see citing works
“MRAgent reported three definitive positive causal associations, whereas MR-MAS reported none.”
InfluentialToonsi, S., Gauran, I. I., Ombao, H., et al. (2024) · Bioinformatics · doi:10.1093/bioinformatics/btae639 · Cited by 3 · cited 1× · see citing works
“However, traditional observational studies are often affected by unmeasured confounding and reverse causation (Greenland et al. 1999, Lawlor et al. 2008, Toonsi et al. 2024).”
Flagged first, then by citations
Research works printed but not linked: 2
- Canese, The NCBI Handbook
- Qu, 2025, CRISPR-GPT for agentic automation of gene-editing experiments, Nat Biomed Eng, 1
- Authors
- Wei, W., Fan, Y., Li, L., Le, T. D., Li, X., Cheng, D., & Feng, Z.
- Affiliations
- Huazhong Agricultural University (CN)
- Adelaide University (AU)
- Commonwealth Bank of Australia (Australia) (AU)
- Hainan University (CN)
- Corresponding author
- Li, Xiaomei
- Cheng, Debo
- Feng, Zaiwen
- Venue
- Bioinformatics
- Publisher
- Oxford University Press (OUP)
- Published
- 2026-10
- Volume
- 42
- Issue
- 10
- ISSN
- 1367-4803 (ISSN-L)
- 1367-4811
- PMC
- PMC13680005
- OpenAlex
- W7222916622
- Semantic Scholar
- fd16d510ed2034504b53e9f748e9ad52bddfece9
- Cited by
- 0
- References
- 30
- FWCI
- 0.00
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- Locations
- Bioinformatics (publishedVersion, cc-by)
- PubMed Central (publishedVersion, cc-by)
- PubMed (publishedVersion)
- Funders
- National Key Research and Development Program of China (2023YFF1000100)
- Hubei Key Research and Development Program of China (2024BAA008)
- Topics
- Life Sciences › Biochemistry, Genetics and Molecular Biology › Genetics › Genetic Associations and Epidemiology
- Social Sciences › Decision Sciences › Information Systems and Management › Scientific Computing and Data Management
- Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Bioinformatics and Genomic Networks
- Keywords
- Mendelian randomization, multi-agent systems, large language models, code repair, reproducible analysis workflow, manuscript preparation, causal effect estimation
- MeSH terms
- Large Language Models, Humans, Software, Computational Biology, Mendelian Randomization Analysis
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review