Add Supermemory
Start with an existing Eve project, Node.js 24 or newer, and an Eve version compatible witheve@^0.47.3.
1
Add the provider
Run this from your Eve project:Eve installs
@supermemory/eve and creates agent/memory/supermemory.ts, the file that connects your agent to Supermemory.2
Connect your Supermemory account
Create an API key in the Supermemory console and add it to your project’s environment:
.env.local
3
Start your agent
Start or restart Eve to load the provider and API key:Automatic recall and conversation capture are enabled by default. The memory tools are available to your agent alongside its existing tools.
How memory works
Two conversations about the same launch show the three parts working together: session history, indexed sources, and memories. After a successful turn, the provider saves the user and assistant messages as session history. Supermemory processes that conversation into durable memories, such as the launch date or the decision to keep the first release web-only. Capture is automatic; processing happens asynchronously. Files take a separate path. When Eve works with an attachment, URL, or text, SuperRAG parses or transcribes it into an indexed source the agent can read. Eve can then save a useful conclusion as a memory, retaining the source document’s ID. In the example, the budget stays connected to the launch brief. Before a later turn, the provider loads the user profile and searches for relevant saved context. Eve can read an earlier session or follow a source-backed memory to the original document when it needs more detail. The new conversation can then use both the earlier decision and the evidence behind it. Recall also runs after context compaction.Memory tools
The provider gives Eve seven tools alongside automatic recall and capture. The generated file is namedsupermemory.ts, so Eve prefixes their names with supermemory__.
Tool reference
Tool reference
Forgetting saved memories
Forgetting saved memories
Eve can find a specific memory with
search and remove it with forget. For a broader request, forget_matching supports a dry run that returns candidate memories. Its tool instructions tell Eve to show that preview, ask you to confirm, and remove the exact IDs you approved.Forgetting removes derived memories. The original session history and source documents remain stored.Choose whose memory Eve uses
The generated memory file uses Eve’sbyPrincipal scope. In an authenticated application, memory follows the caller’s identity. During eve dev, it uses the shared local-dev scope. Outside local development, anonymous and runtime principals have memory disabled.
For a team or multi-tenant application, derive the scope from verified user and tenant identity. Eve resolves that scope before the provider runs, so the agent’s tools cannot choose another user’s memory. See Eve’s multi-tenant memory guide.
Eve also supplies a default namespace for the memory slot. You only need to set namespace yourself when you want a custom memory domain. Keep it stable: changing it selects a different memory space. Eve’s namespace documentation explains the defaults and how to share a domain intentionally.
Configure the provider
Edit the options passed tosupermemory(...) in agent/memory/supermemory.ts. The generated file only needs your API key; the defaults enable automatic search and capture.
You can adjust those behaviors independently. Set autoSearch.enabled to false to disable automatic search while keeping profile recall. Set capture.enabled to false to stop saving completed turns automatically. Both settings leave the explicit memory tools available.
Provider options and defaults
Provider options and defaults
Namespace, description, and scope are Eve memory-slot settings. Configure them on
defineMemory(...), outside the provider options.Manual installation
If you prefer to create the memory file yourself, install the package in your Eve project:eve add generates:
agent/memory/supermemory.ts
SUPERMEMORY_API_KEY in .env.local and start your agent as described in Add Supermemory.
For implementation details, see the provider repository and Eve’s Supermemory integration.