MR-MAS: an end-to-end multi-agent system for autonomous Mendelian randomization analysis.
Wendi Wei, Yuling Fan, Lin Li, Thuc Duy Le, Xiaomei Li, Debo Cheng, Zaiwen Feng
College of Informatics, Huazhong Agricultural University, Wuhan, 430070, China. · College of Plant Science & Technology, Huazhong Agricultural University, Wuhan, 430070, China.
Key points
From the paper's conclusion- 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.
Abstract
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MRCAT: A multi-agent framework for reliable Mendelian randomization analysis and causal interpretationmedRxiv · 2026
- Reporting Quality of Mendelian Randomization Studies Based on STROBE-MR: An Investigation Powered by Large Language ModelsmedRxiv · 2026
- Mendelian Randomization Methods for Causal Inference: Estimands, Identification and InferenceStatistics in Medicine · 2026
- MetaRigor: From Agentic Automation to Verifiable End-to-End Meta-Analysis Through Scientific Decision BoundariesarXiv · 2026
- MRFoundry: Knowledge-guided agent loops for end-to-end MRI researcharXiv · 2026
- Unraveling Time-Varying Causal Effects of Multiple Exposures: Integrating Functional Data Analysis With Multivariable Mendelian Randomization.Statistics in medicine · 2026