Agentic Pharmacy AI: A Multi-Agent Framework for Autonomous Prescription Handling, Safety Policy Enforcement, and Proactive Refill Prediction

This preprint presents Agentic Pharmacy AI, a multi-agent framework designed to support pharmacy order handling through conversational information extraction, deterministic safety and inventory validation, automated inventory updates, and historical reorder analysis. The framework consists of four specialized components: a Conversation Agent that extracts medicine names and requested quantities from natural-language requests; a Safety Agent that validates medicine availability, stock quantity, and prescription requirements; an Action Agent that performs inventory updates after successful validation; and a Predictive Refill Agent that analyzes historical reorder intervals to generate proactive refill alerts. The prototype is implemented using Python, FastAPI, OpenAI gpt-4o-mini, Pandas, CSV-based datasets, and Langfuse instrumentation. The study focuses on functional workflow integration and the separation of probabilistic language understanding from deterministic validation and action execution. The current implementation uses a small synthetic pharmacy dataset and a heuristic-based refill mechanism. It is an undergraduate research prototype and has not been clinically validated. It does not implement drug-drug interaction, allergy, or dosage-limit checks.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24685740
Primary Topic
Artificial Intelligence in Healthcare and Education
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Agentic Pharmacy AI: A Multi-Agent Framework for Autonomous Prescription Handling, Safety Policy Enforcement, and Proactive Refill Prediction

Umar Farooq Shaikh, Mehboob Hafiz Baig
Zenodo (CERN European Organization for Nuclear Research)
Artificial Intelligence in Healthcare and Education
preprint

Agentic Pharmacy AI: A Multi-Agent Framework for Autonomous Prescription Handling, Safety Policy Enforcement, and Proactive Refill Prediction

Umar Farooq Shaikh, Mehboob Hafiz Baig
preprint en

Abstract

This preprint presents Agentic Pharmacy AI, a multi-agent framework designed to support pharmacy order handling through conversational information extraction, deterministic safety and inventory validation, automated inventory updates, and historical reorder analysis. The framework consists of four specialized components: a Conversation Agent that extracts medicine names and requested quantities from natural-language requests; a Safety Agent that validates medicine availability, stock quantity, and prescription requirements; an Action Agent that performs inventory updates after successful validation; and a Predictive Refill Agent that analyzes historical reorder intervals to generate proactive refill alerts. The prototype is implemented using Python, FastAPI, OpenAI gpt-4o-mini, Pandas, CSV-based datasets, and Langfuse instrumentation. The study focuses on functional workflow integration and the separation of probabilistic language understanding from deterministic validation and action execution. The current implementation uses a small synthetic pharmacy dataset and a heuristic-based refill mechanism. It is an undergraduate research prototype and has not been clinically validated. It does not implement drug-drug interaction, allergy, or dosage-limit checks.

Zenodo (CERN European Organization for Nuclear Research)
Dr. Babasaheb Ambedkar Technological University (IN)
Artificial Intelligence in Healthcare and Education
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Agentic Pharmacy AI: A Multi-Agent Framework for Autonomous Prescription Handling, Safety Policy Enforcement, and Proactive Refill Prediction — Umar Farooq Shaikh, Mehboob Hafiz Baig · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS