dsh-hippocampus: Adding a Layer of Forgetting Memory to Developing Companion Robots

dsh-hippocampus is a memory layer written by maintainer kianajunjie for companion robots, based on the five stages of the hippocampus: encoding, consolidation, forgetting, association, and metacognition. It encodes dialogues into events, controls forgetting through emotional weights, and assigns certainty levels to each memory. It automatically invalidates old memories when users correct themselves and isolates memory by user. Featuring local file storage, zero dependencies, and platform independence, it supports four access methods: direct library calls, HTTP interfaces, command line, and DSH plugins. It is designed for long-term companion robots and is unsuitable for customer service FAQs, general assistants, multi-tenant SaaS, and knowledge base Q&A.

Read More