Powered by OpenAIRE graph
Found an issue? Give us feedback
ZENODOarrow_drop_down
ZENODO
Presentation . 2026
License: CC BY
Data sources: Datacite
ZENODO
Presentation . 2026
License: CC BY
Data sources: Datacite
ZENODO
Presentation . 2026
License: CC BY
Data sources: Datacite
versions View all 3 versions
addClaim

The River Algorithm: A Sediment-Based Memory Consolidation Model for Personal AI Agents

Authors: Jiake, Wang;

The River Algorithm: A Sediment-Based Memory Consolidation Model for Personal AI Agents

Abstract

Current AI assistants suffer from a fundamental asymmetry: users invest years of conversation, yet the AI retains no lasting understanding of who they are. Retrieval-Augmented Generation (RAG) stores utterances but does not distill them into structured knowledge. We present the River Algorithm, a memory consolidation framework inspired by geological sedimentation. Incoming user messages flow through a real-time cognition layer that classifies intent, retrieves contextual memory, and verifies response fidelity. Personal observations then sediment through a multi-layered knowledge lifecycle—entering as suspected facts, accumulating evidence across sessions, graduating to confirmed knowledge through cross-validated promotion, and eventually reverting to a doubt state upon expiration or being superseded when contradicted. An offline purify phase, analogous to sleep consolidation in neuroscience, runs a 12-step pipeline that extracts observations, classifies them against the existing profile, resolves contradictions with full conversational context, manages time-based decay, and generates a trajectory summary of the user's life phase. We describe the architecture and implementation of JKRiver, an open-source personal AI agent. Three case studies demonstrate multi-session fact verification, contradiction resolution, and interest decay with re-mention recovery. Code: https://github.com/wangjiake/JKRiver

Keywords

LLM, temporal decay, memory consolidation, knowledge lifecycle, personal AI agent

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average
Upload OA version
Are you the author of this publication? Upload your Open Access version to Zenodo!
It’s fast and easy, just two clicks!