hippocampus
Background memory organ for AI agents. Runs separately from the main agent—encoding, decaying, and reinforcing memories automatically. Just like the real hippocampus in your brain. Based on Stanford Generative Agents (Park et al., 2023).
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Background memory organ for AI agents. Runs separately from the main agent—encoding, decaying, and reinforcing memories automatically. Just like the real hippocampus in your brain. Based on Stanford Generative Agents (Park et al., 2023).
How to use
Zainstaluj skill uruchamiając ./install.sh --with-cron, co ustawia system z domyślnym limitem ostatnich 100 sygnałów (wiadomości). Jeśli chcesz zmienić zakres, użyj ./install.sh --signals 50 dla mniejszej historii lub ./install.sh --whole dla całej rozmowy.
Na początku sesji załaduj podstawowe wspomnienia poleceniem ./scripts/load-core.sh — to przywraca kluczowe informacje z poprzednich interakcji.
Wyszukuj wspomnienia za pomocą ./scripts/recall.sh "twoja fraza", aby agent znalazł istotne fakty ważone według ich znaczenia. System automatycznie zwróci najbardziej trafne wspomnienia.
Kodowanie pamięci zwykle uruchamia się automatycznie przez cron, ale możesz je wykonać ręcznie poleceniem ./scripts/encode-pipeline.sh — system przeanalizuje nowe sygnały, przypisze im znaczenie i wzmocni istniejące wspomnienia zamiast tworzyć duplikaty.
Zanik pamięci (decay) uruchamia się codziennie przez cron poleceniem ./scripts/decay.sh, co stopniowo zmniejsza znaczenie starszych wspomnień — agent naturalnie zapomina mniej ważne szczegóły.