Abstract
Various healthcare applications based on large language models (LLMs) have emerged as LLMs show improved efficiency and error reduction. Recently, retrieval augmented generation (RAG) has been adopted frequently for LLM applications to solve the problem of hallucinations. Despite the success of RAG, it has its drawbacks, including incomplete semantic meanings, and large-scale dataset requirements. AI Agents have shown great potential in medicine and healthcare applications by leveraging their rich background knowledge and reasoning capabilities. In this paper, we introduce ENTAgents, a framework that utilizes both the RAG and multi-agent systems. To achieve better decision-making and enhanced explainability, we use the verbal reinforcement learning framework, Reflexion, as a reference for the task planning of ENTAgents. With the verbal feedback received from the last agent node, the agentic system can decide the best agent to utilize to improve the response of ENTAgents. We tested ENTAgents with various types of questions, including short questions, essay questions, and multiple-choice questions. ENTAgents improve accuracy by over 11.3% in handling short questions, with 2.78 folds in the length of the text and explaining clearly. ENTAgents shows higher accuracy and is more comprehensive in its answer compared to other LLM models. ENTAgents also demonstrates its ability to refine its answer with additional information to make it more thorough and educational. It also presents the capability to change its response to the correct answer in multiple-choice questions according to its self-reflection. Overall, ENTAgents is easy to use, can self-correct, and can provide detailed information in complex knowledge to users. We look forward to integrating ENTAgents into various healthcare scenarios, such as medical education and clinical decision support, particularly otolaryngology.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
This study was funded by the Research Grant Council of Hong Kong, General Research Fund (Ref No. 14211223).
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Data Availability
All data produced in the present study are available upon reasonable request to the authors