Give your Vercel AI SDK app lasting memory.
Guides integration of persistent memory into Vercel AI SDK applications with working provider and utility code.
When to use it
Use for Mem0 integrations with Vercel AI SDK, including generateText, streamText, and Next.js applications needing memory.
Give it an application to add memory to; it produces integration code using the wrapped model or standalone utilities.
What you provide
Requires Node.js 18 or later.
Uses the Mem0 API key from the environment alongside an LLM provider key; standalone utilities can alternatively receive mem0ApiKey in their configuration.
This skill
Mem0
Stores prompts in Mem0
OpenAI
Sends memory-enriched prompts to OpenAI