Hi everyone,
A recent discussion here (6.1 FamilySearch beta testing access) touched upon place hierarchies, which prompted me to tackle a pain point I’ve wrestled with for a long time: managing complex, highly dynamic historical places.
Virtually all of my ancestors originated from the borderlands of the former Kingdom of Hungary within the Austro-Hungarian Empire. While Hungarian administration was famously structured, systematically categorizing settlements into counties, districts, and administrative units, the turbulent history of the region meant that names, borders, national affiliations, languages, and place types were in constant flux.
For some time, I attempted to manually model these time-bounded shifts in Gramps for every birth, marriage, and death record I uncovered which usually also mentioned place names. Eventually, fatigue set in, and my place hierarchy degenerated into a sea of fragmented entries and question marks (like ?, ?, ?, Hadad). It became clear that maintaining this level of historical accuracy manually was simply unsustainable.
The breakthrough started with a simple experiment using Google AI:
“What was the place type of Hadad in 1825, what are its decimal coordinates, and what was its full administrative hierarchy on that date?”
The response was remarkably accurate and detailed (though not always, which is why the addon previews every change). Using these structured insights, I began manually cleaning up my database, but the entry process remained tedious. Naturally, the next question was: why not automate this entire workflow directly within Gramps?
With the invaluable help of my AI collaborator (Claude), which wrote most of the code and the 1,300+ tests under my direction, and patiently handled multiple complete redesigns whenever I changed my mind, Place Completer was born.
What it does:
- Time-sensitive context: queries an AI for the exact administrative hierarchy, place type, coordinates, and the name the place had on a given date.
- Matching: compares the AI’s answer with your existing Gramps database, distinguishing between adding new places and enriching existing ones (using coordinates to tell identical place names apart).
- Control: previews every proposed modification with a confidence rating and an explanation. It writes only what you explicitly approve, leaving existing data untouched unless you approve a change, and conflicts are never chosen for you.
- Reversible: applies the approved changes in a single operation that can be fully undone via Edit > Undo.
A few caveats: it is experimental, written for my own use, and I can’t promise support or updates. It was tested only on Linux Mint (not on Windows or macOS). AI answers can be wrong, which is why every change is previewed. Only the place name, the date and an optional region hint are sent to the AI, never your tree. It works with the Claude API, any OpenAI-compatible endpoint, a local Ollama model, or a browser-based AI (Google AI mode, ChatGPT, Gemini) where you paste the answer back.
If you’d like to try it out, explore the code, or test it on your own tree, you can find the repository here: GitHub - avma/gramps-place-completer: AI-assisted Gramps addon for time-sensitive place hierarchies: preview every proposed change, apply in one step, undo with Edit > Undo. Experimental. · GitHub
User guide: Help and User Guide
Feedback, ideas, and testing experiences across different historical regions are very welcome!
Best regards, Avi
