PharmaAgent: a real-world evaluation of high- and low-autonomy agentic systems for inpatient vancomycin dosing
Vancomycin has a narrow therapeutic window requiring individualized dosing and repeated monitoring, a process health systems delegate from physicians to pharmacists for consistency. We silently deployed PharmaAgent, LLM-based vancomycin dosing agentic systems, at Stanford Hospital for two months and compared high- and low-autonomy configurations, each with and without institutional guidelines. Across 403 dosing events in 316 patients, mean absolute percentage error against the treating pharmacist's order was 21.8% with high autonomy versus 37.8% with low autonomy, and recommendations were within 25% of the order in 73.4% versus 50.9% of events (P < 0.001); a second pharmacist was within 25% in 90.2%. Pharmacist review of 196 out-of-tolerance recommendations found a safety concern in 65.8%, more often with low autonomy (odds ratio 2.37). A higher-autonomy agent that self-debugged its intermediate steps proved more robust than stricter engineering, but neither configuration is ready to dose patients without pharmacist oversight.
Authors
- Chidiebere Akusobi (ORCID: https://orcid.org/0000-0002-1611-0015)
- Samaneh Pourali
- Kameron Collin Black (ORCID: https://orcid.org/0000-0002-3696-4050)
- Stephen P. Ma (ORCID: https://orcid.org/0000-0003-3738-9569)
- Jonathan H. Chen (ORCID: https://orcid.org/0000-0002-4387-8740)
- Michael A. Pfeffer (ORCID: https://orcid.org/0000-0002-8958-0843)
- Jason Hom (ORCID: https://orcid.org/0000-0002-8404-5796)
- Timothy Keyes (ORCID: https://orcid.org/0000-0003-0423-9679)
- Mingyang Li (ORCID: https://orcid.org/0000-0002-5782-3310)
- Lina Meng (ORCID: https://orcid.org/0000-0002-6874-7798)
- Andrew Y. Ng (ORCID: https://orcid.org/0000-0001-5547-3196)
- Yixing Jiang (ORCID: https://orcid.org/0000-0002-3569-014X)
- I. Mohiuddin
- Jenna Reisler
Institutions
- Stanford Health Care (US)
- Stanford Medicine (US)
- Stanford University (US)
Publication Details
- Journal
- medRxiv
- Published
- 2026-10-29
- DOI
- https://doi.org/10.64898/2026.10.23.26365968
- Primary Topic
- Artificial Intelligence in Healthcare and Education
- Type
- preprint