PMxAgent: An Agentic Platform for Pharmacometrics

IF 2.8 3区 医学 Q2 PHARMACOLOGY & PHARMACY
Peter Bloomingdale, Antari Khot
{"title":"PMxAgent: An Agentic Platform for Pharmacometrics","authors":"Peter Bloomingdale,&nbsp;Antari Khot","doi":"10.1002/psp4.70325","DOIUrl":null,"url":null,"abstract":"<p>AI agents are transforming computational workflows, yet pharmacometric analyses remain manual, relying on significant data wrangling, custom scripts, and specialized software. We present PMxAgent, an open-source agentic platform for developing and deploying specialized agent-callable pharmacometric tools. The platform uses Docker to orchestrate an R-based API server alongside a Python-based model context protocol (MCP) server, which automatically generates agent-callable tools from OpenAPI specifications, making pharmacometric functions discoverable and usable by AI agents. To exemplify pharmacometric applications, five tools were developed: non-compartmental analysis (NCA) using PKNCA, exposure-response (ER) modeling, pharmacokinetic (PK) simulation using mrgsolve, data standardization (DATA), and generation of population PK datasets from the nlmixr2lib model library (LIBRARY). As a proof-of-concept case study, PMxAgent orchestrated a multistep pharmacometric workflow, consisting of a PK simulation of 60 subjects across three dose groups, NCA to derive individual exposure metrics, and ER analysis. To evaluate analytical accuracy and reproducibility, the agentic NCA workflow was benchmarked against four frontier AI agents across 182 drugs and 1820 simulated subjects, using PKanalix as reference. PMxAgent's NCA accuracy (98.3%) matched or exceeded that of all frontier agents evaluated. PMxAgent produced deterministic, reproducible results in contrast to GPT and Claude agents that performed NCA by generating new code each run. PMxAgent was demonstrated using two MCP-compatible AI agents (Cursor and Claude Code) and is designed to integrate with any AI agent supporting the MCP protocol. PMxAgent provides an extensible foundation for integrating pharmacometric tools into human-supervised AI-driven workflows while ensuring reproducibility, transparency, and detailed documentation required for model-informed drug development.</p>","PeriodicalId":10774,"journal":{"name":"CPT: Pharmacometrics & Systems Pharmacology","volume":"15 10","pages":""},"PeriodicalIF":2.8000,"publicationDate":"2026-09-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1002/psp4.70325","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"CPT: Pharmacometrics & Systems Pharmacology","FirstCategoryId":"3","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/psp4.70325","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"PHARMACOLOGY & PHARMACY","Score":null,"Total":0}
引用次数: 0

Abstract

AI agents are transforming computational workflows, yet pharmacometric analyses remain manual, relying on significant data wrangling, custom scripts, and specialized software. We present PMxAgent, an open-source agentic platform for developing and deploying specialized agent-callable pharmacometric tools. The platform uses Docker to orchestrate an R-based API server alongside a Python-based model context protocol (MCP) server, which automatically generates agent-callable tools from OpenAPI specifications, making pharmacometric functions discoverable and usable by AI agents. To exemplify pharmacometric applications, five tools were developed: non-compartmental analysis (NCA) using PKNCA, exposure-response (ER) modeling, pharmacokinetic (PK) simulation using mrgsolve, data standardization (DATA), and generation of population PK datasets from the nlmixr2lib model library (LIBRARY). As a proof-of-concept case study, PMxAgent orchestrated a multistep pharmacometric workflow, consisting of a PK simulation of 60 subjects across three dose groups, NCA to derive individual exposure metrics, and ER analysis. To evaluate analytical accuracy and reproducibility, the agentic NCA workflow was benchmarked against four frontier AI agents across 182 drugs and 1820 simulated subjects, using PKanalix as reference. PMxAgent's NCA accuracy (98.3%) matched or exceeded that of all frontier agents evaluated. PMxAgent produced deterministic, reproducible results in contrast to GPT and Claude agents that performed NCA by generating new code each run. PMxAgent was demonstrated using two MCP-compatible AI agents (Cursor and Claude Code) and is designed to integrate with any AI agent supporting the MCP protocol. PMxAgent provides an extensible foundation for integrating pharmacometric tools into human-supervised AI-driven workflows while ensuring reproducibility, transparency, and detailed documentation required for model-informed drug development.

PMxAgent:药物计量学的代理平台。
人工智能代理正在改变计算工作流程,但药物计量分析仍然是手动的,依赖于大量的数据整理、自定义脚本和专门的软件。我们提出了PMxAgent,一个开源的代理平台,用于开发和部署专门的代理可调用的药物计量工具。该平台使用Docker与基于python的模型上下文协议(MCP)服务器一起编排基于r的API服务器,该服务器根据OpenAPI规范自动生成可调用代理的工具,使AI代理可以发现和使用药物测量功能。为了举例说明药物计量学的应用,开发了五种工具:使用PKNCA的非区室分析(NCA)、暴露-反应(ER)建模、使用mrgsolve的药代动力学(PK)模拟、数据标准化(data)以及从nlmixr2lib模型库(library)生成群体PK数据集。作为一个概念验证案例研究,PMxAgent设计了一个多步骤的药物计量工作流程,包括三个剂量组的60名受试者的PK模拟,NCA得出个人暴露指标,以及ER分析。为了评估分析的准确性和可重复性,以PKanalix为参考,对182种药物和1820个模拟受试者的四种前沿人工智能代理进行了代理NCA工作流基准测试。PMxAgent的NCA准确率(98.3%)达到或超过了所有被评估的前沿agent。与每次运行生成新代码的GPT和Claude代理执行NCA相比,PMxAgent产生了确定性的、可重复的结果。PMxAgent使用两个兼容MCP的AI代理(Cursor和Claude Code)进行演示,旨在与任何支持MCP协议的AI代理集成。PMxAgent提供了一个可扩展的基础,可将药物计量工具集成到人工监督的人工智能驱动的工作流程中,同时确保可重复性、透明度和模型知情药物开发所需的详细文档。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
5.00
自引率
11.40%
发文量
146
审稿时长
8 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书