MemoGrafterAgent
remember()
Store an explicit natural-language fact or preference.
What it does
Store an explicit natural-language fact or preference.
Use this for an explicit fact that should enter memory without first appearing as a user/assistant exchange. Extraction and lifecycle rules still apply.
Signature
TypeScript
remember(text: string, options?: RememberOptions): Promise<void>Parameters
text (string) — Raw text to analyze and convert into memories.options? (RememberOptions) — Optional limits, filters, tags, or operation-specific behavior.Result
The requested identifier or text value.
Example
example.ts
await agent.remember("My preferred editor is Neovim.");