tota automatically extracts memories from your conversations and stores them in a local SQLite database with full-text search. Every session builds on what it learned before.

#Memory types

TypeDescriptionScope
identityWho you are — name, role, background, skillsDurable
preferenceHow you like things done — style, format, tool choicesDurable
goalSomething you're actively working towardDurable
projectA project goal, structure, stack, or constraintDurable
habitRepeated patterns in how you workDurable
decisionA choice made and its rationaleDurable
constraintA hard limit, rule, or non-negotiableDurable
relationshipA person, team, or organization you work withDurable
episodeA notable event, milestone, or past outcomeDurable
reflectionAuto-generated summaries tota creates by consolidating related memoriesDurable

#How it works

  1. Extract — After each response, tota scans the conversation for notable information
  2. Score — Assigns confidence, importance, and durability scores to candidates (min confidence: 0.55 to store)
  3. Merge — Near-duplicates (≥74% similarity) are consolidated into existing memories rather than stored twice
  4. Recall — Before responding, retrieves the most relevant memories via FTS5 full-text search
  5. Decay — Confidence degrades slowly over time for stale memories; confirmed memories gain confidence

All data is local: ~/.tota/memory/second-brain/. Nothing is sent to the cloud.

#Evidence kinds

Each memory record tracks how the information was learned:

Evidence kindMeaning
directYou stated it explicitly
inferredtota concluded it from conversation context
manualAdded via the /memory menu or vault
systemSet programmatically (e.g., from scheduled tasks)

#Manage memories

Type /memory during any conversation to open the interactive memory manager:

  • Overview — total count, learning status, profile summary
  • Recent Memories — last 10 memories with confidence and evidence kind
  • Search — full-text search across all memories
  • Pause / Resume Learning — stop tota from storing new memories temporarily
  • Clear All — permanently delete all stored memories
⚠️

Clear All is irreversible. All extracted memories will be deleted permanently.

#Conflict resolution

When tota encounters a new fact that contradicts a stored memory, it compares confidence scores: the higher-confidence value wins. If confidence is equal, the newer record wins. The old value is noted for transparency.

Evidence kinds tracked: direct, inferred, manual, system.