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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Long-term memory categories for Now Assist AI Agents

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

Release version: Brazil  
Updated September 10, 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 Now Assist AI enable agents to learn, store, and recall user-specific semantic information over time.
This capability personalizes agent interactions by retaining context such as software preferences, work environment details, and communication styles.
LTM categories are globally defined and mapped to specific AI agents, controlling what information each agent learns and recalls during user engagements.
Show full answer Show less  

## How LTM Categories Work

During each interaction, the platform evaluates user-specific facts against the agent's mapped LTM categories. Matched facts are stored as semantic memory records in the AI Agent Memories table, scoped by user and category. On future interactions, the agent retrieves these relevant memories to provide personalized responses without requiring the user to repeat information.

## Default and Custom Categories

The platform includes default LTM categories that capture common user context:

* **Software and tools:** Information about user applications and software configurations.
* **Work context:** Details about user roles, departments, locations, and workplace preferences.
* **User preferences:** Communication and interaction style preferences.

Organizations can extend these by creating custom categories tailored to specific use cases.

## Memory Extraction and Management

Memory extraction uses an LLM prompt to identify facts matching category descriptions during agent interactions. Extracted facts are stored as JSON objects with fields for category, user, and memory type (set to Semantic). Semantic memories are retrieved via retrieval-augmented generation (RAG) at runtime and injected into agent prompts to enhance response personalization.

## Considerations for Effective Use

* Write clear, specific category descriptions to improve LLM extraction accuracy and reduce false positives or missed data.
* Map only relevant LTM categories to each agent to optimize processing time and maintain performance.
* Verify extracted semantic memories by filtering the AI Agent Memories table for Type = Semantic and the relevant agent or user.  
Long-term memory (LTM) categories define the types of semantic information that a Now Assist 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-new__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-new__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-new__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-new__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-new__ul_css_243_q3c}

