Long-term Memory

YouClaw's memory system allows the AI assistant to remember your preferences, habits, and context across conversations, delivering a truly personalized experience.

How It Works

YouClaw automatically extracts key information from conversations and stores them as structured memories:

  • User Preferences — Your preferred language style, work patterns, etc.
  • Project Context — Projects you're working on, tech stacks you use
  • Interaction History — Important conclusions and decisions from previous chats

Memory Types

Short-term Memory

Context within the current conversation, ensuring AI stays coherent throughout a single session.

Long-term Memory

Persistent information across conversations, so AI remembers your preferences in new sessions.

Privacy Protection

  • All memory data is stored locally on your device
  • You can view, edit, or delete any memory at any time
  • AI never uploads your memory data to the cloud

Usage Example

User: I prefer writing code in TypeScript
AI: Noted! I'll prioritize TypeScript when generating code for you.

--- New conversation ---

User: Write a sorting function for me
AI: Sure, here it is in TypeScript:
function sortArray<T>(arr: T[], compareFn?: (a: T, b: T) => number): T[] {
  return [...arr].sort(compareFn);
}