Skip to content
TrailKeep
Interactive demo, simulated data

Review audit trails by exception, not line by line.

TrailKeep puts every lab system on one timeline, ranks what needs a human, and keeps each decision signed and tamper-evident. This demo runs on simulated data in your browser.

Designed around
FastAPILangGraphPostgreSQLpgvectorvLLMKubernetesNext.jsReactTypeScriptTailwind CSSWeb Crypto SHA-256FastAPILangGraphPostgreSQLpgvectorvLLMKubernetesNext.jsReactTypeScriptTailwind CSSWeb Crypto SHA-256
How it works

From raw exports to a signed decision.

Four steps, each one visible in the product.

Ingest every audit trail

Exports from chromatography systems, LIMS and instrument logs are mapped into one common event model, with clocks aligned.

Detect and rank

Explainable rules and an anomaly score turn millions of entries into a short queue, ranked by risk.

Review by exception

A reviewer sees the evidence across systems, then confirms or dismisses with a reason and an e-signature.

Investigate

An agent drafts hypotheses, citations and a CAPA plan. QA reviews and signs before anything takes effect.

What it does

Built for the reviewer's real day.

Fewer lines to read, more context for each one, and a record you can defend in an inspection.

Timeline

One timeline across systems

Swim lanes per system on a single time axis, with clock offsets estimated from paired events and marked with a confidence level.

Detection

Explainable flags

Each flag lists the rules that fired, the evidence for each, and how much came from rules versus the model.

Part 11 style

E-signed decisions

Confirm, dismiss or escalate with a required reason. The signature shows printed name, date and time, and meaning.

Integrity

Tamper-evident audit log

Every action is chained with SHA-256. A change to any record breaks the chain at that record.

GraphRAG

Checked citations

The agent can only cite passages that exist in the knowledge base, and every citation shows its source.

Readiness

Inspection readiness

Regulator themes compared with your SOPs, with gaps highlighted and practice questions answered from your own records.

Under the hood

How the full system is designed.

The design below is the intended production system. The public demo runs on simulated data only, so none of these services run here.

How the full system is designedFour lab systems feed an ingestion service that maps every export into one common event model. Detection rules and anomaly scores write flags to PostgreSQL, which also holds the hash-chained audit log. Reviewers work in the review desk. The investigation agent reads events and a GraphRAG knowledge base, uses an on-premises model served by vLLM, and can only draft.Source systemsIngestionCommon event modelDetectionRules + anomaly scoresPostgreSQLEvents, flags, audit logReview deskNext.js, e-signaturesInvestigation agentLangGraph, draft onlyOn-prem modelvLLM on KubernetesGraphRAG knowledge basepgvector + graphCDS North (CSV)CDS South (JSON)LIMS (XML)HPLC-07 log (text)
How the full system is designed. The public demo runs none of these services: every screen is driven by static, simulated fixtures in your browser.

Rules first, model second

Deterministic rules carry most of the risk score so every flag can be explained in plain words. The anomaly model adds ranking, not verdicts.

The agent never writes

The investigation agent has read access and a drafting tool. Decisions, signatures and record changes stay with people.

On-premises model

Lab data does not leave the site. The language model is served by vLLM inside the lab's own Kubernetes cluster.

Hash chain over the app's own log

TrailKeep's actions are chained so its own history can be checked, independent of the source systems' audit trails.

FAQ

Honest answers.

Is this a real product?

No. It is a portfolio project that shows how such a product would work. The workspace and the walkthrough run on simulated data in your browser. Nothing is connected to a real lab system.

Is the data real?

No. Northgate Labs Unit 3, its people, instruments, batches and records are invented. Regulation excerpts are short quotes checked against the public source, or clearly labelled paraphrases.

Can I use it?

You can explore every screen, filter the queue, open timelines, sign decisions and verify the hash chain. Actions are simulated, nothing is saved, and sign-ups are closed.

Is it validated or Part 11 compliant?

No. It demonstrates Part 11 style controls such as e-signatures with a reason and a tamper-evident log. It is a demonstration and not for GxP use.

What does it cost to run?

Nothing. The site is a set of static files on a free host. There is no server, database, model or paid API behind it.

Who built it?

Tiju Lukose, as part of a series of portfolio projects. The About me link has more about the work and how to get in touch.

Built by Tiju Lukose

A portfolio project about data integrity in regulated labs. Explore the workspace, or read more about the person who built it.