Official SDK

Eve memory

The first installable memory package for Vercel’s Eve agent framework: three one-line mounts wire persistent, per-user memory into any Eve agent directory.

Overview

eve-memorysync turns Eve’s hook, dynamic-instruction, and channel primitives into a complete memory layer. createMemoryHooks() sends the user’s message from message.received to fact extraction with a deterministic content seed, and message.completed sends nothing (assistant replies are not stored) — Eve delivers hooks at-least-once and re-emits fresh event ids on retries, so the content seed is what lets the server recognise a redelivered message and not extract it again. createMemoryInstructions() resolves on turn.started, consumes the inbound utterance from a hardened stash (Eve’s resolver fires before the user text is visible, so the channel records it first via one stashUtterance() call), and injects a labeled, turn-scoped recall block under a 1.2s fail-open budget. Every handler is fully guarded because a thrown Eve hook fails the whole turn. Identity comes from the session auth principal — never from the model. The incumbent integration is copy-paste boilerplate with an unbounded in-process stash, no truncation, no retry convergence, and a shared demo user id; eve-memorysync is an installed package with bounds, budgets, and seeds — and a stash miss degrades to a profile recall instead of a turn without memory.

Setup status and requirements

Supported version
eve-memorysync 1.1.0 (npm)
Last setup review
2026-10-01
Permissions
A MemorySync API key with read and write scopes.
Limits
Node.js 24+ (Eve’s own minimum). Eve is in public beta, so its APIs may change before general availability.
Open setup documentation →

Capabilities

Quick Start

// agent/hooks/memorysync.ts
import { createMemoryHooks } from 'eve-memorysync'
export default createMemoryHooks()
// agent/instructions/memorysync.ts
import { createMemoryInstructions } from 'eve-memorysync'
export default createMemoryInstructions()
// agent/channels/eve.ts — one line in onMessage:
// stashUtterance(ctx, message)

Use Cases

Eve agents that remember users across sessions and channels

Durable Vercel-deployed agents with per-user personalization

Support and copilot agents that recall preferences and past decisions

Guides and related pages

Explore More

Add long-term memory to Eve

Start free with 10,000 add requests a month and no credit card. Memory is stored per end user and comes back in every later session.