The four types
- Semantic
- Episodic
- Procedural
- Schema
Facts, preferences, decisions, constraints.Semantic memories are the most common type. They represent things the agent knows about the user or world — stable beliefs that persist across sessions.Confidence prior:
0.88 for explicit statements, 0.60 for inferences, 0.45 for behavioural signals.Decay: Slow. Semantic memories decay only when contradicted or left unreinforced for extended periods.Memory tiers
Every memory sits in one of four tiers based on its current confidence score:| Tier | Confidence | Behaviour |
|---|---|---|
| Hot | > 0.85 | Injected into every prompt via context injection API |
| Warm | 0.70 – 0.85 | Returned on relevant recall queries |
| Cold | 0.40 – 0.70 | Returned only on high-relevance queries |
| Archive | < 0.40 | Soft-deleted; recoverable but not retrieved by default |
Evidence types
When you store a memory without an explicit confidence, Engram assigns an initial confidence based on the evidence type:| Evidence Type | Initial Confidence | Example |
|---|---|---|
explicit_statement | 0.88 | ”I prefer dark mode” (user directly stated) |
implicit_inference | 0.60 | Inferred from usage patterns |
behavioral_signal | 0.45 | Detected from indirect signals |