{"slug": "ghost-a-private-ai-memory-guardian-that-never-leaves-your-computer", "title": "GHOST: A Private AI Memory Guardian That Never Leaves Your Computer", "summary": "A developer built GHOST (Generative Human-memory Offline Storytelling & Tracking), an open-source, fully local memory archive that lets families store letters, photos, recipes and transcribed oral histories and query them in plain language. The system runs Qwen3:4B via Ollama on CPU, uses multilingual-e5-small embeddings with a FAISS index for semantic search, and enforces citation integrity in code by stripping any reference that does not point to a real retrieved memory, refusing out-of-archive questions rather than guessing. The developer reports 46 backend and 10 frontend tests passing but acknowledges answer quality, CPU speed and true offline operation were not verified because the build environment could not download model weights.", "body_md": "*This is a submission for the [Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine](https://dev.to/challenges/hacktoberfest-week4-2026-10-26)*\n\nMost of the stories in my family exist in exactly one place: somebody's head. Recipes nobody wrote down, how two grandparents met, what a flood felt like in 1983. When that person is gone, so is the story.\n\n**GHOST** (Generative Human-memory Offline Storytelling & Tracking) is a private memory archive that runs entirely on your own computer. You save letters, photos, recipes and voice recordings, and then you can *ask* your archive questions in plain language:\n\n\"Who taught Lily to knead bread dough?\"\n\nand get an answer that points to the exact memory it came from. If the answer isn't in your archive, GHOST says so: *\"I couldn't find that in your saved memories.\"* It never guesses.\n\nI took \"Ghost in the Machine\" two ways. The practical one: the archive is the ghost, a place where people live on through their words. The playful one: **Ghost Mode** turns memories you pick into a clearly labelled spooky story. It shows a \"verified facts\" panel (copied straight from your archive) next to a list of what the AI invented. There's also a **Remembrance** setting, which is warm, gentle and has no horror at all. GHOST never claims to contact or speak for anyone who has died, and I wanted that to be built into the design, not just a disclaimer.\n\nOther things it does: record or upload oral histories and transcribe them locally, a timeline with filters, family-history summaries built only from records you select, a passphrase lock, JSON/Markdown/ZIP backups, and a small \"Life Documents\" section for warranties and important dates with calendar reminders.\n\n**A private memory archive for the stories your family could lose, powered by open-weight AI that runs on your own computer.**\n\nPreserve letters, recipes, photographs and oral histories. Ask questions in plain language and get answers that **cite the exact memories they came from — or say \"I couldn't find that in your saved memories.\"** Nothing is sent to a cloud AI. No account, no telemetry, no vendor to disappear.\n\nBuilt for the *Ghost in the Machine* open-source AI challenge. Ghost Mode is an optional, clearly-labelled fiction layer; GHOST never claims to contact or speak for anyone who has died.\n\nScreenshots in `docs/img` show the real UI on the synthetic demo archive. Where AI text appears (Ask, summary, Ghost Mode) it was produced by a throw-away **test stub standing in for Ollama**, not by Qwen — the sandbox that built…\n\nThe whole point was that the AI had to be open and local, not just mentioned in the README:\n\n`qwen3:4b`, swappable from the Settings page). It runs on CPU, no GPU needed.`sentence-transformers` with the multilingual `multilingual-e5-small` model, plus a FAISS index, so you can search by meaning and in different languages.`faster-whisper` for local transcription, with the weights stored on disk.\nThe part I care about most is how GHOST handles trust. Instead of just asking the model nicely not to make things up, the code enforces it:\n\n`[1]`. Citations that don't point at a real retrieved memory are stripped out.\nChecks I actually ran: 46 backend tests and 10 frontend tests pass, and I ran the app in a real browser against a real server (that browser run caught a threading bug the unit tests missed, which I fixed and added a regression test for). On the small synthetic dataset with the keyword-search fallback, all relevant memories showed up in the top 5, and all 5 out-of-archive questions were correctly refused.\n\n**What I haven't verified yet (honest bit):** I built this in an environment that couldn't download model weights, so I tested the Ollama connection against a stand-in server, not a real model. That means I don't have real-model answer quality or CPU speed numbers, and I haven't run the full \"disconnect the internet and try it\" test, so I'm not claiming it as proven offline. The repo's `docs/STATUS.md` lists exactly what was and wasn't checked.\n\nA family archive is about the most private thing there is: voices of people you love, names, illnesses, arguments, forgiveness. A closed API would mean sending all of that to someone else's servers, and trusting that company to still exist and still have the same rules in twenty years.\n\nOpen weights changed what was possible here:", "url": "https://wpnews.pro/news/ghost-a-private-ai-memory-guardian-that-never-leaves-your-computer", "canonical_source": "https://dev.to/rushindhra_marri/ghost-a-private-ai-memory-guardian-that-never-leaves-your-computer-49hp", "published_at": "2026-10-28 11:28:13+00:00", "updated_at": "2026-10-28 11:41:37.445943+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "ai-tools", "ai-agents", "natural-language-processing"], "entities": ["GHOST", "Ollama", "Qwen3:4B", "FAISS", "faster-whisper", "sentence-transformers", "multilingual-e5-small", "Hacktoberfest"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/ghost-a-private-ai-memory-guardian-that-never-leaves-your-computer", "markdown": "https://wpnews.pro/news/ghost-a-private-ai-memory-guardian-that-never-leaves-your-computer.md", "text": "https://wpnews.pro/news/ghost-a-private-ai-memory-guardian-that-never-leaves-your-computer.txt", "jsonld": "https://wpnews.pro/news/ghost-a-private-ai-memory-guardian-that-never-leaves-your-computer.jsonld"}}