Skip to content

Proactive Triggers

Every proactive message from YantrikDB is grounded in real memory data. The system doesn’t message to increase engagement — it messages because something meaningful changed.

TriggerWhat fires itExample
Decay ReviewImportant memory about to fade”I’m fuzzy on your new coworker’s name”
Consolidation ReadyCluster of related memories detected”I noticed you always feel better after talking to your sister”
Conflict EscalationUnresolved contradiction aging”You mentioned two different moving dates”
Pattern DiscoveredNew behavioral pattern mined”You seem stressed every Sunday evening”
Temporal TriggerTime-based event approaching”Your mom’s birthday is tomorrow”
Entity AnomalyUnusual graph change detected”You stopped mentioning the gym two weeks ago”
RulePurpose
Cooldown periodsNo messaging every hour
Priority thresholdOnly reach out when it matters
Time-of-day awarenessDon’t message at 3am
User-controlled frequency”Check in weekly” vs “only urgent”
Groundedness requirementEvery message must trace to real memories

The think() method runs the full cognition cycle:

  1. Consolidation pass — compress, summarize, abstract
  2. Conflict detection — find contradictions
  3. Pattern mining — discover behavioral patterns
  4. Trigger evaluation — anything worth reaching out about?
  5. Decay pass — age out low-importance memories