1 / 1710 Lessons from AI Genealogy ResearchPDFOpen in Google Slides

Click the slide or use the arrow keys to move through the deck. This is the talk I gave to the Seattle Genealogical Society's AI for Genealogy SIG; the essay below is the long version.

Want to do this with your own family? Setting Up Your Personal Lineage Instance turns these lessons into nine prompts you can run on your own machine with Claude Code, starting from one copy-paste prompt.

Genealogy has always been a research discipline built on patience: letters to county clerks, microfilm, cemetery walks, waiting months for a copy of a pension file. The tools changed in waves. Indexes went online, then whole databases like FamilySearch and Ancestry, then DNA. Each wave made it faster to find what was already digitized, and did very little for what wasn't.

AI agents are a different kind of change. An agent doesn't just search; it can read a pile of material, form a theory, go looking for evidence, write a letter to an archive and come back to the question weeks later. I'm a Seattle technologist, not a professional genealogist, and over the last stretch I used agents to turn a 3.5-hour interview with my dad into a 230-page book covering five generations. Along the way I built Lineage, a set of open tools for this kind of research.

Here's what I learned, in the order I learned it.

How it started

My first foray was a 3.5-hour podcast-style interview with my dad. I chopped it into clips, stored them and put them on YouTube, and then left the whole thing on the shelf for two years while the tools caught up.

When I finally decided to turn it into a book, WhisperX, which pairs OpenAI's Whisper for transcription with pyannote for telling speakers apart, separated our voices and transcribed the entire interview in about an hour. That hour is what made everything after it possible. And the first thing the transcript taught me is the idea that runs through all ten lessons: family stories are clues, not facts.

1. Start with a founding corpus

Agents work best when they have a big pile of data to gain traction on. From that pile they spawn sub-agents in different directions, develop theories against the data, and come back to it to check those theories.

So the first step is unglamorous: put the biggest pile you can into one folder. Transcripts, scanned letters, photos, old family trees, notes from relatives, obituaries. If you have already spent years collecting and digitizing your family's material, you have a real head start. You're not starting the agent from a blank prompt; you're handing it a library.

2. Index everything

A pile isn't a library until it's indexed. Be disciplined about indexing, labeling, tagging and storing.

I have Claude Code index the folder, store the index, and keep everything organized and permanent in Google Drive. The setup is short:

  1. Create a Google Cloud Console project.
  2. Enable the Google Drive API.
  3. Connect it to Claude Code.
  4. Keep it private.

The index is what lets an agent find the one letter that mentions a ship's name six weeks after it first read it.

3. Plan data management from day one

Recursive research multiplies data fast. Every pass spawns new leads, new sub-agents and new sources, and each of those produces more files. If you don't decide where it all lives on day one, you'll spend day forty untangling it.

Decide early: one folder, indexed, in one place. And know which parts matter most. The cache of downloaded pages and drafts will only grow. Your source list and your index are the parts that last.

4. Don't let your agent become gray ooze or a black box

After about eight weeks of working with one agent, I realized I no longer knew what it could do or what skills it had. It had accumulated instructions, workflows and habits, and none of it was written down in one place. It had turned into gray ooze.

The fix is simple and easy to skip: keep an agent file that documents what your agent can do and what skills it has, and keep it current. Keep the skills modular, so you can see, change or remove one without disturbing the rest.

5. Turn hard-won workflows into skills (or stored prompts)

Writing a good book chapter took a week and a half of coaching. I had to teach the agent sequential storytelling, how to pick only the salient background, how to keep a timeline by date, and when to inject historical context. Once it finally worked, I turned that coaching into a skill: a packaged set of instructions I can run again and share with other people.

A note of uncertainty here. I'm honestly not sure skills, as a format, have a long future. There's been some talk that they may not, and that what really matters is simpler: stored prompts, reusable prompts you can trigger and come back to. Whatever the format ends up being called, the lesson holds. When you've spent days teaching an agent how to do something well, capture it in a form you can run again, instead of re-teaching it from scratch next month.

6. Plan how you'll share it

Most family data piles have nothing to hand out at Thanksgiving. A folder full of files isn't something your aunt is going to open.

