Crossref DOIMemberCiteFactoropen accessissn
SJIF Impact Factor 8.659 | ISSN: 2582-3930
IJSREM Logo

International Journal of Scientific Research in Engineering and Management

(Gateway to Global Scholars - An International, Scholarly, Multi-Disciplinary, Open Access Journal)

Peer-Reviewed Journal Designed to Meet UGC's Quality Parameters

HomeCurrent IssuePast IssuesPay OnlineConferencesEditorial BoardAbout UsContact Us
IJSREM

Loading article...

Follow Us

  • Google Scholar
  • ResearchGate
  • Academia.edu
  • Mendeley
  • LinkedIn
  • Facebook
  • Instagram

Journal Policies

  • Peer Review Policy
  • Publication Ethics
  • Copyright Infringement
  • Refund & Cancellation Policy
  • Terms and Conditions
  • Privacy Policy

Journal Identifiers & Licenses

  • ISSN Verified: 2582-3930ISSN Verified: 2582-3930
  • Crossref DOI: 10.55041Crossref DOI: 10.55041
  • SJIF Ranking: 08.659SJIF Ranking: 08.659
  • Licensed under CC BY 4.0Licensed under CC BY 4.0
  • ISO Certification: 9001:2015ISO Certification: 9001:2015
  • Indexed & Cited In: Google ScholarIndexed & Cited In: Google Scholar

Contact Us

International Journal of Scientific Research in Engineering and Management (IJSREM)

#62/1, New No 7, 1st Cross, 2nd Main, Ganganagar, R T Nagar, Bangalore North, Bangalore, Karnataka, India – 560032
[email protected]+91 93911 67991
logos
logos
Working Hours

Mon – Sat: 9:00 AM – 6:00 PM

Sunday: 10:00 AM – 4:00 PM

+91 93911 67991

© 2026 IJSREM – International Journal of Scientific Research in Engineering and Management. This is an open-access journal. Articles are published under the Creative Commons Attribution (CC BY 4.0) License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

DisclaimerPrivacy PolicyTerms and Conditions
ArticlePeer ReviewedOpen AccessPlagiarism Passed
Paper ID:IJSREM63122

Aegis: A Privacy-Adaptable Human-in-the-Loop Agentic Medical AI Ecosystem with Dual-Mode Inference and Autonomous Emergency Response

Stream/Area:

-

Subject:

-

Paper ID:

IJSREM63122

Volume:

10 |

5 |

May 2026

Pages:

1-12

Publication Frequency:

Monthly (12 issues per year)

DOI
Digital Object Identifier
10.55041/IJSREM63122

License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

Share this article:

Authors

Abhishek Swarnakar

Abhishek Swarnakar

AMITY SCHOOL ENGINEERING AND TECHNOLOGY

AMITY UNIVERSITY RAIPUR CHATTISHGARH

Download Author Certificate
Dr. Poonam Mishra

Dr. Poonam Mishra

AMITY SCHOOL ENGINEERING AND TECHNOLOGY

AMITY UNIVERSITY RAIPUR CHATTISHGARH

Download Co-Author Certificate
Dr. Goldi Soni

Dr. Goldi Soni

AMITY SCHOOL ENGINEERING AND TECHNOLOGY

AMITY UNIVERSITY RAIPUR CHATTISHGARH

Download Co-Author Certificate
Sameer Verma

Sameer Verma

AMITY SCHOOL ENGINEERING AND TECHNOLOGY

AMITY UNIVERSITY RAIPUR CHATTISHGARH

Download Co-Author Certificate
Aadhya Bhattacharya

Aadhya Bhattacharya

AMITY SCHOOL ENGINEERING AND TECHNOLOGY

AMITY UNIVERSITY RAIPUR CHATTISHGARH

Download Co-Author Certificate

Author Services & Downloads

Full ArticlesAcceptance Certificate

Abstract

Healthcare systems in developing nations face a structural trilemma: acute physician scarcity, unacceptably long emergency response intervals, and a complete absence of AI-assisted triage tools that preserve patient data sovereignty. This paper presents Aegis, a full-stack agentic medical AI ecosystem that addresses all three dimensions simultaneously. Aegis is built as a Turborepo-managed monorepo pairing a Next.js doctor-dashboard web application and a React Native (Expo) patient mobile application with a FastAPI clinical reasoning backend, managed by pnpm workspaces with shared packages for medical logic and UI components. The platform supports two AI inference modes selectable at deployment time without architectural changes: a privacy-preserving local mode powered by Meditron [2] via the Ollama [18] runtime (zero external data transmission), and a cloud mode powered by Gemini 1.5 Pro [3] via the Google AI API. Both modes use identical Pydantic V2-validated prompt templates and output schemas, ensuring that all downstream components — Red Flag Interceptor, RAG pipeline, Doctor Dashboard, Action Agent — operate identically regardless of active inference mode. Patient profile data (allergies, medications, clinical history) is automatically injected into every triage prompt, grounding AI assessments in individual patient context. A deterministic Red Flag Interceptor pre-screens all inputs before any LLM invocation, triggering immediate emergency pathways including direct 112-dial, Google Maps hospital redirect, and NG911 dispatch. Client-side state is managed by Zustand [8]; authentication is handled by Supabase Auth [9]; API rate limiting uses Upstash Redis [10]. Projected outcomes include Red Flag detection sensitivity exceeding 99%, physician validation throughput enabling sub-60-second sign-off per routine case, and emergency alert initiation within 90 seconds of red-flag symptom presentation.

