Salesforce AI Research Enhances Agentforce Memory with New Framework
Salesforce AI Research developed a framework to improve Agentforce memory performance by tracking what an AI agent remembers, using long conversations with planted facts to evaluate memory accuracy.
Framework for Improving Memory Performance
Salesforce AI Research developed a framework to improve Agentforce memory performance by tracking what an AI agent remembers. The framework generates long, multi-session conversations with specific facts planted along the way, which are then processed through the live Agentforce system. The agent is subsequently asked questions that depend on those facts, allowing researchers to evaluate memory accuracy. These conversations are sourced from ConvoMem, a public benchmark released in 2025. This framework was used to enhance Agentforce Memory, a feature that became generally available in September. The improvement was achieved through an updated memory policy, which dictates what an agent retains about a customer and how it handles changes to that information. The new policy retains more of what a customer says and treats updates as corrections to existing knowledge rather than as additional facts.
Evaluation and Performance Metrics
Evaluation and performance metrics for the Agentforce Memory update highlight significant improvements in recall and context retention. According to Salesforce, the updated policy recalls 1.8 times as many facts stated outright by customers and 2.2 times as many facts that change over time compared to the previous policy. Salesforce notes that the memory of the end-to-end conversation is essentially doubled in quality. This enhancement is critical, as stated in Salesforce, because testing the whole path in production allows for targeted policy improvements rather than system-wide rebuilds. Salesforce emphasizes that this evaluation is essential, as memory must function under real-world conditions, including months of conversation and live data. A Salesforce customer, a travel platform, recently implemented an Agentforce agent that benefits from this improved memory, as noted in Salesforce, enabling sales and service reps to receive personalized, relevant answers. As Salesforce indicates, agent memory is becoming a standard in enterprise systems, much like other critical components.
User Memory Management and Limitations
User Memory Management and Limitations in Agentforce's latest update introduces a structured approach to handling stored information. Each agent is limited to storing up to 50 memories per user, as stated in infallibletechie.com. Users can request to view, delete, or update memory preferences through the User Memory Management subagent, which must be added from the asset library in Agentforce Builder, according to infallibletechie.com. This subagent provides four key actions: retrieving user memories, managing individual memories, checking agent memory preferences, and updating those preferences. When the memory limit is reached, the system automatically deletes the oldest memory to accommodate new ones, as noted in infallibletechie.com. Enabling Agent Memory requires developers to modify the agent's configuration in Agentforce Builder by setting memory: enabled: True within the context block, as outlined in infallibletechie.com. These features aim to give users greater control over their data while ensuring system efficiency.
Memory Implementation and Technical Details
Agentforce's Memory update introduces a structured approach to enabling agents to recall and apply past experiences. Before the agent loop begins, a recall step embeds the current input values and searches the memory space for items with similar keys, allowing the agent to use context from similar past cases. Memories are added manually by users from two sources: either from a trace during an agent run or through feedback. Before adding feedback to the memory space, a semantic similarity search checks for near-duplicates to avoid redundancy. For file inputs, the runtime converts files into text summaries during the recall step, using those summaries as search keys. On later runs, if the agent encounters a situation similar to a past case that meets the similarity threshold, it applies the stored outcome automatically, bypassing the need for human intervention.
Enterprise Memory Architecture and Scalability
In the Enterprise Memory Architecture and Scalability section of the Agentforce Memory update, the team emphasizes the importance of a robust and durable memory foundation for agents. Raw signals are processed through a pipeline that determines whether to add, update, delete, or disregard each memory candidate. Only a small, task-relevant subset of memory is retrieved per interaction, with caching applied to active sessions. This approach aligns with industry memory solutions, where the system extracts memories or insights from an actor-text-blob tuple or actor-text-actor triplet. Memories are derived from diverse sources, not just conversations, and stored in a standard memory object. To ensure quality, write gates are implemented to ensure that only high-quality candidates become part of this memory.
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.