hn.today

Show HN: Lossless-memory – a personal AI memory that never summarizes

github.com63 points29 comments
Screenshot of Show HN: Lossless-memory – a personal AI memory that never summarizes

Aru Labs' Lossless-memory is a local, file-based long-term memory layer for a personal AI that deliberately refuses to summarize: every conversation turn is stored verbatim with an ISO-8601 timestamp in per-day JSONL logs, and all indexes are rebuildable from those raw logs. The design rests on three pillars: a lossless raw log (seven-field records: ts, actor, role, type, text, model, session), a Temporal Backbone that treats time as the primary axis (time-aware query parsing narrows ranges before ranking, returning chronologically ordered verbatim lines), and LLL, a tiny human-maintained "where are we now" topic index injected into the model each turn so context survives window compaction. Search prefers exact SQLite FTS5 matches (bigram tokenization for Japanese/English) and uses sqlite-vec semantic fallback only when needed.

Implementation specifics: ingestion produces indexes incrementally with a background re-index daemon, and the system ships examples, docs, and a quickstart; it has run daily for one user since mid-2026. Operational metrics show major improvements after fixes (exact-index rebuild 40s → 1.24s; vector store 2.54GB → 337MB). Limitations are explicit: single-user/single-machine, Japanese-first relative time parsing, no benchmarking, and local embedding model requirements. The stated goal is a companion AI that remembers exact words and timing on hardware you own.

Read on github.com29 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.