memlocal logo

memlocal

your AI's memory belongs on your device.

memlocal mirrors the atkinson-shiffrin multi-store model and uses tulving-inspired long-term categories. transient buffers handle what is happening now; typed long-term memories handle what should persist.

transient memory

short-lived state that supports immediate perception and reasoning.

sensory buffer

ttl: 5 seconds

raw input before processing

working memory

ttl: 5 minutes

current reasoning scratchpad

conversation buffer

ttl: 5 minutes

recent messages used for coherence


long-term memory

eight persistent memory types with distinct decay rates and retention profiles.

episodic

decay λ: 0.005half-life: ~139 days

events, experiences, meetings, trips

factual

decay λ: 0.002half-life: ~347 days

preferences, personal details, stable facts

semantic

decay λ: 0.002half-life: ~347 days

general knowledge, learned concepts

procedural

decay λ: 0.002half-life: ~347 days

workflows, skills, routines, how-to knowledge

social

decay λ: 0.003half-life: ~231 days

relationships, people, team dynamics

spatial

decay λ: 0.005half-life: ~139 days

locations, places, addresses

prospective

decay λ: 0.020half-life: ~35 days

reminders, future intentions, follow-ups

affective

decay λ: 0.005half-life: ~139 days

emotions, moods, feelings, sentiment

each stored memory carries content, type classification, speaker attribution, confidence, semantic triples, embeddings, temporal validity, and usage metadata.