Home/Reasoning Demo
AI MedAgent

A medication engine that reads where a patient is heading, not only where they are.

A threshold alarm fires on a value that has already been crossed. This reads the trajectory between the moments a human is scheduled to look, using a large language model and public federal drug data that any hospital can already reach for nothing. That method is the patent. Everything else on this site exists to show it survives contact with a real electronic health record.

What AI MedAgent actually does Two hospital feeds and four public federal data sources converge on one AI MedAgent Reasoning pass, which returns an advisory and a written statement of what it could not check. A clinician reads both and decides. The clinician Reads it, and decides. Nothing happens without them. Two feeds, not one. The stream says what is happening. The chart says who it is happening to. No single source carries both. FROM THE HOSPITAL The stream Vital signs, infusion pumps, ventilator. Second by second. Simulated here. From device gateways in a hospital. The chart Allergies, problem list, home medications, baseline labs. Live. Epic, Oracle, MEDITECH. Measured, not asserted. AI MedAgent Reasoning Not a threshold. Not a rule. A reading of the trajectory this patient is on, taken between the moments a human is scheduled to look. A large language model, in the cloud. Patent pending. US provisional applications filed 2026. WHAT COMES BACK The advisory The risk now, not at a limit already crossed. The reasons, traceable to their source. Options, for a person to accept or reject. And what it could not check Every call states how many of the eight standard medication safety checks it was able to perform, and names the rest. This half is the point. PUBLIC FEDERAL DATA · FREE, OPEN, PAID FOR ALREADY RxNorm / RxClass What the drug is, and what class it belongs to. openFDA What has gone wrong with it, across the population. DailyMed The approved labeling, for every drug on sale. ClinicalTrials What is being studied right now. No patient information leaves the hospital in this design. It is advisory. A person is always in the loop.

Scroll the picture sideways to see all of it.

Hospital data on the left, public federal reference data underneath, one AI MedAgent Reasoning pass in the middle, and a clinician who decides.

What you are probably thinking

Everyone in this business has heard a promising demonstration before. Here are the five objections that come up every time, and what was actually measured against each one.

“Have you ever actually tried to use FHIR?”

Yes. Two certified production APIs, authenticated and read this month, and the results are published rather than summarized.

Epic grants system/Condition.read in the token and then answers that read with HTTP 403 and a zero byte body. The reason came out of an error string on a different endpoint: Epic authorizes below the OAuth scope, at sub-resource level. Their documentation does not say so. It was found by measurement.

See exactly what each vendor served and refused

“Sandbox data is clean. Real data is not.”

Sandbox data is worse, and that turned out to be useful.

In Oracle Health’s open sandbox one patient’s recorded weight moves from 87.543 kg to 49.895 kg in one second, and 63% of her weights are an exact whole number of pounds. Epic’s densest hour is the same four normal values filed seven times in eight minutes, height included. Both were served by a certified API with no warning attached.

No threshold check catches either one. 45 kg and 89 kg are both plausible weights and 37 °C is a normal temperature. Only something reading the trajectory notices, which is the whole argument.

See the integrity screen run

“Language models make things up. You cannot put one near a medication.”

Correct, and that is why the second output exists.

The engine states, on every single call, how many of the eight standard medication safety checks it was able to perform and names the ones it could not. On the Oracle record that number is two of eight. When its allergy screen returned 775 text matches, it printed none of them and said why: a screen returning that many alerts has stopped being a screen, and the number is evidence about the method rather than about the patient.

An engine that reports its own blind spots is checkable. One that does not is a brochure.

See the coverage statement

“Public data cannot replace a licensed drug knowledge base.”

Also correct, and the site says so rather than papering over it.

The socket for a commercial drug knowledge base is built and deliberately empty. Calling it throws DRUGKB_NOT_CONNECTED, in public. All eight screening classes are named on the page, and the ones running on public data alone are marked apart from the ones sitting dark.

Public sources carry this a long way. The page states precisely where they stop.

“It will never fit a real clinical workflow.”

It is CDS Hooks, a published HL7 standard, live at aimedagent.net/cds-services. Any electronic health record that speaks it can call it, and building a service requires nobody’s permission.

On the evidence page the final step of the sequence is not a replay. It is a live call made from your own browser to the deployed endpoint, and the card that comes back is the card a clinician would see in the order screen.

Run the sequence

AI MedAgent
Continuous medication oversight for the critically ill

Below is the working demonstration, open to anyone. One critically ill patient across a compressed encounter, with AI MedAgent Reasoning running between the scheduled human checks. Every device at the bedside feeds an interface engine, and a gateway streams that data with identifiers removed.

1 Select a case.
2 Press Start. The simulated patient's numbers move. At each alert, AI MedAgent Reasoning runs live, in the cloud, over the exact values on screen and over four public federal drug-safety sources fetched at that moment. Each alert says whether it was generated live, and shows the federal evidence it read, with the source URLs.
3 If a risk is found, the encounter pauses. Read the reasoning, the evidence behind it, and the list of what it could not check.
4 Press Resume. The encounter continues to the next event.
New30 September 2026

A registered Oracle Health app, with device data from the cloud.

AI MedAgent now reads Oracle's FHIR servers as a registered app and takes live device data from an OpenBedside gateway running in the cloud. The pump is simulated and the patients are synthetic; everything else is real, and you can check it. What is real, and how to check · All changes, dated

Open to anyone, capped daily. A research demonstration of a patent-pending method. Advisory only. Not a medical device. Not for clinical use. Patient shown is synthetic.
AI MedAgent · continuous oversight
06:00encounter start
SIMULATED PATIENT · LIVE AI REASONING
checking
Technical datasheet FSD ENGAGED

Laboratory

78F · septic shock, AKI on CKD3
On lisinopril, furosemide, norepinephrine drip. New order: spironolactone. Ventilated. Kidneys failing.

Vital signs

CPOE
Pharmacy
Dispensing
Ventilator
Smart Infusion Pump
Vital Sign Monitors
Labs / Radiology
EHR Interface Enginenormalizing HL7 v2, FHIR R4, and IHE PCD into one patient stream
gateway · ingesting real-time patient data
›
AI MedAgent
Claude · cloud reasoning
›
AI MedAgent · monitoring
The agent is reading the stream. When it detects a risk to this patient's outcome, its reasoning appears here and the clock pauses.
9:41●●●● ●
‹MedAgent alerts
Patient in scopesimulated encounter, not started
No card yet. Cards appear here as the agent finds something, and they stay for the rest of the encounter.
AlertsChartSign
0 cards this encounter

This is the part that reaches a human

Everything in the panel above is the reasoning. This is the sliver of it that actually arrives, on the device of whoever is covering at the time. CDS Hooks caps a card summary at under 140 characters, so that is the budget, and every card prints what it spent.

The consult note is not thrown away. In a real deployment it sits behind the card’s links entry as a SMART launch, which the clinician taps when they want it. On this page, the panel above is that launch.

Cards accumulate for the whole encounter, deliberately. By the end of a shift this is the pile, and the pile is why most alerts get dismissed unread. Anything added to it has to earn the space.

The CDS Hooks response behind these cards
Start the simulation. The cards and this JSON fill in together.
What you are watching: the patient timeline is a labeled clinical simulation. At each alert, AI MedAgent reasons live over the current state plus real federal drug-safety data, grounded in clinical thresholds checked against published literature. Simulation of the patient, live reasoning by the agent. A validated preliminary read shows first while the live reasoning runs.