Set up long-term memory
Make AI agents remember your preference or facts from previous interactions and use memories for more focused conversations.
Before you begin
Role required: sn_aia.admin
Procedure
-
Navigate to All > AI Agent Studio > Settings.
-
Select Long-term memory.
[Omitted image "aia-long-term-memory-new.png"] Alt text: The Long-term memory settings page from AI Agent Studio.
-
Configure the User facts and preferences.
-
Turn on the Allow all AI agents to retain user information using the toggle button.
-
Turn on the Allow all AI agents to apply their knowledge in conversations using the toggle button.
-
Turn on the Allow an LLM to identify categories of memories using the toggle button.
-
To view the existing categories of memories, select View.
-
To view the relationships or mappings between AI agents and categories, select View.
-
-
Configure Past executions outcomes by turning on the Allow all AI agents to learn from past executions using the toggle button.
When you want to turn off agent learning from past executions, you will see a confirmation pop up. Selecting Disable will disable agent learning.
[Omitted image "disable-agent-learning.png"] Alt text: Confirmation for disabling agent learning.
---
title: Set up long-term memory
description: Make AI agents remember your preference or facts from previous interactions and use memories for more focused conversations.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/intelligent-experiences/long-term-memory-aia.html
release: australia
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Configure, AI Agent Studio \(legacy\), AI agents and agentic workflows, Enable AI Experiences]
---
# Set up long-term memory
Make AI agents remember your preference or facts from previous interactions and use memories for more focused conversations.
## Before you begin
Role required: sn\_aia.admin
## Procedure
1. Navigate to **All** > **AI Agent Studio** > **Settings**.
2. Select **Long-term memory**.
\[Omitted image "aia-long-term-memory-new.png"\] Alt text: The Long-term memory settings page from AI Agent Studio.
3. Configure the User facts and preferences.
1. Turn on the Allow all AI agents to retain user information using the toggle button.
2. Turn on the Allow all AI agents to apply their knowledge in conversations using the toggle button.
3. Turn on the Allow an LLM to identify categories of memories using the toggle button.
4. To view the existing categories of memories, select **View**.
5. To view the relationships or mappings between AI agents and categories, select **View**.
4. Configure Past executions outcomes by turning on the Allow all AI agents to learn from past executions using the toggle button.
When you want to turn off agent learning from past executions, you will see a confirmation pop up. Selecting **Disable** will disable agent learning.
\[Omitted image "disable-agent-learning.png"\] Alt text: Confirmation for disabling agent learning.
| title | Set up long-term memory |
| description | Make AI agents remember your preference or facts from previous interactions and use memories for more focused conversations. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/intelligent-experiences/long-term-memory-aia.html |
| release | australia |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | ConfigureAI Agent Studio \(legacy\)AI agents and agentic workflowsEnable AI Experiences |