Lightlines
By mem0ai

mem0-vercel-ai-sdk

mem0ai489 installs

Give your Vercel AI SDK app lasting memory.

What it does

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.

How to use it

Give it an application to add memory to; it produces integration code using the wrapped model or standalone utilities.

What you provide

  • An existing project

Uses

Latest review

What you need · 3

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.


Access · 3

This skill

Mem0

Write

Stores prompts in Mem0

OpenAI

Write

Sends memory-enriched prompts to OpenAI