Memory





Pattern
Supermemory Tools
Save and recall facts with Supermemory tools — addMemory and searchMemories in a simple Remember / Recall playground.
BeginnerAug 2026View the full pattern on desktop


Problems solved
- Wire Supermemory provider tools into an AI SDK generateText call
- Remember and recall user facts across turns via Supermemory
- Keep tenant/user container scope server-derived
Use cases
- Personalized assistant prototypes
- Preference memory without a chat UI
- Memory-provider integration demos
AI SDK APIs
generateTextisStepCount
Tags
memorysupermemorytoolspersonalizationlong-term-memoryai-sdk
Requirements
- Node.js
- 24+
- Memory
- 256MB
- Other
- Supermemory API key
- Vercel AI Gateway API key
External services
supermemoryvercel-ai-gateway
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View the pattern on desktopRelated patterns


Web Search Tool
Search the web using OpenAI's tool with real-time results. Includes source verification, citation tracking, and contextual answers.
aiwebsearch+1
View pattern →


Claude Web Search Tool
Search the web with Claude AI. Includes result filtering, multiple search types, and language support.
aiwebsearch+7
View pattern →



