Problems solved
- Persist user facts across sessions
- Inject per-user context before every model turn
- Keep tenant and user scope out of the model's hands
- Gate destructive memory operations behind human approval
Use cases
- Remembering durable user preferences
- Personalizing future agent sessions
- Building tenant-isolated assistant memory
- Testing approval-gated memory deletion
Setup
Requirements, wiring steps, and what this pattern adds to your project.
Requirements
- Complexity
- Intermediate
- Setup time
- ~10 minutes
- Node
- 24+
- Memory
- 256MB
Getting started
Pick how you want to pull this pattern in — then wire env vars and routes the same way.
- 1
Install into an empty project directory

Copy the tokenized install command from the preview toolbar and run it in an empty directory so the Eve package and agent tree stay together.
- 2
Install dependencies and run the verification suite
With Node.js 24+, run `pnpm install`, `pnpm verify:discovery`, `pnpm typecheck`, `pnpm build`, and `pnpm eval`.
- 3
Run the Eve development server
Run `pnpm dev` after every verification gate passes.
Files added
20 files.gitignore.node-versionagent/agent.tsagent/channels/eve.tsagent/instructions.mdagent/instructions/memory.tsagent/lib/memory-store.tsagent/lib/tenant.tsagent/tools/forget.tsagent/tools/list_memories.tsagent/tools/remember.tsevals/cross-session-persistence.eval.tsevals/evals.config.tsevals/forget-with-approval.eval.tsevals/helpers.tsevals/remember-and-recall.eval.tsevals/tenant-isolation.eval.tspackage.jsonREADME.mdtsconfig.json
Dependencies
3 totalnpm packages
3









