memory_remember
Explicitly store user-defined facts to persistent memory for retrieval across sessions. Define subject, predicate, object, and optionally scope and confidence level.
Instructions
Explicitly add a fact to persistent memory. Use when the user says something the engine should remember across sessions (preferences, conventions, project facts). Complements save_outcome reflection, which extracts facts implicitly — this is the explicit, user-driven path. Returns the new fact id, which can be passed to memory_forget later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | Who/what the fact is about. Examples: 'user', 'project', 'this codebase', a person's name. | |
| predicate | Yes | Short verb phrase. Examples: 'prefers', 'uses', 'avoids', 'requires', 'is'. | |
| object | Yes | The concrete value. Example: 'TypeScript with strict mode'. | |
| scope | No | Memory scope. Default 'user' (cross-session, cross-project). Use 'project:<name>' for project-local memory, 'session:<id>' for ephemeral session-only memory. | user |
| confidence | No | 0-1 confidence. Default 1.0 for explicit user remember. Reflection-extracted facts use 0.6-0.8. |