Assay
Your DNA never leaves your device.
- Open source
- Backend architecture
- Web applications
- Python · FastAPI · SQLite · snps · JavaScript

Summary
Assay reads the raw file a consumer DNA test gives you (23andMe, AncestryDNA, FamilyTreeDNA, MyHeritage, LivingDNA, tellmeGen or a generic CSV) and shows the traits associated with your genotypes, each with its source, its date and a short plain-language explanation. It reads in English or Spanish. It's for education only: not a medical device and not a diagnosis.
Privacy lives in the architecture, and the tests check it. The app listens on loopback only. Genotypes stay in RAM, in a session that expires, and are never written to disk or logs. The parse-and-annotate path imports no HTTP client at all: every network call sits in a single module, the one that downloads public databases, and it only talks to a closed list of hosts. One test blocks every socket and checks that the full analysis still completes. The demo on GitHub Pages ports the same engine to JavaScript and runs entirely in your browser.
The data sources are a decision too. It uses GWAS Catalog, ClinVar and ClinPGx, and it doesn't redistribute PharmGKB data because that license is copyleft: your machine downloads it on its own. It skips SNPedia as well, because of its non-commercial license.
The README is open about how it was made and what isn't known: I built it with no clinical or genetics training, setting the constraints and orchestrating AI agents that wrote most of the code under them. No geneticist has reviewed it, and the effect sizes come mostly from European-ancestry cohorts, which matters for admixed populations.
Problem
A DNA file is about as personal as data gets, and reading it shouldn't mean handing it to anyone.
Decision
Privacy isn't promised; it's tested by blocking every socket.
def test_parse_and_annotate_make_no_network_connection(corpus, seed_db, monkeypatch): """Full parse->annotate must complete with all outbound sockets banned.""" m = corpus["health_pharma_b37_23andme"] raw = Path(m["path"]).read_bytes() _ban_sockets(monkeypatch) genome = parsing.parse_bytes(raw) # snps parse — local only store = AnnotationStore.load(seed_db) # sqlite — local only matches = list(store.match(genome.genotypes)) # temp-join match — local only assert matches, "annotate produced results fully offline" assert any(x["source"] == "curated_seed" for x in matches)- From here on, any outbound connection raises an error.
- The full analysis still completes, with no network.
Numbers
- 0
- 35
- 7
Architecture
- 01 DNA file
- leads to 02 Parsed with snps, in memory
- 02 Parsed with snps, in memory
- leads to 03 In-RAM session with a TTL
- 03 In-RAM session with a TTL
- leads to 04 Annotation over SSE
- 04 Annotation over SSE
- 05 Read-only SQLite
- leads to 04 Annotation over SSE
- 06 db_update: the only networked module
- leads to 05 Read-only SQLite
- 07 GWAS Catalog · ClinVar · ClinPGx
- leads to 06 db_update: the only networked module