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.
Capabilities
- The FIRST installable Eve memory package — npm install, three one-line mounts
- Idempotent seeds — Eve’s at-least-once hook retries converge, never duplicate
- Turn-scoped recall block — replaced each turn, 1.2s fail-open budget
- Hardened utterance stash: TTL, bounded, create-session queue handoff
- Stash misses degrade to a profile recall — never a memory-less turn by surprise
- A memory failure can never fail the turn — every handler is guarded
- Identity from the session auth principal — the model can never pick the user
- search_memories tool is search-only — no deletes exposed to the model
Quick Start
// agent/hooks/memorysync.tsimport { createMemoryHooks } from 'eve-memorysync'export default createMemoryHooks()// agent/instructions/memorysync.tsimport { 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.