Memories in AI
From the Cursor cheat sheet ยท Context Management ยท verified Jul 2026
Memories
AI learns from your conversations
bash
# Memories are automatically generated
- Created from chat conversations
- Project-scoped context
- User approval required
# Management
Cursor Settings > Rules > Memories
- View all memories
- Edit or delete memories
- Control auto-generation
# Memory format
"Always use error-first callbacks in Node.js"
"Prefer named exports over default exports"
"User prefers functional components"bash
// EXAMPLE: Memory generation
You: "Always use Zod for validation"
Cursor: "I'll remember to use Zod for validation"
[Memory saved for project]
// Future conversations:
You: "Add validation to this API"
Cursor: [Automatically uses Zod based on memory]๐ก Memories improve AI responses over time
โก Project-specific learning
๐ Review memories in settings
๐ Explicit approval before saving
memorieslearningcontext