Designing an Architecture of a Multi-Agentic AI-Powered Virtual Assistant Using LLMs and RAG for a Medical Clinic
Andreea-Maria Tanasă, Simona-Vasilica Oprea, Adela BÂRA
Bucharest University of Economic Studies
Key points
From the paper's conclusion- Evaluation shows that the multi-agent architecture improves reliability, interpretability and alignment with medical requirements, supporting diverse clinical tasks.
Abstract
This paper presents the design, implementation and evaluation of an agentic virtual assistant (VA) for a medical clinic, combining large language models (LLMs) with retrieval-augmented generation (RAG) technology and multi-agent artificial intelligence (AI) frameworks to enhance reliability, clinical accuracy and explainability. The assistant has multiple functionalities and is built around an orchestrator architecture in which a central agent dynamically routes user queries to specialized tools for retrieval-augmented question answering (Q&A), document interpretation and appointment scheduling. The implementation combines LangChain and LangGraph with interactive visualizations to track reasoning steps, prompts using Gemini 2.5 Flash defines tool usage and strict formatting rules, maintaining reliability and mitigating hallucinations. Prompt engineering has an important role in the implementation and thus, it is designed to assist the patient in the human–computer interaction. Evaluation through qualitative and quantitative metrics, including ROUGE, BLEU, LLM-as-a-judge and sentiment analysis, confirmed that the multi-agent architecture enhances interpretability, accuracy and context-aware performance. Evaluation shows that the multi-agent architecture improves reliability, interpretability and alignment with medical requirements, supporting diverse clinical tasks. Furthermore, the evaluation shows that Gemini 2.5 Flash combined with clinic-specific RAG significantly improves response quality, grounding and coherence compared with earlier models. SBERT analyses confirm strong semantic alignment across configurations, while LLM-as-a-judge scores highlight the superior relevance and completeness of the 2.5 RAG setup. Although some limitations remain, the updated system provides a more reliable and context-aware solution for clinical question answering.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AgentClinic: a multimodal benchmark for tool-using clinical AI agentsnpj Digital Medicine · 2026
- Benchmarking large language model-based agent systems for clinical decision tasksnpj Digital Medicine · 2026
- An agentic AI system for multi-framework communication codingnpj Digital Medicine · 2026
- MedCaseAgent: From Multimodal Clinical Evidence to Rare Disease Case ReportsarXiv · 2026
- Beyond Accuracy: A Critical Review of Evaluation, Clinical Validation, and Safety Frameworks for Agentic AI in MedicineInformation · 2026
- MMedAgent-Plus: Scaling Multimodal Medical Agents across Modalities, Tasks and WorkflowsarXiv · 2026