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

More AI tasks

Back to the full Cursor cheat sheet