KEYWORDS

Keywords — Medical AI Human-in-the-Loop Meditron LLaVA Gemini 1.5 Pro Ollama Next.js React Native FastAPI Turborepo PostgreSQL pgvector Supabase Zustand HL7 FHIR NG911 Red Flag Detection Dual-Mode Inference

Cite This Article

Abhishek Swarnakar, Dr. Poonam Mishra, Dr. Goldi Soni, Sameer Verma, Aadhya Bhattacharya, "Aegis: A Privacy-Adaptable Human-in-the-Loop Agentic Medical AI Ecosystem with Dual-Mode Inference and Autonomous Emergency Response," International Journal of Scientific Research in Engineering and Management, vol. 10, no. 5, pp. 1-12, May 2026. https://doi.org/10.55041/IJSREM63122

Full Article/Conclusion

This paper has presented Aegis, a novel agentic medical AI ecosystem that advances the state of the art in AI-assisted healthcare triage through four principal innovations: a privacy-adaptable dual-mode AI inference architecture supporting both local Meditron (via Ollama) and cloud Gemini 1.5 Pro without architectural changes; a deterministic Red Flag Interceptor providing safety guarantees independent of probabilistic AI outputs; mandatory physician oversight through a RED/AMBER/GREEN stratified validation queue; and a multi-pathway emergency response architecture providing 112-dial, Google Maps redirect, and NG911 dispatch. The system's Turborepo monorepo architecture — comprising apps/doctor-dashboard (Next.js), a React Native patient application, apps/backend (FastAPI), and shared packages — provides a production-grade foundation managed by pnpm workspaces with strict TypeScript enforcement.   Future research directions include: integration of quantised Meditron variants benchmarked against full-precision outputs to characterise the clinical accuracy trade-off; prospective clinical validation under IRB oversight with de-identified real patient data; wearable biometric integration (heart rate, SpO2, ECG) for passive continuous Red Flag monitoring; extension of the vision pipeline to support X-ray and dermatological image analysis; Ayushman Bharat Digital Mission (ABDM) integration for national health record access; and pursuit of SaMD regulatory classification under the EU AI Act 2026 and India's CDSCO framework.

References

1.                   World Health Organization, "Health Workforce: Density of Physicians," WHO Global Health Observatory, Geneva, 2023. 2.                   Z. Chen, A. Cano, A. Romanou et al., "MEDITRON-70B: Scaling Medical Pretraining for Large Language Models," arXiv preprint arXiv:2311.16079, Nov. 2023. 3.                   K. Singhal, S. Azizi, T. Tu et al., "Large language models encode clinical knowledge," Nature, vol. 620, pp. 172–180, Aug. 2023. [Med-PaLM 2 / Gemini family] 4.                   H. Liu, C. Li, Q. Wu, and Y. J. Lee,  5.                   "Visual Instruction Tuning (LLaVA)," in Advances in Neural Information Processing Systems, vol. 36, 2023. 6.                   Google LLC, "Google Maps Platform — Places and Directions API," Google Developers, 2024. [Online]. Available: https://developers.google.com/maps 7.                   A. Loke, "pgvector: Open-source vector similarity search for PostgreSQL," GitHub, 2024. [Online]. Available: https://github.com/pgvector/pgvector 8.                   Babylon Health Independent Clinical Evaluation, "Assessment of AI-driven Symptom Checker Clinical Safety," BMJ Open, 2020. 9.                   P. Kaur and T. Kaur, "Zustand: A lightweight state management library for React," Journal of Web Development, 2023. 10.                R. Challen, J. Denny, M. Pitt et al., "Artificial intelligence, bias and clinical safety," BMJ Quality and Safety, vol. 28, no. 3, pp. 231–237, 2019.

Editorial & Review Transparency

Publication Date

5/13/2026

Peer Review Type

Double-Blind Peer Review

Review Rounds: 2

Documents

Review Report (Confidential)
Copyright Form (Office)

Article Metrics & Impact

Article Views

1

Total views since publication

PDF Downloads

4

Total downloads since publication

Geographic Reach

5

Indexing, Archiving & Preservation

Google Scholar
Academia
ResearchGate
Crossref
SSRN
Semantic Scholar
Thomson Reuters
WorldCat
Mendeley
OpenAlex
EBSCO
Zenodo

Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.

Ethics, Compliance & Transparency

Plagiarism Screening

This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.

Conflict of Interest

The authors declare no conflict of interest related to this research work.

Funding Information

No funding information available for this research.

Similar & Recommended Articles

Similar Articles by Topic

Related research in the same subject area

Loading similar articles...