Persistent memory for eve agents
Vercel’s eve agents now support persistent memory, allowing context retention across sessions via configurable slots and supported providers.
Vercel has introduced persistent memory for eve agents, enabling them to retain context across sessions and apply it in future interactions. Memory is structured into named slots, each defined in files under the agent/memory/ directory. Each slot specifies a provider responsible for storing and retrieving memory, as well as a scope that determines accessibility, such as per authenticated user. Before each conversation turn, relevant memory is retrieved and integrated into the model's context to inform responses.
The memory system supports multiple providers, including file-based storage, Supermemory, Upstash AgentKit, and Kybernesis Arcana. For agents deployed on Vercel, file memory uses a private Vercel Blob store, ensuring persistence across restarts and deployments. Other providers handle memory updates either automatically after a turn or through agent tools, or both, depending on configuration.
Users can configure file memory separately for each authenticated user, tailoring memory retention to individual needs. Custom providers can also be built to connect additional storage systems or memory services, offering flexibility in how memory is managed. The system allows memory to be updated dynamically, either through automated processes or agent-driven tools, ensuring relevance over time.
To implement persistent memory, developers must select a provider and define memory slots in the agent/memory/ directory. The documentation provides guidance on configuring providers and integrating memory into eve agents. This feature aims to enhance continuity in agent interactions by preserving context beyond individual sessions.