Decide early what the outputs are, and build templates for them. Mine:

  1. A hosted microsite with the family tree, stories, a wiki and a photo gallery: daniel.rexstjohn.com/lineage.
  2. Book chapters.
  3. Podcasts.
  4. Video.
  5. A weekly generative newsletter that relatives can subscribe to.

Knowing the outputs shapes the research. If you know you're writing chapters, you collect differently than if you're filling in a tree.

7. AI writing is unreadable by default

The first draft an AI writes about your family is not something your family will read. It's generic, smooth and oddly lifeless, and it tends to upgrade everyone's diction until nobody sounds like themselves.

Refining it takes real work, every time. What helped me most was Lesson 5: coaching the chapter workflow until it reliably produced something worth editing, then capturing that coaching so I didn't have to repeat it.

8. Expect dark data

I was shocked by how much of my family's story simply isn't on Google.

How much of their story was on Google? Erastus W. Burnham, born 1834: 61% Google, 30% online but not on Google, 9% direct outreach. Homer St. John, born 1900: 7% Google, 53% online but not on Google, 40% direct outreach. John St. John, born 1921: 1% Google, 23% online but not on Google, 76% direct outreach.

For three people in my family, I sorted every documented fact by where it could actually be found. For Erastus Burnham, a whaleman and Civil War soldier born in 1834, 61% of the facts were on pages Google could find. For Homer St. John, born in 1900, it was 7%. For John St. John, born in 1921, it was 1%; 76% came from direct outreach: archive staff, requested copies, family interviews and papers. That's three people, so read it as an illustration, not a statistic. But it changed how I research.

Point your agent deliberately at the records search engines don't reach:

  • Church records
  • Synagogue records
  • Immigration records
  • Military records
  • Small-town records

A lot of this takes a letter and a wait. I wrote about building an agent that can do that in A Research Agent That Can Wait Three Weeks for a Letter.

9. Build a source graph

Every claim links to its source. No citation, no claim. An agent will happily produce a plausible birth date for someone; without a link you can click, treat it as a lead, not a fact.

When sources conflict, show both sides. Never let the AI quietly pick one. My best example is Erastus Burnham: the family story says he was a surgeon drafted into the war. The records put him in Company A of the 12th Connecticut Volunteers, then the 1st Connecticut Heavy Artillery, and in a 1916 newspaper interview he called himself "a gunner." Surgeons served on regimental staff, not in companies. A good research tool doesn't erase the family story; it shows you the evidence and lets you decide. In Lineage, every record carries its sources.

10. Plan for recursive improvement

The cache only grows, and that's a feature. Each new pass builds on what the last one found: a name in a letter becomes a search, the search finds a regiment, the regiment leads to a pension file.

Keep your source list and your indexed data safe, organized and permanent, like Lesson 2. That's the asset that compounds. Everything else can be regenerated from it.

The building blocks

I've done my best to provide the building blocks for anyone who wants to do this with their own family. Anybody can fork these and use them:

BlockWhat it doesWhere
SearchFind cited records for an ancestorlineage.rexstjohn.com
APICited records for your own agentsapi.lineage.rexstjohn.com
StudioResearch runs you watch and approvestudio.lineage.rexstjohn.com
Managed instanceA hosted family site, built on the parts abovedaniel.rexstjohn.com/lineage
Source codeThe open platformgithub.com/rexsaurus/Lineage

More on how it was built: Introducing Lineage and A Research Agent That Can Wait Three Weeks for a Letter.

Ten lessons to take home

  1. Start with a founding corpus.
  2. Index everything.
  3. Plan data management from day one.
  4. Don't let your agent become a black box.
  5. Turn hard-won workflows into skills, or stored prompts.
  6. Plan how you'll share it.
  7. Expect AI writing to need real work.
  8. Expect dark data.
  9. Build a source graph.
  10. Plan for recursive improvement.

One ask: search one ancestor this week, and tell me what it found, and what it got wrong.

To put the lessons to work, start with Setting Up Your Personal Lineage Instance: one prompt sets up Lineage Explorer on your machine, and nine steps take you from a pile of family papers to a researched, published family record.