memory_add
Store a durable memory such as a user preference or project fact that persists across sessions and becomes immediately searchable.
Instructions
Store a durable memory that will survive across sessions.
Use this to remember a user preference, project fact, decision, procedure,
or lesson worth recalling later — not transient chat. Content is de-duplicated
softly by the engine and becomes searchable immediately. Returns the new
memory's stable `id` and stored `content`.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Kind of memory: 'preference', 'fact', 'procedure', 'environment', 'decision', 'warning', or 'note'. | note |
| owner | No | Owner id the memory belongs to. Defaults to this server's AGENT_MEMORY_AGENT_ID, else 'default'. | |
| scope | No | Lifecycle label used for graph coloring and filtering: 'user', 'agent', 'project', 'team', or 'global'. Does NOT set access control (use visibility for that). | user |
| content | Yes | The fact to remember, as a self-contained sentence (e.g. 'The user prefers dark mode.'). Write it so it makes sense on its own in a future session. |