Memory & Knowledge Store Architecture
Zaya saves all dialogues locally in memory/conversation.db.
Principles of Memory Design
- Zero Preload on Startup: A fresh Zaya session starts clean with 0 Gemini input tokens spent on old history.
- On-Demand Recall: When asked "What were we discussing yesterday?", Zaya queries the local SQLite FTS5 store for at most five relevant messages.
- Structured Knowledge Store: Stores typed entities (PERSON, PROJECT, PREFERENCE, RELATIONSHIP, FACT).