Our flagshipClinical DevelopmentPlatformFirst module: Statistical Programming, from study documents to submission outputs.

Explore the platform

Protocol, Collection, SDTM, ADaM and TLF
in one self-hosted package.

FLAGSHIP PRODUCT
THE PLATFORMBUILT MODULE BY MODULE

The platform and its first module

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.

FIRST MODULEStatistical ProgrammingThe biometrics outputs a submission requires, produced from the study’s own documents and data.
INProtocol, CRF, raw dataThe study as it is, with no reformatting first.
OUTSDTM, ADaM, Define-XML, tablesEvery value traceable to its source.
WHEREYour own GPUSelf-hosted. Nothing leaves the machine.
THE FIRST MODULE

Statistical Programming.

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.

THE OUTPUTILLUSTRATIVE VIEW

Every value,
one click from its source.

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.

Aifolks Clinical · CDISC pilot study · TraceLOCAL · OFFLINE
PRIMARY EFFICACY TABLE
ParameterPlaceboLow doseHigh dose
n798184
Baseline mean24.124.421.3
Change at week 242.52.01.5

Values illustrative.

  1. TABLEBaseline mean, low dose
  2. ADAMADQS.BASEDerivation: value at the baseline visit
  3. SDTMQS.QSSTRESNMapped with evidence · SDTMIG passage
  4. CRFAssessment page, total score
  5. LEDGERModel callDigest, seed and evidence ids recorded
ONE CELL, FOLLOWED THROUGH THIS PAGE

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.

WHO USES IT

Built for the people
who sign off.

The module does the repetitive work. People make the decisions, with the evidence in front of them.

STATISTICAL PROGRAMMERS

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.

BIOSTATISTICIANS AND REVIEWERS

Check the logic, open the source.

Inspect derivations and mappings, trace any output value back to the CRF, and open the exact standard passage behind each decision.

QUALITY AND AUDIT

Reproduce any run.

Every model call is in the ledger with its digest, seed and evidence ids, and a run can be replayed from a clean state.

Bring the module to your own studies, on your own GPU.Discuss an on-premise pilot
WHERE IT RUNSNOTHING LEAVES THE MACHINE

A sovereign model.
Nothing leaves the machine.

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.

The model runs
where the data is.

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.

Skill in the weights,
facts in the stores.

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.

Every decision carries
evidence you can open.

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.

THE MODEL AT WORK

The agents.

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.

INSIDE THE MODULE

Five stage agents,
one pass through the study.

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.

AGENT TASK

Build a quoted study model from the protocol.

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.

CONTEXT & INPUTS
  • Protocol
  • Study objectives
  • Visit schedule
DELIVERABLE TYPESCLOSED SCHEMA
  1. Study designQuoted design entities, each tied to its protocol passage
  2. EndpointsPrimary and secondary endpoints, each tied to its passage
  3. PopulationsAnalysis populations, each tied to its passage

REVIEW GATEA person reviews the study model and its quoted passages before the downstream agents use it.

TRACEABLE · REPRODUCIBLE · REVIEWED

Built for regulated work.

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 GUARDSCODE, NOT MODEL

Nothing is stated
that cannot be shown.

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.

  1. RESOLVE

    Evidence ids must resolve.

    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.

  2. VERIFY

    Quotes must be verbatim.

    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.

  3. CONSTRAIN

    Schemas are closed.

    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.

  4. ABSTAIN

    Abstain, or send to review.

    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.

  5. RECORD

    The ledger remembers.

    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 CELL

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.

The model proposes. The guards decide what is allowed to leave.Where the work stands
WHERE THE WORK STANDS

Built.
And not yet built.

What is working today and what is still ahead, stated plainly.

BUILT

The document-to-submission chain.

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.

BUILT

The local standards index.

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.

BUILT

The training corpus and pipeline.

Synthetic studies with ground truth, the oracle, the accepted traces and a fine-tuning pipeline proven end to end on a 4B-class model.

AHEAD

The first fine-tuned sovereign 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.

AHEAD

From demonstration to validated product.

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.

The platform grows module by module. Plans, in order.The roadmap