Give Eve agents a first-class Mem0 recall/capture provider so they can use Mem0 in the agent loop instead of MCP. Co-authored-by: Cursor <cursoragent@cursor.com>
Eve registry contribution
These files are the Mem0 side of eve add memory/mem0. They are not published in the npm tarball. Copy them into a PR against vercel/eve after @mem0/eve is on npm.
Supermemory's version of this change is vercel/eve#2775. Eve already asked Mem0 to own the package and open that PR.
What the Eve PR should do
- Add a
kind: "memory"catalog item namedmem0. - Install
@mem0/eveand declareMEM0_API_KEY. - Write
agent/memory/mem0.tsfrommem0.ts. - List Mem0 on eve.dev/docs/memory next to Supermemory and Upstash.
item.json is the shadcn-registry shape Eve uses for eve add. Adapt field names to Eve's current catalog schema if it has moved since this was written.
Suggested install command
eve add memory/mem0
Suggested docs snippet
import { mem0Provider } from "@mem0/eve";
import { defineMemory } from "eve/memory";
import { byPrincipal } from "eve/memory/scope";
export default defineMemory({
description: "Recall and manage durable context for the current user.",
provider: mem0Provider({
apiKey: process.env.MEM0_API_KEY!,
}),
scope: byPrincipal,
});