You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Top 50 out of 1000+ teams across VIT Vellore, VIT Chennai, VIT AP, and VIT Mauritius.
About This Project
HippocampAI is an agentic memory system that gives AI assistants persistent, human-like recall across sessions — inspired by how the brain's hippocampus stores and retrieves experience.
We built and extended this platform for the SanDisk Hackathon in Vellore, designing an agentic AI memory layer with a portable BrainVault — encrypted memory that lives on USB storage, survives device changes, and restores into any running HippocampAI instance.
Research foundation: Our hackathon solution was shaped by The AI Hippocampus: How Far are We From Human Memory? (Jia et al., 2026) — a survey on implicit, explicit, and agentic memory paradigms in LLMs and multimodal systems.
This repo is our customized implementation and demo codebase — the HippocampAI agentic memory engine we built for the SanDisk Hackathon.
Hackathon Highlights
Event
SanDisk Hackathon — Vellore
Result
🥈 1st Runner-Up (₹50k)
Scale
1000+ teams → Top 50 → Final placement
Theme
Agentic AI + portable memory on external storage
Approach
Research paper → architecture design → full-stack demo under time pressure
Team
Name
Fawaz
Vishvadharman Saminathan
Gokul R
Nadia Naureen
Thanks to: Sandisk for hosting the event, and mentors/judges Venkatesh Duraisamy, Shreyas Budgur, Ramanathan Muthiah, Dinesh Khanna, and Lokesh Babu for their guidance.
Our Custom Features (SanDisk / BrainVault)
These are the hackathon-specific modules we built on top of HippocampAI — the core differentiators for portable, agentic memory.
🧠 BrainVault — Encrypted USB Memory Vault
Feature
Description
USB memory export
Pull all user/session memories from the HippocampAI API and write them to a SanDisk USB drive as timestamped .enc files
Fernet encryption
Password-derived SHA-256 key encryption — memories are never stored in plain text on the drive
USB memory restore
Auto-detect the latest export on the drive, decrypt, and re-ingest memories via memories:remember
Standalone decrypt tool
Inspect or verify encrypted exports offline without running the full stack
BrainVault folder layout
Organized exports/, backups/, and uploads/ paths mounted into the API container
HippocampAI API ──export──▶ Fernet encrypt ──write──▶ USB (BrainVault/exports/*.enc)
USB (BrainVault) ──decrypt──▶ JSON memories ──restore──▶ HippocampAI API
🤖 Agentic Chat Pipeline (brain_flow)
Feature
Description
Dual-layer memory
Redis for short-term chat context (last 20 turns) + HippocampAI for long-term vector memory
Smart remember gate
Agent decides what to store — skips questions, stores statements with project/AI/USB keywords
Relevance-filtered recall
Only injects memories above a similarity threshold; filters out question-shaped noise
Context assembly
Combines recent chat + recalled long-term memories into a structured LLM prompt
Local LLM support
Runs against LM Studio (qwen3.5-9b) for fully offline inference
Inspired by the agentic memory paradigm from the AI Hippocampus survey: persistent, temporally extended memory structures that enable long-term planning, self-consistency, and personalized inference across devices.
fromhippocampaiimportMemoryClientclient=MemoryClient()
client.remember(
"I prefer working remotely on Tuesdays and drink oat milk coffee",
user_id="alice",
type="preference",
)
results=client.recall("work preferences", user_id="alice")
print(results[0].memory.text)
cd frontend && npm install && npm run dev # http://localhost:5173
Brain Chat UI (Gradio — local tooling)
pip install gradio redis cryptography matplotlib psutil pywin32
python chat_ui.py # launches Brain Chat with USB export + health panel
Export memory to USB
python export_to_usb.py # encrypts and writes to BrainVault/exports/
python restore_from_usb.py # decrypts latest .enc and restores to API
python decrypt_usb_memory.py # inspect an encrypted export offline
python usb_health.py # check USB write speed and drive health
Agentic memory — persistent, temporally extended structures for autonomous agents
Our hackathon solution focused on bridging explicit and agentic memory — giving agents durable, encrypted, portable recall that survives across sessions, devices, and USB drives.
Use Cases
Personal AI assistants — remember preferences and context across conversations and devices
Portable edge AI — export encrypted memory to USB, plug into any machine, restore instantly
Offline-first agents — LM Studio + local HippocampAI + Redis with no cloud dependency
Multi-agent systems — shared memory spaces for coordinated agent teams