Clinical research Example Memory API · 6 min read

Trial design agents that know the protocol as it stands

A protocol changes for months: the dose, the endpoints, who can enrol, every comment from a regulator or an ethics board. Here is how a trial design product keeps every one of its AI agents working from the current design, and lets each sponsor show what the design was on any date and why it changed.

This is an example of how the Memory API fits this kind of product, not a case study of a named customer. Industry figures are linked to their sources at the end; the numbers we quote as measured are ours; the time saved is arithmetic you can redo with your own figures.

The situation

Picture a company that offers AI agents for designing clinical trials to biotech sponsors and research organisations. One agent drafts the protocol, another checks the statistical analysis plan, another writes the investigator's brochure. Over six months the protocol goes through two amendments: after a safety review the dose cap is lowered, and later an eligibility rule is widened to speed up enrolment. Each change has to reach every document, and every agent has to work from the new version.

Amendments are common and expensive. In a study by the Tufts Center for the Study of Drug Development, nearly 60% of protocols had at least one substantial amendment, and nearly half of those amendments were judged avoidable. The median direct cost of one substantial amendment was 141,000 US dollars in Phase II and 535,000 in Phase III, and amended studies ran about three months longer.1

localmem does not design the trial; the sponsor's team does. What it removes is the work around each change: agents drafting from an older version, and people searching drafts and emails to show which comment changed what, and when.

What they build

The company keeps its own product, agents and document workspace. localmem is the memory the agents ask, reached from the product's backend. Each sponsor, or each study, has its own memory, kept apart from every other.

  1. Every version and comment goes in, dated. Protocol drafts, amendment summaries, meeting minutes, and comments from regulators and ethics boards.
  2. localmem turns them into facts. "Dose cap: 200 mg, lowered from 400 mg after the safety review of 12 May." "Eligibility: performance status 0 to 2, widened from 0 to 1." Each fact keeps the sentence and the document it came from.
  3. Every agent asks before it writes. It gets the design as it stands today, with what each item replaced, and cites the amendment in its draft.
  4. Anyone can ask about a past date. What the protocol said on the day of the ethics approval or the regulator meeting, with the documents behind it.

What the memory holds

Not a pile of drafts: each study's design, as it stands and as it stood.

Dose cap: 200 mg
Dose cap: 400 mg
Changed 12 May 2026, from "Safety review committee minutes". 400 mg held from the first draft on 3 March to 12 May.

Where it helps

MomentWithout a memory layerWith localmem
Drafting after an amendmentAn agent may draft from an earlier versionEvery agent drafts from the amended design and cites the amendment
A question from a regulator or ethics boardSearch versions and emails by handWhat the design said on that day, with the document
A new person joins the studyRead months of drafts and minutesThe current design and how it got there, in one answer
Many sponsors on one platformSeparation built and tested by the product teamEach sponsor's memory kept apart under its own keys

How you would measure it

A pilot runs on a synthetic protocol taken through two amendments, so it needs no study data. Four measures, each taken before and after:

What it could save

Say each amendment takes four people three days to carry through every document and check that nothing still uses the old design. That is twelve working days per amendment. If agents that always work from the current design halve that, six days come back each time, and the as-of questions that used to take a search take one answer.

Sponsors and studies themselves are free. One flat plan covers them all, by what the memory reads and answers, with a pack when a busy period runs over.

The days are assumptions for the arithmetic, not measurements. Put in your own team and amendment count.

What we have measured

18 of 20questions about what was true on a past date answered right, in a trial on real meeting records
22 of 22isolation checks passed: no customer's memory showed in another's
20 of 24facts recalled in our first live customer's own check, in production

Those three are what matter for trial design: the answer about what was true on a past date is right, one sponsor's study never shows up in another's, and the facts your agents wrote come back when they draft again.

Measured by us between 30 October and 10 November 2026, not an independent benchmark.

Good to know

Sources

  1. Tufts Center for the Study of Drug Development, "Protocol amendments improve elements of clinical trial feasibility, but at high economic and cycle time cost", 14 January 2016.

Give every trial design agent the current protocol

Testing is free, always. Live, one flat plan, monthly or yearly, with your customers free and 3 months free on a year.