Skip to main content

record_memory

Writes a new observation or memory into your memory for persistent storage. This triggers background distillation: BaseLayer’s dream engine will extract entities and facts from the content asynchronously.

Parameters

Read-only

No. This tool writes to your memory.

Example usage

When to use

  • After a significant decision or discovery
  • When the user says “remember this”
  • When you learn preferences, roles, or working style
  • To save corrections or behavioral feedback for future sessions
For behavioral feedback, structure as: Rule then Why (the reason) then How to apply (when and where this guidance kicks in). This format makes it easy for future AIs to apply the correction correctly.

record_memory vs. vault_fact

  • record_memory is for general notes and observations. Content is distilled asynchronously by the dream engine into entities and facts.
  • vault_fact is for precise, immediate facts linking two entities. The fact appears in the graph right away.
Use record_memory when you have a general observation. Use vault_fact when you know the exact source entity, target entity, and relationship.
A decision you don’t record is a decision the next session will re-make from scratch. When in doubt, record it.