HealthFlow: automating electronic health record analysis via a strategically self-evolving multi-agent framework

Electronic health records (EHRs) are a rich source of real-world clinical data, but turning them into valid analyses remains slow, brittle, and expert-intensive. Although recent AI agents can answer medical questions and use tools, automating full EHR workflows remains difficult because small planning or execution errors can invalidate otherwise plausible analyses. Here we present HealthFlow, a multi-agent framework that converts prior EHR analyses into structured, governed experience for planning under dataset-specific and methodological constraints. We also introduce EHRFlowBench, a rigorously curated benchmark of EHR analysis tasks derived from 51,280 peer-reviewed papers. Across EHRFlowBench and four established benchmarks (MedAgentBoard, MedAgentsBench, HLE, and CureBench), HealthFlow consistently outperforms strong baselines in generating valid clinical artifacts and completing complex EHR analysis pipelines. These results show that governed reuse of prior analytical experience improves robustness in health data science and opens a promising path to automating open-ended EHR analysis.

Authors

Institutions

Publication Details

Journal
npj Digital Medicine
Published
2026-08-17
DOI
https://doi.org/10.1038/s41746-026-03097-0
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
0.00

Funders

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

HealthFlow: automating electronic health record analysis via a strategically self-evolving multi-agent framework

Junjun He, H. M. Hu, Dehao Sui, Yinghao Zhu et al.
npj Digital Medicine
Machine Learning in Healthcare
article

HealthFlow: automating electronic health record analysis via a strategically self-evolving multi-agent framework

Junjun He, H. M. Hu, Dehao Sui, Yinghao Zhu, Liantao Ma, Yasha Wang, Zixiang Wang, Lei Gu, Ziyi He, Yifan Qi, Xichen Zhang, Lequan Yu
article en

Abstract

Electronic health records (EHRs) are a rich source of real-world clinical data, but turning them into valid analyses remains slow, brittle, and expert-intensive. Although recent AI agents can answer medical questions and use tools, automating full EHR workflows remains difficult because small planning or execution errors can invalidate otherwise plausible analyses. Here we present HealthFlow, a multi-agent framework that converts prior EHR analyses into structured, governed experience for planning under dataset-specific and methodological constraints. We also introduce EHRFlowBench, a rigorously curated benchmark of EHR analysis tasks derived from 51,280 peer-reviewed papers. Across EHRFlowBench and four established benchmarks (MedAgentBoard, MedAgentsBench, HLE, and CureBench), HealthFlow consistently outperforms strong baselines in generating valid clinical artifacts and completing complex EHR analysis pipelines. These results show that governed reuse of prior analytical experience improves robustness in health data science and opens a promising path to automating open-ended EHR analysis.

npj Digital Medicine
Chinese University of Hong Kong (HK), Hong Kong University of Science and Technology (HK), Peking University (CN), Beijing Academy of Artificial Intelligence (CN), Shanghai Artificial Intelligence Laboratory (CN), University of Hong Kong (HK)
National Natural Science Foundation of China, Beijing Municipal Health Commission, Innovation and Technology Commission - Hong Kong, Peking University, Innovation and Technology Fund
Openalex Percentile: Top 8%
Machine Learning in Healthcare
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.