Expand description
PersistenceHook — autonomous persistence after agent execution.
Two-layer evaluation:
- Heuristic: detect markdown documents → auto-save to knowledge (no LLM call)
- LLM Reflection: extract facts/preferences → memory, detect missed knowledge saves
Structs§
- Knowledge
Save Record - Knowledge save record for a session message.
- Knowledge
Write - A planned write to the knowledge vault.
- Memory
Write - A planned write to agent memory.
- Persistence
Hook - Autonomous persistence hook.
- Persistence
Plan - Result of evaluating an execution for persistence.