MemorySync
Official SDK

Eve + MemorySync

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() persists both sides of every turn from message.received and message.completed with deterministic idempotency seeds — Eve delivers hooks at-least-once and re-emits fresh event ids on retries, so seed convergence is the difference between one stored row and duplicates. 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.0.0 (npm)
Last setup review
2026-08-25
Permissions
A MemorySync API key with read and write scopes.
Limits
Node.js 24+ (Eve’s own minimum). Eve is in public beta; the package pins the eve version it is tested against.
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

Explore More

Built for production AI systems

Build AI systems that remember

MemorySync provides the infrastructure layer for persistent memory, adaptive retrieval, and enterprise AI intelligence.

Start free. No credit card required.