Run the chain, resolve the queue.
Start a study run with one command, then work through the review queue: each item arrives with the evidence that was found and the reason it was not enough.
ClinicalProtocol, Collection, SDTM, ADaM and TLF
in one self-hosted package.
Clinical development runs from the lead molecule to the market, through years of studies that each produce documents, data and the analyses a regulator reviews. Aifolks is building the Clinical Development Platform one module at a time, each module taking one stage of that work.
A study’s protocol, CRF and raw data go in. SDTM, ADaM, Define-XML and the analysis tables come out, each value traceable to its source. The people who sign off review what the module could not settle.
Select any cell in an analysis table and the module shows the chain behind it: the ADaM derivation, the SDTM mapping, the CRF field, the standard that justified each step, and the model call that proposed it.
Values illustrative.
The selected cell, baseline mean for the low dose, 24.4, is the example the rest of this page follows: what the model knew when it proposed the chain, which agent produced each link, and what the record holds.
The module does the repetitive work. People make the decisions, with the evidence in front of them.
Start a study run with one command, then work through the review queue: each item arrives with the evidence that was found and the reason it was not enough.
Inspect derivations and mappings, trace any output value back to the CRF, and open the exact standard passage behind each decision.
Every model call is in the ledger with its digest, seed and evidence ids, and a run can be replayed from a clean state.
Patient data cannot leave the organisation that holds it, so the model runs on that organisation’s own GPU, and every answer it gives carries the evidence behind it.
A fine-tuned open model that runs from your own GPU server, from a single workstation to a department server. Patient data never leaves the machine.
CDISC standards, controlled terminology, therapeutic-area guides and the organisation’s own conventions sit in a versioned local index the agents search. The model learns how to reason, and when to abstain.
Each mapping, derivation and answer cites an evidence id that resolves to a page, a variable, a codelist term or a guide passage. Guard code refuses anything it cannot verify.
Five stage agents use the model to produce the outputs, each reading what the previous one settled. Guards written in code check everything they propose, and a deterministic layer generates and runs the programs.
Protocol, Collection, SDTM, ADaM and TLF agents each read what the previous one settled. Select an agent to see its inputs, its deliverables and its review gate.
Read the protocol and extract the study model: design, objectives, endpoints, populations and visit schedule, with every entity tied to the passage it came from.
REVIEW GATEA person reviews the study model and its quoted passages before the downstream agents use it.
Read the case report form against the study model and settle which fields are collected, where and in what form.
REVIEW GATEA person reviews the settled collection fields before SDTM mapping uses them.
Map each target variable with a guarded choice: map with evidence, abstain, or send to review. The deterministic layer executes the specification it writes.
REVIEW GATEA person reviews the mapping specification, abstentions and review items before the SDTM datasets are approved for analysis.
Specify analysis datasets from the approved SDTM and the analysis plan, with derivation logic that traces each analysis variable back to its source.
REVIEW GATEA person reviews populations, derivations and traceability before the ADaM datasets are used for tables.
Produce the analysis tables, listings and figures from the approved ADaM and the shells, with output checks against the analysis requirements.
REVIEW GATEA person verifies methods, denominators, results and presentation before any output is used.
Nothing is stated that cannot be shown. Every model call is recorded so the run can be reproduced, and a person signs off. The module is built to these properties, not checked against them afterwards.
The model is never the last word. Every claim it makes passes through checks written in code, and a claim that fails is refused rather than softened.
Each mapping, derivation and answer cites an evidence id. The guard resolves it to a real page, variable, codelist term or guide passage in the local stores. An id that resolves to nothing fails the answer.
When the model quotes a standard or a study document, the quoted bytes are compared with the source. A paraphrase presented as a quote is refused.
Every agent writes into a fixed output schema. A field the schema does not define, or a value outside its allowed set, is rejected before it can reach a program or a dataset.
Where the evidence is missing or ambiguous, the agent abstains or marks the item for review. The item reaches a person with the evidence that was found, and the reason it was not enough.
Every model call is recorded with its digest, seed and the evidence it used, so any output can be reproduced and any decision explained after the fact.
The evidence id behind the QSSTRESN mapping resolved to a page of the SDTMIG, the quoted passage matched the source byte for byte, and the value passed the closed schema. Had any of the three failed, the mapping would have gone to review instead of into the dataset.
What is working today and what is still ahead, stated plainly.
Protocol, Collection, SDTM, ADaM and TLF agents; deterministic R execution; Define-XML 2.1; CORE conformance; one-command reset, prepare, run and replay; the cell-to-CRF trace tool. Frozen as a tagged release on the public CDISC pilot.
SDTMIG, ADaMIG, controlled terminology, Define-XML 2.1 and the first therapeutic-area user guides, indexed locally with an evidence id per passage that resolves to its page.
Synthetic studies with ground truth, the oracle, the accepted traces and a fine-tuning pipeline proven end to end on a 4B-class model.
The chain runs today on untuned open models. The first full fine-tune on the current training set is the next milestone, and the base-against-tuned comparison is the first result that will support an accuracy claim.
The pilot chain is a working demonstration. A share of SDTM targets still abstain or go to review, and the interface is a command line with generated pages. A review interface and the first on-premise pilots follow the fine-tune.