lossless-memory
Builds long-term memory for a personal AI while preserving original conversations and timestamps.
What does it do?
It converts each conversation turn into a record with 7 fields and appends it to a date-based JSONL file. It builds an index from these original records and lets you retrieve conversations from a specific period in the order they were spoken. A concise LLL index of when topics changed is added to the model context on every turn to maintain the conversation flow. Records for changed dates can also be reindexed periodically.
Key features
- Append conversation turns to date-based original JSONL records
- Retrieve original past conversations by time
- Provide the model context with an index of topic-change times
- Periodically reindex records for changed dates