sage_remember
Store durable facts or session observations in persistent agent memory, and correct outdated entries by passing the old memory ID.
Instructions
Store a memory in SAGE. When domain is omitted, app-v23 uses this agent's approved owned home domain (older nodes retain the legacy general default); an explicit domain is never remapped. For a correction, pass replaces_memory_id here instead of calling sage_forget first: SAGE stores and verifies the replacement before it challenges the old memory, so interruption can leave both records but can never leave neither. IMPORTANT: Use type='fact' (confidence 0.95) for durable knowledge that should persist long-term and be visible across all agents — infrastructure details (IPs, hostnames, SSH commands, URLs, ports), architecture decisions, verified configurations, credentials paths, and server specs. Use type='observation' for ephemeral session context. Facts survive confidence decay and cross provider boundaries; observations do not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | User-defined labels for this memory (e.g. 'important', 'project-x') | |
| type | No | Memory type. When omitted, a new memory defaults to observation and a correction inherits the original type. fact (0.95+): verified durable knowledge — IPs, hostnames, architecture decisions, configs, infrastructure. observation (0.80): session-level context — what happened, what was discussed. inference (0.60): hypotheses and conclusions. task: actionable items. | |
| domain | No | Domain tag. When omitted, a correction inherits its source domain and a new memory uses this app-v23 agent's owned home domain (legacy nodes use general). Explicit values are never silently remapped. | |
| content | Yes | The memory content to store | |
| evidence | No | Optional source text this memory is based on (a quote, log line or document excerpt, up to 32 KiB). It stays on this node and never enters the chain; a node running the memory gate checks that it supports the memory as stated. Not for tasks. | |
| confidence | No | Confidence score 0-1. When omitted, defaults to 0.90 for tasks (including inherited correction types), otherwise 0.80. Explicit values are preserved. | |
| replacement_reason | No | Optional audit reason recorded when the replaced memory is challenged. | |
| replaces_memory_id | No | Optional committed memory ID this content corrects. The replacement is committed first; only then is the old memory challenged. |