---
sourceDocument: Australia Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/intelligent-experiences

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Long-term memory categories for AI Agents

# Long-term memory categories {#ariaid-title1}

Release version: Australia  
Updated March 18, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Long-term memory categories

Long-term memory (LTM) categories in ServiceNow define types of semantic information that AI agents can learn and retain about users over time.
By adding and mapping these categories to specific agents, you enable personalized agent responses based on accumulated user context.
LTM categories organize semantic memories stored in the AI Agent Memories table (snaiamemorylist), representing distinct user-specific information such as software preferences, work context, or communication style.
Show full answer Show less  

## How LTM categories work

During agent interactions, the platform evaluates user-specific facts against the agent's mapped LTM categories. Matching facts are stored as semantic memory records scoped to the user and category. On future interactions, agents retrieve these memories to personalize responses without requiring users to repeat context. LTM categories are defined globally and must be explicitly mapped to agents to control what information is learned and used.

## Default categories and customization

The platform includes default LTM categories:

* **Software and tools:** Information about user applications, tools, and software configurations.
* **Work context:** Details on user role, department, location, and workplace preferences.
* **User preferences:** Communication preferences and interaction style.

Customers can create custom categories tailored to their organizational needs to capture additional semantic information.

## Memory extraction and usage

Memory extraction uses an LLM prompt to evaluate interactions against category descriptions. When matched, a semantic memory record is created or updated in the AI Agent Memories table with fields for category, user, memory content (as JSON), and type set to Semantic. These semantic memories are retrieved at runtime with retrieval-augmented generation (RAG) and injected into agent prompts to enhance personalization.

## Practical considerations

* Clear and specific category descriptions improve extraction accuracy and reduce errors.
* Mapping too many categories to one agent can slow extraction processing; only map categories relevant to the agent's purpose.
* To verify semantic memories, filter the AI Agent Memories table by Type = Semantic and relevant user or agent.  
Long-term memory (LTM) categories define the types of semantic information that an AI agent can learn and retain about users over time. You can add new categories and map them to specific agents to personalize agent responses
based on accumulated user context.

Semantic memory in the AI agent Memories table (`sn_aia_memory_list`) is organized by LTM categories. Each category represents a distinct type of user-specific information, such as software preferences, workplace
context, or communication style. By mapping categories to an agent, you control what the agent learns and retains across interactions.

## How LTM categories work {#aia-ltm-categories__section_ltm_overview}

When an agent executes, the platform evaluates the interaction for user-specific facts that match the agent's configured LTM categories. Matched facts are stored as semantic memory records in the AI Agent Memories \[sn_aia_memory\]
table, scoped to the user and category. On subsequent interactions, the agent retrieves relevant semantic memories and uses them to personalize its responses without requiring the user to repeat context.

LTM categories are defined globally and can be mapped to one or more agents. An agent only learns and retrieves memories for the categories explicitly mapped to it.

## Default LTM categories {#aia-ltm-categories__section_default_categories}

The platform includes the following default LTM categories:

Software and tools
:   Captures information about applications, tools, and software configurations relevant to the user, such as operating system version or approved applications.

Work context
:   Captures facts about the user's role, department, location, and workplace preferences, such as remote work setup or team structure.

User preferences
:   Captures communication preferences and interaction style, such as preferred language, response format, or notification settings.

You can extend this list by creating custom categories suited to your organization's use cases.

## How categories affect memory extraction {#aia-ltm-categories__section_extraction_behavior}

During memory extraction, the platform runs an LLM prompt that evaluates the agent interaction against the descriptions of each mapped LTM category. If the interaction contains information that matches a category, a semantic memory
record is created or updated in the AI Agent Memories table with the following fields:

Category
:   The LTM category that the memory is associated with.

User
:   The user whose interaction generated the memory.

Memory
:   The extracted user-specific fact, stored as a JSON object.

Type
:   Set to Semantic for category-based memories.

Semantic memories are retrieved at runtime using retrieval-augmented generation (RAG) and injected into the agent prompt to personalize the response for the current user.

## Considerations {#aia-ltm-categories__section_considerations}

* Category descriptions directly influence LLM extraction quality. Use specific, unambiguous language to reduce false positives or missed extractions.
* Mapping too many categories to a single agent can increase extraction processing time. Map only the categories relevant to the agent's use case.
* To verify that semantic memories are being extracted, open the AI Agent Memories table and filter by Type = Semantic and the relevant agent or user.
{#aia-ltm-categories__ul_css_243_q3c}

