eve agents can now retain context across sessions and use it in future conversations.
Persistent memory is organized into slots. You can define named slots in files under agent/memory/ . Each slot specifies a provider, which stores and retrieves the memory, and a scope, which determines who or what shares it. For example, you can keep separate memory for each authenticated user.
Before each turn, eve retrieves relevant memory and adds it to the model's context. Depending on the provider, memory can be updated automatically after a turn, through tools the agent uses, or through both methods.
To add eve's built-in file memory provider, run:
Add eve’s built-in file memory provider.
The command creates a file memory slot scoped to each authenticated caller:
import { defineMemory } from "eve/memory" ;
import { fileMemory } from "eve/memory/file" ;
import { byPrincipal } from "eve/memory/scope" ;
export default defineMemory ( {
description : "Remember useful details from previous conversations."…