Skip to content
Open access

A multi-agent GraphRAG framework for pharmacotherapy safety verification in clinical decision support systems

Aug 2026 · Frontiers in Medicine · Vol 13 · 0 citations · 42 references
Medicine

TL;DR

The evaluation revealed that the integration of LLM-based extraction with a pharmacotherapy knowledge graph enhanced safety-oriented clinical decision support and provided more accurate and traceable answers than traditional RAG.

Abstract

Background The management of pharmacotherapy in patients with multimorbidity and polypharmacy is a difficult task in routine clinical practice. Clinicians must consider diagnoses, prescribed drugs, contraindications, drug-drug interactions, renal and hepatic function, laboratory values, dose limits and individual risk factors. Clinical decision support systems in traditional settings are based on static rules, and hard to update. Standalone large language models are capable of processing clinical language but their outputs may be unsupported by evidence, incomplete or out of date. In this study, we developed and evaluated a hybrid multi-agent GraphRAG framework for personalised pharmacotherapy safety verification. Methods We developed a system that integrates graph based retrieval with large language models. The framework was composed of three parts: (1) a schema for a pharmacotherapy knowledge graph that encoded indications, contraindications, interactions, laboratory thresholds, dose limitations and relevant patient conditions; (2) an Extractor–Critic workflow that transformed unstructured medical text into graph elements with quality checks prior to their incorporation; and (3) a retrieval and re-ranking module that leveraged semantic search, graph traversal and safety-directed scoring. The system was evaluated on 12 benchmark cases extraction and 30 clinical safety questions answering. Comparison of conventional RAG and GraphRAG was done using linear mixed effects models, permutation testing, and paired case-level analysis. Results The multi-agent extraction workflow beat the zero-shot baseline. Strict F1 improved by 0.156 points (p < 0.01), mainly due to higher ecall (+0.172, p < 0.001). For clinical question answering, we found that GraphRAG outperformed conventional RAG in terms of medical accuracy (0.545 vs. 0.443, absolute difference of 0.102, p = 0.04). GraphRAG provided the better answer 66.7% of the time. The advantage was greatest where safety was dependent on contra-indications, laboratory cut-offs or patient specific factors. Smaller models performed as well as the larger models with the same GraphRAG configuration. Conclusion The evaluation revealed that the integration of LLM-based extraction with a pharmacotherapy knowledge graph enhanced safety-oriented clinical decision support. GraphRAG provided more accurate and traceable answers than traditional RAG. Routine adoption will require validation on larger graphs, a wider range of datasets and real clinical populations, but this approach may be appropriate for cost sensitive and privacy conscious workflows.

Read PDF

Similar papers

Open access Aug 2026

Development of a hybrid artificial intelligence framework for pharmacotherapy optimization.

The proposed framework conceptualizes AI as a relevance-structuring, clinician-governed decision-support layer rather than an autonomous decision-maker rather than an autonomous decision-maker and provides a conceptual foundation for future development, implementation, and evaluation of AI-supported pharmacotherapy sys...

Olaf Rose, Stephanie Clemens, A. Leiherer et al. · 1 citation
Review Open access 2026

A Multiagent AI Framework for Parallelised Prescription Decision Support in Primary Care

It is argued that doubly parallelised multiagent AI — across agents within a case and across concurrent patient requests — is not merely an efficiency gain but a patient safety imperative given current UK primary care workforce constraint.

Naveen Rajagopal, Abhijay Jagini, Muthu Ramachandran · 0 citations
Open access Aug 2026

Architectural Safety Mechanisms for Multi-Agent Clinical LLM Systems Under Knowledge Base Distribution Shift

A controlled evaluation framework using 50,000 synthetic type 2 diabetes patients with CKD and hypertension comorbidities shows stateful multi-agent graphs with programmatic safety floors bound error propagation under clinical knowledge shift.

M. A. Sulaiman, B. F. Oyeyemi, H. Sarafadeen · 0 citations
#artificial intelligence Preprint Sep 2026

A Structured Debate-Mixture-of-Agents Framework for Complex Clinical Diagnostic Decision Support

Large language models (LLMs) show potential for medical tasks, but their single-turn question-answer format does not reflect how clinical diagnosis is performed in practice. As a result, they remain limited in complex diagnostic settings. We developed Debate-Mixture-of-Agents (DMoA), a novel multi-agent framework that...

Changda Xia, L. Ouyang, Hui-Min Wang et al. · 0 citations
Preprint Aug 2026

Sparse Multi-Stage Expert-Agent Routing for Complex Clinical Reasoning

Sarse Multi-Stage Expert-Agent Routing is proposed, a language-based clinical reasoning framework that models diagnosis as a stage-wise routing process and adaptively activates a sparse set of medical expert agents, supported by expert-specific memory across stages.

Sike Xiang, Shuang Chen, Qianpeng Sun et al. · 1 citation

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.