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.
- Every version and comment goes in, dated. Protocol drafts, amendment summaries, meeting minutes, and comments from regulators and ethics boards.
- 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.
- 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.
- 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.
- The current design, for every agent. No section is drafted from a version that has been replaced.
- What changed, and why. Each change keeps the comment or decision that caused it.
- As of any date. One question answers what the design was when the ethics board approved it, with the source.
- One sponsor never sees another's work. Each sponsor's memory is encrypted under keys of its own. Deleting it removes the data with its keys.
Where it helps
| Moment | Without a memory layer | With localmem |
|---|---|---|
| Drafting after an amendment | An agent may draft from an earlier version | Every agent drafts from the amended design and cites the amendment |
| A question from a regulator or ethics board | Search versions and emails by hand | What the design said on that day, with the document |
| A new person joins the study | Read months of drafts and minutes | The current design and how it got there, in one answer |
| Many sponsors on one platform | Separation built and tested by the product team | Each 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:
- Drafts that match the current design. After each amendment, sample the agents' drafts and count the sections that still use a replaced value.
- Time to answer an as-of question. Minutes to show what the protocol said on a given date, and which comment changed it.
- Rework per amendment. Corrections needed because a document or agent used an older version.
- Separation between sponsors. With two synthetic sponsors, no answer for one shows anything from the other.
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
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
- Design documents, not patient records. This use is about protocols, plans and the comments on them. Patient-level data is not part of it.
- Your workspace stays the record. The documents stay where your team keeps them; localmem is the memory your agents ask.
- Your agents, your model. localmem holds and finds the memory; your agents write with the model you choose.
Sources
- 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.