HippocampAI

Memory that travels on a USB drive

BrainVault adds an encrypted, portable vault to the HippocampAI memory engine.

What the team added, and what it builds on

  • BrainVault

    Writes every memory to a USB drive as encrypted files, and restores them.

    export_to_usb.py
  • Agentic chat

    Redis holds the last 20 turns. The agent decides which statements to keep.

    brain_flow
  • Recall

    Hybrid search across vectors and BM25, reranked by a cross-encoder.

    the HippocampAI engine

Runner-up at the SanDisk Hackathon

teams entered, across four VIT campuses
1,000+
shortlist the team reached
Top 50
final placing, as first runner-up
2nd
prize, in rupees
50,000

Built from one survey of implicit, explicit and agentic memory in language models.

Out to the drive, and back

Export

  1. The API hands over every memory.
  2. Fernet encrypts them from your password.
  3. Timestamped files land on the drive.

Restore

  1. The latest export is found.
  2. It is decrypted to JSON.
  3. Any running instance ingests it.

Store and recall in ten lines

Install the package, then remember and recall.

Open the quick start
pip install "hippocampai[saas]"

from hippocampai import MemoryClient

client = MemoryClient()
client.remember(
    "I prefer working remotely on Tuesdays",
    user_id="alice",
    type="preference",
)
results = client.recall("work preferences", user_id="alice")
print(results[0].memory.text)
From the repository README.