memory_encode
Persist an AI agent's memory with optional emotional affect, tags, context, and salience, enabling structured recall and consolidation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional tags for categorization | |
| affect | No | Emotional affect - how this memory feels | |
| source | Yes | Source type of the memory | |
| content | Yes | The memory content to encode | |
| context | No | Situational context as key-value pairs (e.g., {task: "debugging", domain: "payments"}) | |
| private | No | If true, memory is only visible to the AI and excluded from public recall results | |
| salience | No | Importance weight 0-1 | |
| wait_for_consolidation | No | If true, wait for post-encode validation/interference/resonance work before returning. Defaults to false. |