Start right now. Copy this prompt and paste it into Claude Code. It clones Lineage Explorer, starts it on your machine and opens the console in your browser:
Set up Lineage Explorer on my machine and open it. Run these, starting the
server in the background:
cd ~
git clone https://github.com/Verafyai/lineage-explorer
cd lineage-explorer
python3 serve.py
Then open http://localhost:8787 in my browser, read README.md and CLAUDE.md,
and walk me through Step 1, one screen at a time. (If I'd rather have my own
copy to change, fork the repo to my GitHub account first and clone my fork.)
Click the slide or use the arrow keys to move through the deck.
I'm giving a talk tonight at the Seattle Genealogical Society's AI for Genealogy SIG. To get ready for it I published the long version of the talk, 10 Lessons Learned from Agentic Genealogical Research. It covers what I learned turning a 3.5-hour interview with my dad into a 230-page book with AI agents.
The obvious question after a talk like that is "how do I do this with my own family?" So alongside the talk I'm releasing Lineage Explorer. It is a simplified, self-hosted version of Lineage that turns the setup of a Lineage instance into steps anybody can follow:
- it runs privately on your own machine, against your own archive of family material;
- you can deploy it to Vercel, so the family can see it on the web, if and when you choose to.
What it looks like

It's one page holding nine steps, in order. Each step is one large prompt that tells the agent:
- what to build;
- where to put it;
- which rules to follow while it works.
You press a step's button to copy its prompt, paste it into Claude Code and let the agent work. When it's done, you tick the step. The files each step creates are listed under it, and they turn into links as Claude makes them. The Relatives, Sources and Photos tabs show everything found so far.
It assumes one thing: that you have a folder, or a Google Drive folder, holding whatever your family has. That can be scans, photos, certificates, letters, books, notes or an old family-tree export. That pile is the founding corpus from lesson 1, and everything else is built from it.
Getting it running
You need Claude Code, Python 3 and your folder. There's nothing to install by hand. Open Claude Code and paste in the prompt at the top of this post.
Claude clones the repo, starts the console and opens it in your browser. From there the work happens in the browser, one step at a time. Claude walks you through anything that needs a person, such as creating the Google Cloud project or signing in to Vercel, and gives you the exact page to open for each one.
The nine steps
-
Establish your private research base. Connect Google Cloud Console and Google Drive and keep it private. This creates the index files every later step fills in: a data index, a relatives index, a sources tree, and indexes for the original files, the photos and the books.
-
Scan and extract. Claude reads every file in your folder, keeps the originals untouched and transcribes what it can. It pulls out every relative and every source.
-
Build the family tree. The full genealogy, with every link backed by a source. Links that rest only on family story are marked, and the brick walls are named.
-
Familypedia. A Wikipedia-style page for every relative, footnoted back to the sources.
-
Photos. Every photo is gathered, de-duplicated, labelled with who, where and when, and organised into a gallery.
-
The weekly update. A family newsletter written from what changed that week, sent on a schedule to the relatives who subscribe.
-
The book. A chapter per relative, written with the book and chapter skills I used for my dad's book. It's assembled with plates, sources and an index.
-
Agentic outreach. Name a relative. An agent locates every source you hold for them, works out which salient details are still missing, and finds the archives that hold them:
- birth, marriage and death records;
- church records;
- census entries;
- newspapers;
- ship and immigration records;
- military, prison and school records;
- books.
It drafts a specific request to each one and shows you every email before anything is sent. If there's no Google connection yet, it first sets up a Gmail MCP server so it can draft and send from your account. Two more prompts handle what comes back:
- Process the replies. It downloads and archives what they sent, indexes it, adds photos to the gallery and links it all to the relative. If a researcher mentions another source, it starts a new agent to chase that one and asks you first. When the research is done, it drafts a polite thank-you.
- Scan the inbox for any inbound research. It finds new replies across every outreach thread and updates every record, sub-record and view for each relative they touch.
-
Deploy. Claude builds your family's site and publishes it to Vercel. It shows you a preview first, then puts it on your own domain, password-protected or public as you choose. Living people and private correspondence are left out.
Private by default
Everything Claude finds goes into a data/ folder that is never committed to git, and into a Drive folder shared with no one. Credentials live outside the repo.
Every prompt can carry the same ground rules:
- cite every fact and keep conflicting facts side by side;
- obey robots.txt;
- no logins, CAPTCHAs or paywalls;
- never pay for or submit anything;
- send emails only after you approve them;
- keep living people private.
These are the rules I learned the hard way in lessons 4 and 8, written into the prompts so you don't have to.
Publishing is the last step, not the first. You can do all of steps 1 to 8 and never put anything on the internet.
Make the prompts yours
The prompts are the product here, so they're meant to be changed:
- Click any prompt to copy it, with your family's names already filled in.
- Press Edit to change a prompt in place, on the page. You can reset it to the original at any time.
- Use "Add your own prompt" to keep your own giga prompts with any step, the ones you've already fought for.
Your edits are saved on your own computer, never in the repo. If you build a better step, I'd like to see it.
Where it fits
Lineage Explorer is the front door. Lineage is the full platform behind it, with:
- the dashboard;
- the story units and bridges;
- the Typst book pipeline;
- the research dossiers.
You can see a finished instance running at lineage.rexstjohn.com.
- The console: github.com/Verafyai/lineage-explorer
- The full platform: github.com/rexsaurus/Lineage
- The lessons behind it: 10 Lessons Learned from Agentic Genealogical Research
If you're at the SIG tonight, bring your questions. If you're not, fork it and tell me what broke.