---
schema_version: "1"
id: 53d2ce19957c789a3c9d4b8bc74b8f715d4c195ad8803f0789c5f89f8313a177
title: Add a Memory
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_memory_add.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_memory_add.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: be45dfbbfb1d9849d9f6aa4e6719aba81e4fcf571a129414d3fc9af5fe880d73
description: Add a preference or a detail about your work for an agent to remember, without waiting for the agent to learn it from a conversation.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Add a Memory

Add a preference or a detail about your work for an agent to remember, without waiting for the agent to learn it from a conversation.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions. <a href="https://help.salesforce.com/s/articleView?id=ai.agent_setup_explore_types.htm&amp;release=264.0.0&amp;type=5" title="Learn about agent types and default templates for specific clouds and common use cases.">Required add-on licenses vary by agent type.</a></td></tr></tbody></table>

Add one memory at a time. To add several memories at once from a file, use [Import Memories](https://help.salesforce.com/s/articleView?id=ai.agent_memory_import.htm&release=264.0.0&type=5 "Import memories from a text or markdown file to add memories to a specific agent. Use this to bulk-add memories or restore previously exported memories.").

When you add a memory, you choose who it's for. A memory for one agent is used only by that agent. A memory for All Agents is stored once as a user-level memory, and all of your agents can use it, including agents that you created earlier.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_note.png)

Note Each agent can store up to 50 memories for you, and you can store up to 50 user-level memories. The limits are separate, so the total number of memories across all of your agents can be more than 50. When you reach a limit, the oldest memories are automatically replaced by new ones.

1. Click the Agentforce icon to launch Agentforce.
    
    The Agentforce icon appears in the global header on all pages when Agentforce is enabled for your org.
2. From the Agentforce panel, click **Memory & Preferences**.
3. In **Stored Memories**, click the settings icon, and select **Add Memories**.
    
    ![Stored Memories settings dropdown menu with Add Memories highlighted.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/images/agent_memory_add_memories_dropdown.png)
4. For **Choose Agent**, select who the memory is for.
    
    Select **All Agents**, the default, for information that applies to every agent, such as your role or your preferred language. Select a specific agent for details that apply only to that agent's work.
5. In **Memory**, enter what you want the agent to remember.
    
    For example, enter a preference or a detail about your work, such as `I prefer meeting summaries with key decisions, action items, owners, and due dates.` You can enter up to 1,333 characters. If your memory is longer, shorten it and try again.
    
    ![Create a new Memory dialog with the Add Memory button highlighted.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/images/agent_memory_click_add_memory.png)
6. Click **Add Memory**.

The memory appears in your Stored Memories list. When you view the memories for all of your agents, scroll down to see more. The list keeps loading memories as you scroll.

If you add a memory that's already in your Stored Memories list, the original stays and Agentforce doesn't create a duplicate, even though a success message appears. You don't need to add it again.