DIRECTING THE MODEL: AGENTIC AI FOR PHYSIOLOGICALLY BASED BIOPHARMACEUTICS MODELING - SIMULATIONS PLUS INC
Hello, and thank you for joining us. I am Becky Graves, Senior Director of GastroPlus Scientific Product Enablement at SimulationsPlus, and I'll be moderating today's webinar. In this webinar, presenters Priyata Kalra and Neil Miller will demonstrate how the Gastroplus agent shifts the focus from learning the interface to doing the modelling, with case studies tackling common formulation questions and makes the case that AI literacy and human judgment stay at the heart of the work while the co-scientist assists. A little bit about our presenters today. Neil was formerly a DMPK scientist for many years at GSK before finding a passion for mechanistic PVPK modelling. He loved GastroPlus so much he joined the company to live and breathe the development and the application of the software. Dr Priyata Kaur is Simulation Plus's AI product manager where she drives the co-scientist experience and the Turin AI native MIDD engine. She keeps LLMs on orchestration duty and leaves the maths to the validated PVPK engines. She has modelled drugs and chemicals both in pre-clinical species and humans as well as compounds in plants and she contributes at the European Commission's NAMS roadmap. Her mission is to reduce animal testing and develop smarter models. A few housekeeping items before we begin. We take your privacy rights very seriously. By registering for and attending this event or by participating in the Q&A session you are allowing us to contact you for follow-up. You may ask questions via the Q & A panel on your dashboard at any time if you need assistance please use the hand raise icon and we'll address all questions during the q a after the presentation as i now hand over to pre to start the presentation thanks thank you very much becky um okay let me share my screen i hope everybody can see my screen Yes, perfect. Thanks Pri. Okay, thank you. Hi all, very welcome today to our webinar on Agentech PBBM. We are going to talk about directing the model using Agentec AI for PBBM applications through our new platform called Composer, in which we will have cash surplus agent being displayed to you by neil our aim for the upcoming half an hour is to first of all understand ai literacy and ai in regulation what really happens when ai is used well inside the fda ema or ich govern environment we are also going to talk about how this applies to your modeling work you will see from neil's demo on the cash plus agent and composer very practical patterns of bringing an agent into your everyday pbm tasks and then we are also going to talk a bit about trust and how do you validate agentic outputs so that they hold up to the scientific and regulatory review that we all need to defend for it's no doubt that ai is changing how modelers are working but only um when they are controlled contextualized and validated should you be able to see good value of them in your workflow so very quick agenda is we are going to talk about new framework that we at simulations plus truly believe in and that is the framework of modeling in the loop uh we talk about we will kind of context this framework to you we are going to talking about where the time goes and how this uh with the determ modeling in the loop with deterministic engine can change the way we as scientists present our work from the modeling perspective we're going to talk on ai literacy of what an llm is what tools are and what agents are we are also going to touch point a little bit on regulatory what stays unchanged for pvpk what the ai layer adds to it and how evidence actually scales with the risk we are going to have an example case from neil on cash plus agent and then we are going to quietly discuss a bit more about the boundaries uh which we need to set because we have to be real about where certain things would be done well with the agent what stays actually in the hands of the modeler and finally as becky said you could ask questions in the q a very very quick uh introduction to pvpk and pvm for formulation scientists i think most people on this call know that pvbm links product quality attributes into in vivo absorption and pk and And in GastroPlus, we have ACAT model where gut absorption model is coupled with the whole body PVPK compartments. And that actually makes it a very powerful PVBM application software, especially most times and the most common use of PVBM applications are for VBEs, IVC, as well as for screening and food pH effects, to name a few. very quickly talking about the modeling in the loop concept and the framework the most important thing to know is at this point of time we mostly lose our time in the modeling life cycle itself in areas which are like curating data sets finding parameters in papers or through the limb systems, creating and choosing the right model is the only thing and the main task of judgment of the scientist, which tends to happen in a two to six week approximation window for being able to run and then write the report of the model. So what ends up happening is that we take a lot of time on GUIs and click paths of various tools in our workflow and have a lot manual handoff while the judgment part is actually only 20 percent of most of our time that is spent across building a model and in this regards we believe that modeling in the group is a new framework that is going to come as llms and generative ai enters into the space of modeling itself so until now the way modeling would work would be people would decide on a certain context of use a certain problem they will model things by hand and then they will decide after that model oh is this decision correct or not and then go ahead model it by hand and then do a further decision so the iterative process was more linear in nature even though we felt like it's circular in nature on the other hand what is happening from the drug product life cycle is the model was always in the the loop of the drug product life cycle. So what is changing now with the introduction of AI is the act of modeling itself because that was not in the loop. So, what ends up happening is once we have Gen AI, modeling actually becomes itself in an act which is governed by you and is existing in the group for you. So that you would use natural language to define your question. We will have certain agents which would orchestrate your work via skills and MCPs. Many of you are talking about literature extractions. You can imagine the use of connectors that you use every day. You actually pick out things from literature from there, and that could also be implemented in the form of agentic engines. And then the engine itself actually executes the work for you, and the agent actually reads the output, you govern the loop and you revise that output with the agent. So ultimately you are starting to work more and more with the patient. So the shift is actually that we as scientists are actually moving outwards. Instead of being the operators of the tool, we are actually becoming slowly, should we have good AI literacy, good people who govern actually this entire loop and thus give value from our modeling endeavor. The idea is therefore that you would keep your responsibility as a scientist and you would then delegate the execution. So as a modeler, you will have supervision and control. You would set the intention and the constraint in which the model has to has to work. You would inspect and approve those decisions. And you would also very much have the ownership of the scientific decision. What the agent would do, it would then make your operations much more faster. So for example, you would see this through Neil's work today, that it would be much more easier to set up a project from a prompt. It would be easier to execute the analysis step and also to prepare the results for reviews because many of you are also using AI in your presentation preparation. So the GastroPlus engine itself is going to be the scientific engine that's going to drive these faster operations that this particular agent is going do. So the point of that is that you will have trusted and validated results. We have put a lot of effort in doing evaluations around our products with regards to the agents. So you will see reproducible results. You would know where to trust them and what amount of inspection and approvals you need to care about. And you could then kind of work very closely with CastroPlus towards all tasks with regards to absorption questions, PUPK questions, or even like simulation and optimization questions. So what is happening is that agents handle operations. They do not change the path of the decisions and neither the science because the validated engine, which is the CastroPlus, is actually at the bottom which is computing everything that the agent is actually showing to you at the end very quickly what are llms what are the tools and what are agents um very important to understand this so that you're able to actually become an ai enabled modeler in the future a very fundamental understanding of llms is large language models are just predictors of the next token they are so they are the next tokenizer so what ends up happening is that suppose you write the sentence the patient's clearance is estimated using a dash compartmental model two compartmental models for example this dash would get filled with the word linear because linear has the highest probability distribution across the different words that might end up filling that space so the idea is given the text llm outputs are probability distribution over its vocabulary and these the samples are one token and then it repeats over that token and that's how you kind of real you realize that it is able to kind of continue and fill up the text for your words now what is a token a token is usually a piece of text it can also be a more it can either be a word or it can be like a stream of words so for example here i'm showing this with an illustration of clearance of warfarin uh so if you look for clearance of warfare ends this is now being split by the ll by the by the algorithm behind in the llms into uh clear ends of war far in and what's happening is that um the real splits here would actually depend on the tokenizer itself there are multiple online applications in which you can actually read and understand that in more detail so i would encourage you to do that but majorly what ends up happening is when such a split happens what follows from this is that the the llms seems like they have a read about clearance and um that they understand what clearance of orphan is it's not really true because they they do read clearance but they never compute one and so they don't really understand it it, then what also falls from there in our mind is that it produces what is likely to be written, which means that whatever is being written here is what you believe might be true. And that's why I like people a lot of times say, oh, it is not even giving me what I want it to give me. That's because that's not always true. And that is very much depending on how the tokenization happens and how the split happened, depending on the kind of question you ask. And the most important thing is if there's a number that's predicted, that number a lot of times people confuse that to be a predicted text. It's actually not a predictive text because there's no simulator inside it. What is actually just happening is it is finding the next probability to give you a number or a word after that particular token. And understanding all of this could help you actually understand the way you prompt the system to get your answers. Where the field actually stands at this moment is that we have lots of progress in the direction of GenAI. One is that, we have LLMs which are coming from Frontier Labs, and they are also possible to be API-related. These are just examples. Of course, things have moved much more faster. We are seeing much better models now. We have from OpenAI the GPTs as well as the codecs. Now we have Astra, for example, from Open AI. From Anthropic we have Opus, Sonnet, and Fable. From Google we have Gemini, and now we have Neon, Carbon, etc. And from XAI we have Grok. Many of you might have also heard of Grokbots. From the open-weight side of the world, we have self-hostable models, which are coming from many companies, very much dominated by the Chinese market, which is from Alibaba. We have Quen. From DeepSeq, we R1. From Zephyr, we GLMs and Kimmy. From Meta, we also have Mistral and OpenAI. of them have like llama mr large models gpt uh oss so these are all self-hostable models which means that you can actually have them deployed locally and that also changes the way you work with them and gives you a bit more privacy there's also a new layer uh emerging which is the ai for science layer in there what you are seeing is that you're seeing this gpt rosalind which has come out which is a model specifically tailored for biological reasoning. Anthropic has come up with an AI workbench called Cloud Science, which is able to do quite some regulated scientific activities. Google has come out with anti-gravity for science, where basically there's lots of extensible agent customization, parallel workflow execution available. And NVIDIA is also populating itself in an open source environment of BioNemo, where they give lots of tools around AI-driven biology and drug discovery, also have a lot to do with lab-in-the-loop workflows. So ultimately, what we are seeing at the moment is the leading three frontier labs, which is OpenAI, Anthropic, and Google are giving us lots of LLMs, and we are also starting to see more standard specs around agents. uh usually llms are because of the tokens that i showed you in the past seem to be fluent but are not reliable and there are six psychophenies that they might have um that you might seem to deal with in your everyday interactions one of them is hallucination it feels like they invent facts and seem to show perfect confidence on inventing those facts. For example, citations or mechanisms that never existed can be stated as fact by them. And these are then called hallucination. So we would advise and we always advise for you to be the human in the loop and then to have a look at things and say that, okay, this is 100% correct. Try to make the judgment call always no matter how much confidence and trust you start to end up having in the latest models because they are also very very good at reducing hallucinations there's some amount of stale knowledge because most times the training has a cutoff date so depending on the model which you are using the date in which it was trained on you would see performance differences you would see that sometimes new information guidance and literature after the cutoff are simply invisible build. So have a full look at the model that you're using for your work. They do not do calculations. As I showed before, they do prediction of digits. So arithmetics is actually a token and not really a computation. Psycho-fancy, they agree often too much. People-pleasing is their biggest trait. And they tend to confirm all the framing that you would give them. So So try to nudge them to be adversarial on those things. You can also see an inconsistency. What would end up happening is you have seen input, but if you do that multiple times, you would end of seeing different outputs. And sampling is very important in such a situation so that you are able to understand where the reproducibility problem lies. Long-tail domains like us and our domain, like, for example, PVPK, are very underrepresented topics, and they generally fare worse than other topics when you talk to LLMs. So, for ejemplo, gastroplus conventions and niche mechanisms are not kind of there fully understood in the training data because whatever they have trained on is on the Internet, and the error cluster actually lie there. So, none of these problems are actually fixed by having a bigger and a better LLM. How they're fixed by is majorly having a good engineering system around it, and they are fixed by something called context, tools, and also the validation. So, a tool is where actually a real computation happens, which happens outside the model. So, you would end up seeing in these presentations certain tool calls to CastroPlus. So what kind of a little bit very upward explanation of this is, suppose you ask a tool, suppose there's a script which kind of gets weather from a certain website for you, you ask that tool, should I bring jacket to Paris that is passed through the LLM as a tool call, and that tool call is sent to that particular website, and then the output is gathered, and then the output is going to be the temperature and then the assistant will end up saying yes it's eight degrees in paris so please bring a jacket so you can imagine the same shape to happen inside the gastro plus you you would pass like you would say please run ketoprofen 10 milligram po tablet simulation and give me the cmax what is going to happen under the hood is there's going to be a tool call happening to gastroplus which is going to manage the run i'm going to execute the run and the simulation and gives you the answer of that and this is the reason why this is the place where all the computations sits and most times these tool calls are actually called mcps or model context protocols what is an ai agent an agent itself is a system that has a context perceives it reasons about the goal of that context using an llm takes actions via external tools which is as i showed you with a tool call and iterates upon a task until it's bounded and complete that bounding and completeness is your responsibility to give to the agent and to the llms so generally the difference between agent and chatbot is so that chatbot doesn't do any actions it just gives you text only results so when you talk to some kind of chatbot assistance you will notice that that there's no like specific call getting information from here and there and agent actually does calls getting information from here and there and retrieves those information a chatbot is just working on the training data while agent actually does live retrieval an example of this would be more clear when you will see the gastroplus agent and then compute itself is like more single inference in the chatbot because what ends up happening is you ask something it kind of like infers that question and then looked at training data gives you the answer of that inference but generally in an agent a compute is a multi-step loop because it can happen that one bounded statement of yours asks the agent to do two to three tool calls and therefore you would end up seeing a couple of tool calls run and the shape in general of a pro of a chatbot interaction versus an agent interaction differs vastly um chatbot interaction is you prompted something it replies to that prompt agent interaction is more goal driven you prompt it a bounded goal and then it loops itself to answer towards that goal so an llm alone is never the agent the agent itself is a mix of llms plus contextual tool and here's an example of that so you could say that if you write copy 70 kilogram human faster physiology and set the copy stomach to ph5 it does certain cool tool calls to gastroplus and these are all engineered by us and the outputs are then kind of all of this is happening in the loop you can see that there are multiple tool calls happening and finally the system kind of replies the copy is created the stomach ph is confirmed as five the project is not saved so say if you want to save it something like that. So very important is why and how do you understand this engineered agentic system? And how do You understand the context window? Because that is what would actually help you understand how the agent interaction is happening and why it is working. So usually what ends up happening in an agent interaction, as I said, agent is like a mix of LLMs plus the tools plus the context, you provide some system instructions. Sometimes those system instructions sit inside the harness. For example, Cloud has its own harness, which is Codex has its on heartaches. We in Composer have our own harness. That's where all the rules sit. In our case, our harness has rules which are very specific to model-informed drug discovery and development, and those rules are made in the system instructions such that it doesn't like deviate from the trust boundaries that we want it to have. Then there are things like skills, which are procedures like step-by-step instructions or things that are regular, easy to do, and those are been sitting in the skill side. Then there is tool descriptions, which is what you have seen. These are tools of GastroPlus Access itself. They are also describing what is allowed to be called and how they should be called depending on your prompt. There are documents and tool results which are sitting in your workspace, which is going to be a part of the memory and the context that the model can see. And the conversation so far, which is actually all the different conversation that you do in a particular chat and that is going to have its own memory, which is like more instantaneous memory. It doesn't stay for that long because it stays only in the context window. And actually your prompt is the only layer which exists, which you type. So there's quite a lot of engineering that sits on top of not only your prompting, but also around your prompt thing that manages and make sure that the work that you do with your agents is very productive. So, therefore, now, this might answer your question, why would we want to use an agent and not just an LLM? Because if you want just an advice, then LLMs alone are very, very good because you don't have any access to GastroPlus and you can run every step yourself with regards to just explanation and suggestions all around generic topics. For code generation, LLMs plus code do a very good job. So what you would end up seeing is many times if you ask the LLM to do code generation now, you would see them set up a Python environment or an R environment and write a script on those environments. And so that is very much possible. What is happening is that there is a large error surface because function arguments and structures are very much trained on the Internet and on the software development lifecycle styles. And therefore, you as a user will have to kind of do debugging or having a look at whether it fits your style of coding. But when you look at the agent, what is now happening is that you have a completely controlled execution. It acts through the constrained MCP tools. It reads the gastroplus output and decides the next steps. And it is guided by expert skills and tested workflows which are developed by us. So the AI reasoning is controlled over the execution and with expert knowledge, which is not only your knowledge, but also Simulations Plus knowledge that drives you to be able to deliver well your work. So how we piece it together within Simulations Plus is we piece together in our platform called Composer, which is a graphical interface with the co-scientist experience inside it. So you as a user would be ending up using Composer as a platform and the agent would live inside that platform. This is going to get clear as Neil would show you. And therefore, the MCP or the bridge of GastroPlus is going to get induced by either using any of these LLMs, which can come from the various providers, and the skills and the expert knowledge that we from SimulationsPlus scientists like Neil and Becky have curated. And that is going help you actually push for your co-scientist workflow. And with this, actually, I want to pass it on to Neil to show his gastroblast agent. Thank you very much, Priya. Let me share my screen. okay so hopefully you can all see my screen now so i have got the the task of in a few minutes showing you how the gastro plus agent could effectively do a day's work in an hour so it's bringing to life what Pree's talked about and introducing you to Composer and the GastroPlus agent. So we are simply going to start, let me get my pointer going, with, you start with a folder. So here I've got a folder on my desktop and it's got three files in it. So I have the structure of the compound midazolam, I've Got a CSV file with some PK data in it, and I have another CSV file where the properties of the molecule. And then me, or you, as the scientist is driving this via your natural language. And with the GastroPlus agent, you can literally go from the structure and data right to the model report. So that's the journey I'm going to take you through in the next few minutes. What we're going to look at specifically is translating formulation questions into live simulations. So we're gonna be looking at the impact of proton pump inhibitors, different dose levels and the effect of food. We're gonna to be doing this using the GastroPlus engine as the sole numerical truth combined with a natural language prompting. I'm not going to open up the GastraPlus user interface. I don't need to. I could if I wanted to. At any point, I could save the project and open it up within Gastro Plus. It doesn't automatically save because you might want to be opening up in a project, running some simulations and closing it down again. So you again are in control on when the project is saved or not. And you'll see I saved it at the end of the session that I was running. So what we're going to do is look at how the agent can help you set up a project, understand the compound you're modelling, then do some model verification before moving on to the model application, and then finally produce a report. So let me show you Composer. So hopefully you can now see Composer, and this is the GastroPlus agent. So in the bottom, I've got the chat. I'm not going to run all of these prompts because I say to work through these, it would take about an hour to work though everything. But I'm going to run you through this trace of what I did yesterday. So we've got the GastroPlus agent and I'm using the LLM of Claude. You could be using other ones. You can be using the GPT, for example. The key thing is to allow all the tools. So the first time I used the GastraPlus agent, I wanted to check each time it opened up a tool. That's very, very inefficient. The best way, in my opinion, to use the agent is to allow all the tools, let it go away. And as Pree said, complete the task you've asked it to do and then come back and look at the trace to see how it's got there and what the final conclusions are. So this effectively allows you to do that gastro plus work within the hour. But most of that hour, you could be doing something else because you're directing the agent to do the work for you. You could be going off answering a few emails and then coming back to composer when it's completed that that specific task that you've given it so here i started off by asking the agent to create a gastro plus project titled formulation and i wanted it to createa specific folder you saw within that folder that i created only had three files so now i'm asking it to created project files directory and then it would have turned once you open up a folder within composer it turns it into a workspace that's where it's going to work for that project. So I'm asking it to create the folder in that workspace, import the molecule. I'm specifically saying I want a 22.5 year old, 68.5 kilogram healthy American female, because that's the population that I've got the PK data in that I want to use later on. Normally, when you do an admit predictor import, it would import with the human liver microsomes. I want recombinant enzymes. If I'd left it, it wouldn't have done the human river microsomes, So there are certain defaults. Obviously, if you know the software, you know which one it would default to. But if you want it to do specifically something, you prompt it to doing that. So I'm asking for the recombinant predictions of Vmax and Km for the enzymes that metabolize midazolam. And then I want to have a seven and a half meg tablet formulation. I want a PPPK model. I could ask it to run a compartmental. I want the PPP K model. And then wanted to run the simulation, produce the concentration in plasma with respect to time. time, give me parameters such as FA, which I would get from GastroPlus, but I'm also asking it to give me FG and FH. So they're not routinely generated with Gastro Plus, but they can be calculated from FDP and F. So I'm extending the functionality, if you like, of Gastro plus by asking for other parameters that aren't routinely generated by the software. Then I press enter and away it goes. So first it activates those skills. So skills are the instructions, the context than the know-how to complete the task. So if I open this up, I can look at any of this and I can see which skills it's activated. So it's activated the project lifecycle. Makes sense because I've asked it to create a project. So I could go through these individually. That's not the best use of your time when you're using the agent. You can see that green, done, everything great. So then we can move through. So he's looking for the file. It's found the structure. So if i hadn't put the mold file in there, it would stop at this point and say the structure is not in there so it will interact with you it's then open the project it's telling you everything that it's doing every step of the way so to set up an admet predictor import it needs a physiology so it's setting that up and then it's hit a problem here so you can see that it is not hiding the fact that it has had an error something has failed it will self correct so it has got a problem here with setting up the physiology and it said the create doesn't take the full payload let me create minimally then update the demographics so then it passed so i always look to see if it's failed as it then passed at the next step for what it failed previously so yes it's passed on the managed physiology it still had some problems and then it's realized that it needs to feed it in one property at a time so it's always checking correcting and flagging up if there's been an issue so then here there was another managed physiology failure but then it's passed at the next step. Here we can now see it's created the PPPK tissues from the paired physiology, so the population estimates of age-related physiology. It's configured the physiology so you can see what it's doing every step. Hier it's gone for the recombinant enzymes and it's turned off the microsomal intrinsic clearance. So it's very, very clear what it is doing. So I'll skip down to the bottom here and this is the plot that it's generated for me. Now it does save all of the files. So we could go and have a look at that plot if we wanted to. So I could go into files and then look into this section generated plots and have a look those individual plots within here. So these are all the plots that have been saved within the session. As you'll see, we're going through the different prompts. You'll see what the prompts relate to in terms of the plot that it generates. So, I could look at those files if I want. Let me just click on this one for now. It would open up another panel on the right-hand side so I've got I can hone in on those plots but they are available as PNG files I'll close that down to keep all of the main real estate on the screen and then once it's completed it will give you a summary so it's telling me what it's done which is obviously what I asked it to do so it set up a project called it formulation it saved it in project files you've got the human physiology 22.5 years 7.5 mig tablet dosing orally we've got them all file coming in with the pvpk model etc etc it's telling you exactly what it's done and then it's giving me the feedback from running the simulation so i've got a hundred percent fraction absorbed i'm losing a little bit across the gut and losing a Little bit across the liver so my bioavailability is just under 80 percent it's Telling me where it this put the plots where it's generated in these csv files it's warning me that it hasn't saved the project so that's setting up the project now i want to get some help understanding the compound. So quite simply, in natural language, I'm saying, what's driving the absorption? So I don't need to go into the key view and look at the regional absorption plot or the dissolution absorption plot. I don'T need to GO INTO THE DEEP VIEW TO LOOK AT ALL OF THE DIFFERENT STATE VARIABLES. It does it all for me. So if we have a look here, it's pulling the absorption mechanisms. It's looking at transcellular versus paracellular. And very quickly, it feeds back that absorption is essentially complete and fast tells me how much was dissolved how much is absorbed it's going through each of the steps and then it's finally telling us what's limiting that bioavailability not the absorption but the bioavaiability that's due to that first pass in the gut and the first pass in the liver and then It will give you a short summary at the end the absorption is driven by midazolam's high permeability rapid complete dissolution and it's also thinking around the topic as well because if you just looked at maybe some of the the dimensions list numbers like dose number you might have thought it would be limited by solubility but it's not in this case has been borne out by the simulation so it's really taking everything that you could have done within the gastro plus interface itself looked in various different places pulling it all together neatly packaging it for you just being prompted by natural language and I think most people on this call are actual biopharmaceutical scientists but with the agent you can become a DMPK scientist for a moment because you can say well what's driving that systemic distribution so this is the next prompt that I've given it here then it's going to go through and answer that question have a look at the volume of distribution it's pretty high so it's a large volume distributing out of the plasma we've got a perfusion limited PBPK model it's binding to the neutral lipids and phospholipids you don't get that level of granularity in any other commercially available software platform for pbpk but here it's telling you what's driving it's looking we've got the distribution dashboard now in gastropras so it's leveraging that it's looking at what the compound is binding to when it's answering that question of what's driving distribution another term that dmpk scientists would look at oh i should say that it's also looking for caveats it's worth flagging that this predictive volume is higher than the literature value from a dazzle lab so it'S not just doing what it's you've asked it to do it'S thinking around that it's informing you and helping you get more efficiently to a better model a higher quality model by using all of the functionality that is in gastro plus so we could then ask what's driving the elimination and it will go through a similar process looking at what's drivering that elimination and giving you a nice detailed analysis of where the compound is being metabolized so a lot in the liver and a lot in the gut for that first pass so that's really sort of understanding the compound and now we want to kind of probe a little bit deeper a question that formulation scientists often ask is well how how are the permeability and the solubility interacting to affect the absorption so here i've run i've asked it to run across psa and then it's generated the plots here again i could look at these plots by going into the files area in bigger detail or in closer detail but it's then given us a summary of the the solubility is not really limiting it's more about the permeability so if we look at at here this is the change in permeability we're only seeing a change in color as we go from left and right in the permeabilty there's no change down the column as the solutability is changing or very little change so it's summarizing those results as well as running the psa i'm trying to cram so much in here so i'm going to have to probably increase the pace a little bit, but hopefully you'll get the flavour and the power of what the GastroPlus agent can do, because I do want to leave at least 10 minutes at the end for a Q&A. So we've now really understood the compound, done that cross PSA. Now we're going to start to bring in the observed data. So I'm asking it to copy the compound that it created on the ADMET predictor import and use the measured data that I have in that CSV file. So, I've only got enzyme kinetics for 3A4. So I want it to just use those and remove any metabolism that's predicted for other CYP isoforms in the compound that I'm creating. I want us to still use the lipid adjusted fraction unbounding plasma. It probably would always do that by default anyway, but I want to make sure that it does. So if you want to make Sure, then specify that in the prompt, run the simulation recalculate the kps we reduce reproduce the plot with the the parameters that we asked for before so i've not repeated those because i've already said that it can go back and look within this session to see what i'd asked for in that first prompt when i was looking for fg fh etc so then it's running through all of those steps it's got the full picture um it's looking at what metabolisms and metabolism enzymes are in there which ones it needs to remove etc etc and then at the bottom once it's finished we'll get the plot and then we've got the summary here and there will be some advice on here around it being more realistic because it's going into the literature and it's looking at what the bioavailability is for midazolam so we've now created a simulation with some measured input data now let's load in the measured observed data to to kind of qualify and get some help on the predictivity of the cp time profile against that observed data. So asking it to take the data, set up an observed data group, link it to the simulation and basically give me some help if the prediction is poor. So again, it's going to run through the steps, highlighting if there's any failures, self-correcting, but being very transparent on where it's had an issue. Then we get to the predicted versus the observed, which doesn't look too bad. And it's telling you what it's done. It's looking at predicted versus the observed. And then I asked it to give me Some help. It said that the absorption, it looks like the absorption your distribution and your clearance look okay so focus on that absorption look at slowing it down i'm the scientist i'm still in control i know this is a lipophilic compound i already had that feedback from the distribution so if that's driving the distribution it's also probably going to be leading to some binding in the enterocytes so i've then asked it to use the fraction unbounding plasma which was the measured value as the fraction unbounding enterocites in the GI tract and see if that improves the prediction. So it would then enter that one value across all of the nine ACAT compartments. And you can see we've got a much better prediction and it's telling you what's changed and the impact of that. So it's helped me set up the model. It's helped build the model, it's help me refine the model now we're ready to use it in an application in those questions that I posed at the beginning a short while ago. So here I wanted to create simulations for different pHs. Let's look at the effect of the potential impact of a proton pump inhibitor, I've selected 3, 5 and 7 as pHs. So it will go away and as Priyata highlighted in her presentation, it will create physiologies and change the stomach pH for these three different conditions to 3,5 and 7 from the original 1.3. Again, it's telling you what the original is. So if you didn't know, didn't need to go into the graphical user interface, it is telling me exactly what it was and what it's changing to. If I scroll down here, you can see that those profiles are basically overlaying this one that's slightly different. And if we look in the summary, when you're getting to the highest pH, we're losing a little bit on the Cmax. There's a little bit of a delay on the Tmax. The AUC hasn't dropped too much. Bioavailability has dropped just a little bit. So basically there isn't much of an effect of the stomach pH and it's giving you that summary here and a practical takeaway. So that was one of the questions. The next question that I posed is, can you create simulations for different dose levels? So here for 25 mg, 50 mg, 100 mg, tap it formulations and compare these with the original 7.5 mg simulation. So away it goes, then it returns the plot, and then it's given me a nice summary here highlighting that we are seeing non-linearity. So when we're looking at the AUC per dose, it's almost doubled from the first to the last one. So I could look at this table, but actually telling me within the commentary here of what it's done itself and it's pointing out so yes I would advocate that you look at this to see that it makes sense but you can compare that with the the hints that it's giving you but it's already done that analysis itself so the the final one that I asked to do for this demo was then create me 10 physiologies for this 22 year old or 22.5 year old 78.5 kilogram healthy american female showing a gradual change over four hours in the ACAP model from the fed to the fasted state and i wanted to change specific parameters and also adjust the liver blood flow create a new simulation and then run that simulation to create this yourself i did do the calculations here it would involve 257 clicks in the graphical user interface, creating the physiologies, and then clicking on the individual cells to update the physiological parameters, setting up the simulation, etc. So 257, clicks, it would take, it does that all for you. It would also involve you entering 80 physiological values, which you would need to calculate yourself. So that gradual change in the four hours. So it's doing all of those calculations for you to determine those 80 values and then actually updating them for you. So, it's a massive time saving in this one fairly simple example. And then once it's created that physiology schedule, it will then run and you can see how that compares to the simple fasted state stimulation that we ran at the beginning, the change in the liver blood flow. Once you've done all this work, I've got about a minute left here to finish off this whistle stop tour of the gastro plus agent once you've finished all of that work you then obviously like a report so i quite simply said produce a report of all the modeling that includes plots input data and findings it produced this plot in less than two minutes obviously i could then get it to modify and update that report but as pre showed you in her presentation we lose a lot of time not only setting up models but actually reporting on them less than two minutes to document everything that's been done here it's created that report in the the files area here and we've got this nice markdown report of all the work that was undertaken so it's giving you the details of the project files etc it's given the measured values that were taken from that csv file and it's gone through the basic steps how it calibrated the model. This was, say, just with that one simple prompt and in less than two minutes, it's created this report. So I will pause there because we've got 10 minutes left. I think we've got one poll and we want to do a Q&A. But thank you for your attention. And hopefully that has given you a nice introduction to the GastroPlus agent. Thank you, Niamh. I am going to take two minutes more, five minutes more to just talk about regulatory aspects, because I think that would fall in well. And therefore, I would share my screen again. Okay. So as you saw from Neil, AI has started to do most of the work that we were used to doing in our everyday life. So a lot of us would then start to feel some kind of existential dread uh but actually ai will never replace you nor would it replace pbpk and that kind of adds from the regulatory concept here uh because um what is happening is ai is just adding another layer of control so the science and the midd workflow framework stay as they are because we are just adding new ways and new tools to kind of um add value to the work that we do do and the new question now is what did the ai do and how do we know what it did quite a lot of this would be clear to you from the way composer is using the cache plus agent you could see that the workspace was populating every tool call every information that's a way for you to have traceability and to be able to run something without ai if you don't have internet for example so the main important thing to realize is that the rules that already govern PUPK will and are staying unchanged. So all the different guidelines that have come around for PUPk format and content or reporting guideline or even ICH guidelines with regards to PUPks use question of interest context use as well as EMA and FDA part 11 computerized system guidelines, all of these stay the same. nothing has changed there. What we have also seen over the course of a few past few years is that 30% of FDA novel approvals from, for example, 2019 to 23 have included PUPK inside it and 78% of those analyses were actually accepted. 28% of proposed PUPk uses were qualified by EMA from 2022 to 2023. With the use of AI, you can imagine that this is actually going to increase far more. And currently, the reason why EMA would not qualify a particular model, these were very like inherent reasons which will not change with the addition of AI. This is the reason, that's the main thing that I want to share with you. For example, lack of data to assess predictive performance. If there is lack of data, AI is not going to help you fill on that. Possibly, you might end up using some synthetic information with the traditional AI and machine learning approaches, but that is something that we have been already doing, and there's already rules and ways to frameworks around it. Poor prediction of observed clinical data. Again, AI is now going to change that. A model, if it is predicting something, it is predicting something for a reason and it's your judgment and then your uh representation as a scientist to figure out what happened there concerns about a model structure this is again something ai cannot really replace you for that or replace pvpk for that what can happen is ai can definitely help you understand model structure better so it's going to increase the breadth of your reach of your work but it's definitely not gonna plug it out uh the key assumptions or input parameters were not justified these are just more reporting problems and also sometimes more um problems of like data missing as well as like model generation and hypothesis generation problems and these problems are also not going to be replaced or plugged on by ai it's actually more or ownership decision of the scientist that will justify all of these qualifications. So whether AI or without AI, these reasons of not qualifying would end up staying the same. The only difference what ends up happening is that AI just adds a third layer to your first two layers. So the first layer is the science itself, is the analysis scientifically sound, is the input, the structure, the assumption, evaluation against observed data structurally sound, that stays the way it is. The second layer is also unchanged, which is the MIDD framework. That is, how is the model being used? This is the framework of context of use, model influence, decision consequence. None of that has changed and will change generally with regards to the implementation of AI in your workflows. What changes is like layer three, which is AI specific control. So what did the AI do and how did we know that it did it? This is where some impact comes in and you as a scientist would need to stay in the judgment and the ownership of understanding that. For example, could it affect data? Could it affect code? Could it effect outputs or decisions? How verified and how documented and how controlled things are. And for all of that, we have recently seen quite some good guidances around AI come from both EMA and FDA, and most recently good AI practices, which have been given out 10 best practices from FDA EMA. So take home is model risk is one of the most important aspects to care about where you discuss about model influence and the decision consequence and the responsibility of that actually stays inside your hand as a submitter. So where can AI enter in PK model building, for example, for literature, assay, clinical PK, all these kinds of inputs are and the models and evaluations and reporting can be all the different contents. The contents around all of this is the AI contribution. So for example for literature and for assays, there's a search extract and tabulate contribution that happens and how it is checked is by you against the source. In the interest of time, I'm not going to cover all of that, but kind of come back to this slide and have a read at it and try to understand how the contribution would happen in the different layers and how you're going to check for it. And most importantly, because we are talking about model risk, we have to keep in mind that the model influence and the consequence of wrong decision can go in three different buckets with the use of AI. It can be low, it can be medium, or it can high. So, for example, if the agent screens literature and extracts value and the expert checks that before the use and documents the source and the check, then the model risk is actually low because you have passed your eye on it, judgment on it and you have accepted it. If you make machine learning predict intrinsic clearance and fraction bound to inform your first in human dose range with sentinel dosing, this is something that we have been using traditional machine learning do many, many years. And this stays in the B in the medium risk. Mostly you have to verify inputs, test the sensitivity to them and justify accepting them. them and the highest risk is you ask an agent to support waiving a clinical ddi study and the label text in this case you really need to worry about full verification validation applicability acceptance criteria analysis plan and independent review because this is really high risk so make sure that you are always looking at the model influence and model risk and the consequence of of wrong decision while you're using AI as an extra layer of evidence around your work. So finally, as you can see, what we have seen is that this is not really a black box sort of modeling. Modellers do remain in control. You can see through Neil's presentation that you could trust the calculations. You could also control the agent, so you would set intent and constraints, and you can approve each step before it runs. So nothing is saved without your intent. Can you inspect what it did? You could see that all the files were there. You could open them and have a look at them. And what if something goes wrong? So then in that case, even Neil showed you, errors are returned as visible and the agent is able to fix them too. But generally, you would be able to have full idea about that. And with this, I would like to just take a stop because I don't want to take up the full time. thanks very much pre um so the question has come in will it be added to our existing licenses and will it answer um questions relating to all existing modules so neil would you like to maybe take that one um and tell them what's coming in version one of the agent yeah sure so um it would be it's like an additional module so to to have the the agent that is uh there is a a charge for that I don't know what that is you'd have to contact out our BD colleagues but yes it will be able to help you with the troubleshooting I noticed there was a question on that and it's the the first version will include setting up projects executing projects and reporting but as you saw in the demo it does a lot more than that and does help you as well and so we're looking to refine it the cadence of release would be or will be quicker than we normally release the flagship product which is on an annual basis so ai will move a lot quicker and the question around the modules is that we are exposing pretty much all of the functionality that's in the graphical user interface via the api so that'll be picked up by the mcp so it'll be available to the agent but in the first version things like ddi won't be as refined as they will be in subsequent releases so the the specifications for the first release were set up execution and reporting although as you saw it does a lot more than that and it will do a lot more very shortly because we'll release that on a quicker cadence thank you neil we also have another question which is um i'm worried about sharing my data with the whole world should i be so i don't know who wants to take that as i'm off mute i can start with no it's bring your own keys so you would link it to your llm So if you have a corporate account, so it's a ring fenced area, then that's the LLM that you would be using. So you are in control. I don't know if Pri wants to add any more than that. But yeah, it's your LLN. So we're providing the agent and the composer platform, but it's Your LL. Perfect. Thank you so much, Neil. And so I just like to thank you all for coming. for any questions that we haven't had a chance to answer live today we will follow up with you afterwards and if you have any other questions please feel free to put them in the in the q a we do invite you to visit our website to learn more about our operating systems for ai enabled midd and for those in academia requests for academic licenses can be made through our University Plus programme and you can also find more details about that on our website. We've put all of the links to our pages on social media in the chat and the final thing to say is that we have recorded this webinar and it will be available on the website shortly so thank you once again for attending, thank you so much to Priyata and Neil for a great presentation and i wish you all a very nice rest of your day thank you bye-bye bye for now bye
- Company
- SIMULATIONS PLUS INC
- Keywords
- SIMULATIONS PLUS INC