Part 1 of 3 in a series on building Local Photos AI. Part 2: what it takes to run AI on 300,000 photos at home. Part 3: how I lead my AI coding partner the way I lead people.
My photo library holds more than 300,000 photos, spanning over two and a half decades: birthdays, trips, school plays, ordinary Tuesdays. All told, more than 3 TB.
The obvious home for a library like that is a cloud photo service. I didn’t want that, for two reasons. The first is cost: at that size you pay every month, forever, to keep your own memories. The second is trust. Every few months brings another story about a leak or a change in terms, and these aren’t documents, they’re my family. I wanted the convenience of a modern photo app without handing it the pictures.
So I built one. Local Photos AI is a private photo library that understands what’s in your pictures, who’s there, where it was and what was happening, and runs all of its AI on your own machine.
The images in this post come from the project’s own presentation, which draws its “photos” from simple shapes. None of them are real photos, and the names are placeholders.
Search the way you’d ask a person
The heart of it is search. Instead of scrolling through years of thumbnails, you type what you remember: “sunset at the beach”, “birthday cake”, or “Emily and Grace without Charlie on a beach in Portugal”.

The search pulls names, places, dates and “without” out of the sentence, then combines them with what an AI model actually sees in each photo. Names come from faces you’ve tagged, places from the photo’s GPS, and “on a beach” from the picture itself. Any search can be saved as a smart album that keeps filling itself as new photos arrive.
What it does
- Recognizes people. It finds every face as the library is scanned and groups them by person. Name someone once and they’re tagged across decades of photos. It’s careful with lookalikes, so siblings don’t get merged into one person.
- Knows where photos were taken, in words, not coordinates: “near a trailhead in a national forest” instead of a pair of numbers, worked out offline from a world map database stored on your machine.
- Describes every photo. A local vision model writes a caption and tags for each photo, so search can find things nobody ever labeled.
- Edits in plain English. “Make it warmer and brighter” moves the sliders for you. It can also remove a background, erase a stranger, restore an old face or upscale a small photo. Every edit is saved as a copy; your originals are never touched.
- Answers questions in a chat. Ask how many photos you have, who’s in your library or whether the person in a photo is smiling. Or tell it to “create an album of sunset photos”, and it builds the album after checking with you first.
- Tells the story of your library. A statistics page with twelve sections: photos per year, the places you’ve been, the cameras and lenses you’ve used, the people who appear most, and what the AI sees across all of it, from scenes and activities to time of day and favorite colors. It shows a quick overview instantly and fills in the detailed charts in the background.
- Makes things. Slideshows with music, and greeting cards built from your photos.

The desk, the couch and your pocket
The same library works in three places: a web app on the computer, a TV app you drive with the remote, and an Android app. The TV app has an “On This Day” home screen and turns into a slideshow screensaver when nobody’s using it. The phone pairs with a six-character code, so nobody types a password on a tiny keyboard.

One library, the whole family
A family photo library isn’t a single-user app, so everyone gets their own login. Each person has their own favorites, tags and album order, and hiding a photo hides it only for you; everyone else still sees it. Albums can be shared with the whole family or with one person, either to view or to add photos as a collaborator.
There are two roles. Everyone can browse, search, edit and build albums. Only an admin can do the things that are hard to undo, such as permanently removing a photo, starting a rescan or managing accounts. And the last admin can never be demoted or switched off, so the family can’t lock itself out.
Your photos and their data never leave your machine
Everything runs at home: the search model, face recognition, captions, editing and chat. The app reads your photo folders but never writes to them. The AI models and the offline map data are downloaded once, during setup and the first scan. After that, your photos and everything the app learns about them stay on your own computer. The map works offline too: it draws built-in country outlines, and detailed online map tiles stay off unless an admin chooses to turn them on.

It also costs nothing to run beyond the computer itself. There’s no subscription, and every AI model it uses is free. A graphics card makes it much faster, but it isn’t required. On a laptop without one it’s slower, not broken.
Built with Claude, and bigger than I imagined
I built Local Photos AI with Claude models doing the coding. It was my first serious project built with AI: a full application, not a script or a prototype. Much of what made TrailPulse so quick to build later, I learned here. The first working web version took about a week.
Then the real work started. Over the next two months I spent most of my time on what only shows up with a real library: scans that took too long, pages that loaded slowly once there were hundreds of thousands of photos behind them, and the edge cases that a test library of a few hundred photos never hits. Along the way I added albums, maps, the TV app and the Android app.
Today it has more than 210 API endpoints, more than 3,000 automated tests and three apps that share one library. A project of that size and complexity is something I could not have imagined building on my own. With Claude, a few months got it to a full-featured version running on my own library.
That’s the part I most want to share. The hard parts weren’t the AI features. They were making them fast and safe at the scale of a real family library, and learning how to lead an AI coding partner through a project this big. Those are the next two posts:
- What it takes to run AI on 300,000 photos at home: the engineering behind making it fast, and making sure it can never lose a photo.
- I lead my AI coding partner the way I lead people: what managing a large project with Claude taught me about leadership.
If you’d like to run something like this on your own photo library, reach out. I’m happy to share the code, and I may open it up more widely if there’s enough interest.
And if your family photos are sitting in a cloud you’re paying for every month, I’d like to hear what’s keeping them there.
