Published August 10, 2025 | Version v0.1
Software Open

ncbi-nlp/Clinical-Tool-Learning: AgentMD: Empowering Language Agents for Risk Prediction with Large-Scale Clinical Tool Learning

Creators

  • 1. National Institutes of Health

Description

Clinical calculators play a vital role in healthcare, but their utilization is often hindered by usability and dissemination challenges. We introduce AgentMD, a novel language agent capable of curating and applying clinical calculators across various clinical contexts. As a tool builder, AgentMD first uses PubMed to curate a diverse set of 2,164 executable clinical calculators with over 85% accuracy for quality checks and over 90% pass rate for unit tests. As a tool user, AgentMD autonomously selects and applies the relevant clinical calculators. Our evaluations show that AgentMD significantly outperforms GPT-4 for risk prediction (87.7% vs. 40.9% in accuracy). Results on 698 real-world emergency department notes confirm that AgentMD accurately computes medical risks at an individual level. Moreover, AgentMD can provide population-level insights for institutional risk management. Our study illustrates the capabilities of language agents to curate and utilize clinical calculators for both individual patient care and at-scale healthcare analytics.

Files

ncbi-nlp/Clinical-Tool-Learning-v0.1.zip

Files (8.8 MB)

Name Size Download all
md5:e7687fc50ef7b008769dbd8cc71b960a
8.8 MB Preview Download

Additional details

Related works