Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mnemo.remember

Store a new memory record with optional metadata, tags, and relationships.

Input Schema

FieldTypeRequiredDescription
contentstringyesThe memory content to store
agent_idstringnoAgent identifier (uses server default)
memory_typestringnoepisodic, semantic, procedural, strategic
scopestringnoprivate, shared, global
importancenumberno0.0-1.0 importance score (default 0.5)
tagsstring[]noSearchable tags
metadataobjectnoArbitrary JSON metadata
source_typestringnoconversation, tool_output, reflection, etc.
source_idstringnoReference to source (e.g., message ID)
related_tostring[]noUUIDs of related memories (creates graph edges)
org_idstringnoOrganization scope
thread_idstringnoConversation thread ID
ttl_secondsnumbernoTime-to-live in seconds
decay_ratenumbernoCustom decay rate for importance
created_bystringnoCreator identifier

Response

FieldTypeDescription
idstringUUID v7 of the created memory
content_hashstringSHA-256 hash of the content

Example

{
  "content": "User prefers dark mode and larger fonts",
  "memory_type": "episodic",
  "importance": 0.8,
  "tags": ["preferences", "ui"]
}