Context Engineering for AI-Assisted Pharmacometrics: A Practical Tutorial.
Ari Pritchard-Bell, Chih-Wei Lin, William Holmes, Sameer Doshi
Amgen, Inc., Thousand Oaks, California, USA.
Key points
From the paper's conclusion- We demonstrate the approach on a synthetic population PK/PD scenario and provide the task library and implementation guide in the Supplementary Material.
Abstract
Large language models can execute pharmacometric workflows, but they make consequential domain-specific errors when task instructions lack adequate details. This tutorial teaches pharmacometricians how to define self-contained tasks that embed domain-specific rules, verification criteria, and worked examples into each step of a pharmacometric workflow. These individual tasks are then organized into a structured task library where each task runs in a fresh LLM instance (with clean context), with information passed between tasks through shared workspace files. The tutorial covers context engineering, controlling what information reaches the LLM at each decision point, along with verification layers and methods to iteratively refine the task library. We demonstrate the approach on a synthetic population PK/PD scenario and provide the task library and implementation guide in the Supplementary Material.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Automating postmarketing pharmacovigilance with large language model agentsmedRxiv · 2026
- AI for NONMEM Coding in Pharmacometrics Research and Education: Shortcut or Pitfall?CPT Pharmacometrics & Systems Pharmacology · 2025
- Pharmacolibrary: Interoperable executable models for PK, PD and PGx derived from published evidencebioRxiv · 2026
- Integrating ChatGPT into Pharmacology Simulation: A Structured Framework for Prescribing and Medication-Safety Education - A Narrative Review.Current drug safety · 2026
- Beyond Chatbots: Moving Toward Multistep Modular AI Agents in Medical EducationJMIR Medical Education · 2025
- Artificial intelligence-assisted feedback in pharmacology education: a pilot evaluation of a custom generative modelBMC Medical Education · 2026