π§ Episodic memory engine for LLMs β persistent, associative, and beyond context windows.
KΕhaku (η₯η) β amber, preserved in time.
Like insects trapped in amber, memories are captured, compressed, and preserved β not lost to context limits.
KΕhaku is a neural episodic memory system:
- Stores experiences as HDC hypervectors
- Retrieves via associative similarity
- Works as a drop-in memory layer for any LLM
Not:
- β RAG
- β vector database
But:
β learned memory with recall
LLMs forget.
- Context windows are finite
- RAG loses nuance
- Summaries lose detail
There is no true memory system.
- Hyperdimensional computing (HDC)
- Associative memory / Hopfield networks
- Memory-augmented architectures
- Episodic vs semantic memory
- π¦ Rust core β high-performance HDC engine
- π Python API β LLM integration
pip install kohakufrom kohaku import Memory
mem = Memory()
mem.store("User prefers Italian wine")
mem.query("What does the user like?")Give models memory β not just context.