Browse documentation

Memory & Knowledge Store Architecture

Zaya saves all dialogues locally in memory/conversation.db.


Principles of Memory Design

  1. Zero Preload on Startup: A fresh Zaya session starts clean with 0 Gemini input tokens spent on old history.
  2. On-Demand Recall: When asked "What were we discussing yesterday?", Zaya queries the local SQLite FTS5 store for at most five relevant messages.
  3. Structured Knowledge Store: Stores typed entities (PERSON, PROJECT, PREFERENCE, RELATIONSHIP, FACT).

Something unclear or not working?

Troubleshooting guide ↗Report a problem ↗