> ## Documentation Index
> Fetch the complete documentation index at: https://docs.actionmodel.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Memory

> Give your AI agents a second brain. Build persistent knowledge bases that make automations smarter, more personalized, and context-aware across all platforms.

<Frame>
  <img src="https://mintcdn.com/actionmodel/jFI99PYmwIYuoIyk/actionist/images/agentMemoryHero.png?fit=max&auto=format&n=jFI99PYmwIYuoIyk&q=85&s=f313c5f55930a26fdda7b800e19f06bb" alt="Agent Memory Hero Pn" width="1000" height="300" data-path="actionist/images/agentMemoryHero.png" />
</Frame>

## The Second Brain for Your Digital Workforce

<Tip>
  **Intelligence without memory is just reaction.** The Memory System gives your Agent persistent, contextual knowledge that compounds over time. The more your Agent works, the smarter it gets.
</Tip>

Agent Memory transforms your automations from simple task executors into **intelligent, context-aware digital employees** that remember everything about your business, preferences, and relationships between platforms.

Think of it as the difference between a temp worker who needs instructions for everything and a seasoned employee who knows your business inside out.

<Warning>
  **The Game Changer**: Without memory, agents start from zero every time. With memory, they accumulate knowledge, learn preferences, and become exponentially more valuable over time—just like real employees.
</Warning>

## Understanding Agent Memory

<Frame caption="Agent Memory System - Building Intelligence Over Time">
  <iframe width="100%" height="400" src="https://www.youtube.com/embed/h5S4jax3RJY" title="Agent Memory System Overview" frameBorder="0" allowFullScreen />
</Frame>

## Memory Architecture

### The Six Pillars of Agent Intelligence

<CardGroup cols={3}>
  <Card title="Platform Preferences" icon="sliders" color="#9333ea">
    How you like to use each platform, your settings, and personal configurations
  </Card>

  <Card title="Platform Functionality" icon="puzzle-piece" color="#3b82f6">
    How different platforms work, their quirks, and navigation patterns
  </Card>

  <Card title="Relationships" icon="link" color="#10b981">
    How platforms connect to each other and data flows between them
  </Card>

  <Card title="Business Context" icon="building" color="#f59e0b">
    Your company information, products, services, and strategic goals
  </Card>

  <Card title="Personal Style" icon="signature" color="#ec4899">
    Your communication tone, writing style, and decision patterns
  </Card>

  <Card title="Process Knowledge" icon="clipboard-list" color="#8b5cf6">
    Policies, procedures, compliance requirements, and best practices
  </Card>
</CardGroup>

<Frame>
  <img src="https://mintcdn.com/actionmodel/jFI99PYmwIYuoIyk/actionist/images/memoryCategories.png?fit=max&auto=format&n=jFI99PYmwIYuoIyk&q=85&s=9dc3dff0bd1ec970bfd36d9b145b39d8" alt="Memory Categories Pn" width="1000" height="400" data-path="actionist/images/memoryCategories.png" />
</Frame>

## Memory Categories

### Structured Knowledge Organization

<Tabs>
  <Tab title="General Memory">
    **Universal Knowledge Base**

    The default memory section that applies across all workflows:

    * Company information
    * Brand guidelines
    * Common procedures
    * Default preferences
    * Universal shortcuts
    * Cross-platform rules

    **Examples:**

    * "Our company fiscal year ends in March"
    * "Always use British spelling for UK clients"
    * "CEO prefers bullet points over paragraphs"
    * "All reports should include an executive summary"
  </Tab>

  <Tab title="Platform-Specific">
    **Domain-Targeted Intelligence**

    Memories tied to specific websites or applications:

    * Login procedures
    * Navigation shortcuts
    * Platform-specific terminology
    * UI element locations
    * Common error resolutions
    * Workflow optimizations

    **Examples:**

    * "Gmail: Compose button is in top left"
    * "Salesforce: Custom fields are under Advanced"
    * "LinkedIn: Best posting time is 9 AM EST"
    * "Stripe: Test mode toggle is in top right"
  </Tab>

  <Tab title="Workflow Memory">
    **Task-Specific Knowledge**

    Memories attached to individual workflows:

    * Step-specific instructions
    * Variable handling rules
    * Error recovery procedures
    * Success criteria
    * Optimization notes
    * Historical learnings

    **Examples:**

    * "Invoice Processing: Check for duplicates first"
    * "Lead Generation: Skip competitors' employees"
    * "Report Generation: Include last 30 days only"
  </Tab>

  <Tab title="Agent Personality">
    **Behavioral Patterns**

    Defines how your agent behaves and communicates:

    * Communication style
    * Decision-making approach
    * Priority handling
    * Escalation triggers
    * Risk tolerance
    * Work patterns

    **Examples:**

    * "Always be professional but friendly"
    * "Escalate issues over \$10,000"
    * "Prioritize urgent client requests"
    * "Double-check financial data"
  </Tab>
</Tabs>

## How Memories Enhance Workflows

### From Basic to Brilliant Automation

<AccordionGroup>
  <Accordion title="Context Injection at Runtime" icon="syringe">
    **Smart Memory Retrieval**

    When a workflow executes, the system automatically:

    1. Analyzes the current task and platform
    2. Retrieves relevant memories from all categories
    3. Injects context into the agent's decision-making
    4. Prioritizes memories by relevance and recency
    5. Updates execution strategy based on knowledge

    **Impact**: Workflows become 10x more intelligent without any manual configuration
  </Accordion>

  <Accordion title="Cross-Platform Intelligence" icon="share-nodes">
    **Connected Knowledge Graph**

    Memories create relationships between platforms:

    * "Customer in Salesforce = @handle on Twitter"
    * "Project Alpha in Asana = Folder X in Google Drive"
    * "Invoice #1234 in QuickBooks = Contract ABC in DocuSign"
    * "Lead from LinkedIn = Contact in HubSpot"

    **Result**: Seamless automation across disconnected systems
  </Accordion>

  <Accordion title="Learning from Experience" icon="graduation-cap">
    **Continuous Improvement**

    Every workflow execution can update memories:

    * Successful patterns are reinforced
    * Errors create new warning memories
    * Optimizations are automatically noted
    * User feedback becomes permanent knowledge

    **Evolution**: Your agents get smarter with every task
  </Accordion>

  <Accordion title="Personalization at Scale" icon="fingerprint">
    **Unique Digital DNA**

    Memories make each agent unique to your business:

    * Industry-specific terminology
    * Company-specific processes
    * Personal communication style
    * Custom platform configurations
    * Unique workflow patterns

    **Benefit**: No two agents are alike—yours is perfectly tailored
  </Accordion>
</AccordionGroup>

## Creating and Managing Memories

### Three Ways to Build Intelligence

<Steps>
  <Step title="Manual Memory Entry">
    **Direct Knowledge Input**

    Add memories through the dashboard:

    1. Navigate to Memory section
    2. Choose category (General/Platform/Workflow)
    3. Enter memory in natural language
    4. Tag with relevant keywords
    5. Set importance level (Low/Medium/High/Critical)

    **Best for**: Core business knowledge, rules, and preferences
  </Step>

  <Step title="Passive Learning">
    **Let Your Agent Observe and Learn**

    Let your Agent observe your screen as you work. Over time, it absorbs your patterns, preferences, and processes without explicit training:

    * Detects repeated patterns
    * Notes platform-specific behaviors
    * Learns navigation preferences
    * Captures decision criteria
    * Records error resolutions

    **Best for**: Platform functionality and personal preferences. Simply work normally while your Agent watches and learns.
  </Step>

  <Step title="Workflow-Generated">
    **Dynamic Memory Creation**

    Workflows can create memories during execution:

    ```yaml theme={null}
    IF new_client_onboarded:
      CREATE MEMORY: "Client {name} prefers {communication_method}"
      CATEGORY: "Client Preferences"
      IMPORTANCE: "High"
    ```

    **Best for**: Dynamic, execution-based learning
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/actionmodel/jFI99PYmwIYuoIyk/actionist/images/memoryTypes.png?fit=max&auto=format&n=jFI99PYmwIYuoIyk&q=85&s=6fc0621bbc1f515eaf2b5db8328b9ce1" alt="Memory Types Pn" width="1000" height="400" data-path="actionist/images/memoryTypes.png" />
</Frame>

## Memory Types and Formats

### Structured Knowledge Storage

<Tabs>
  <Tab title="Factual Memories">
    **Static Information**

    Concrete facts that don't change:

    * Account numbers
    * API endpoints
    * Company policies
    * Legal requirements
    * Product specifications

    **Format:**

    ```
    Platform: QuickBooks
    Memory: "Company Tax ID: 12-3456789"
    Type: Factual
    Expires: Never
    ```
  </Tab>

  <Tab title="Procedural Memories">
    **How-To Knowledge**

    Step-by-step instructions:

    * Login sequences
    * Navigation paths
    * Form filling procedures
    * Error handling steps
    * Workflow sequences

    **Format:**

    ```
    Platform: Salesforce
    Memory: "To create opportunity: Accounts → New → Opportunity → Fill required fields → Save"
    Type: Procedural
    Expires: On platform update
    ```
  </Tab>

  <Tab title="Conditional Memories">
    **If-Then Rules**

    Decision-making logic:

    * Business rules
    * Approval thresholds
    * Escalation triggers
    * Exception handling
    * Priority matrices

    **Format:**

    ```
    Context: Invoice Processing
    Memory: "IF amount > $50,000 THEN require CFO approval"
    Type: Conditional
    Priority: Critical
    ```
  </Tab>

  <Tab title="Relational Memories">
    **Connection Mappings**

    Links between entities:

    * Cross-platform IDs
    * Data relationships
    * Team hierarchies
    * Project dependencies
    * System integrations

    **Format:**

    ```
    Relationship: "Slack #project-alpha = Asana 'Project Alpha' = Drive '/Projects/Alpha'"
    Type: Relational
    Platforms: [Slack, Asana, Google Drive]
    ```
  </Tab>
</Tabs>

## Memory Security & Privacy

### Protecting Your Digital Intelligence

<Warning>
  **Critical Security**: Memories often contain sensitive information. Action Model implements enterprise-grade security measures to protect your digital brain.
</Warning>

<CardGroup cols={2}>
  <Card title="Encryption at Rest" icon="lock">
    * AES-256 encryption for stored memories
    * Separate encryption keys per organization
    * Hardware security module protection
    * Zero-knowledge architecture
  </Card>

  <Card title="Encryption in Transit" icon="shield-halved">
    * TLS 1.3 for all memory transfers
    * Certificate pinning
    * Perfect forward secrecy
    * Memory isolation between agents
  </Card>

  <Card title="Access Control" icon="user-shield">
    * Role-based memory access
    * Memory compartmentalization
    * Audit logging for all access
    * Granular permission settings
  </Card>

  <Card title="Data Sovereignty" icon="flag">
    * Choose memory storage region
    * GDPR/CCPA compliant
    * Right to deletion
    * Data portability
  </Card>
</CardGroup>

## Memory Analytics

### Understanding Your Knowledge Base

<Info>
  **Memory Intelligence Dashboard**: Track how memories improve automation performance and identify knowledge gaps.
</Info>

| Metric                 | Description                     | Optimal Range |
| ---------------------- | ------------------------------- | ------------- |
| **Memory Utilization** | How often memories are accessed | 70-90%        |
| **Knowledge Coverage** | Platforms with memory data      | >80%          |
| **Memory Accuracy**    | Successful memory applications  | >95%          |
| **Growth Rate**        | New memories per week           | 50-200        |
| **Relevance Score**    | Memory-to-task matching         | >85%          |

## Real-World Memory Applications

### Example 1: Customer Service Excellence

<Tabs>
  <Tab title="Memory Setup">
    **Customer Knowledge Base:**

    ```yaml theme={null}
    General Memories:
    - "VIP clients get priority response within 1 hour"
    - "Always check previous tickets before responding"
    - "Escalate technical issues to Tier 2"

    Platform Memories:
    - "Zendesk: Custom fields under 'Organization'"
    - "Slack: Alert #urgent for P1 issues"
    - "CRM: Customer tier in 'Account Status' field"

    Workflow Memories:
    - "Ticket Response: Check sentiment before replying"
    - "Escalation: Include last 3 interactions"
    ```
  </Tab>

  <Tab title="Impact">
    **Before Memory:**

    * Generic responses
    * Missed VIP escalations
    * Repeated questions
    * 15 min average handling

    **After Memory:**

    * Personalized service
    * 100% VIP recognition
    * Context-aware responses
    * 3 min average handling
  </Tab>
</Tabs>

### Example 2: Financial Operations

<Tabs>
  <Tab title="Memory Setup">
    **Financial Process Knowledge:**

    ```yaml theme={null}
    Compliance Memories:
    - "All transactions >$10K require dual approval"
    - "Month-end close happens on 3rd business day"
    - "Expense reports need receipts for >$25"

    System Memories:
    - "QuickBooks: Sync with bank daily at 6 AM"
    - "Excel: Financial models in 'Q:/Finance/Models'"
    - "Approval workflow: Email → DocuSign → QuickBooks"

    Relationship Memories:
    - "Vendor ABC Inc = Account #12345 = Contact: john@abc.com"
    - "Project budgets linked to Asana project IDs"
    ```
  </Tab>

  <Tab title="Results">
    * **Compliance Rate**: 100%
    * **Processing Speed**: 5x faster
    * **Error Reduction**: 98%
    * **Audit Readiness**: Always prepared
  </Tab>
</Tabs>

## Memory Best Practices

<AccordionGroup>
  <Accordion title="Start with Core Knowledge" icon="foundation">
    Build your memory foundation systematically:

    1. **Company basics**: Mission, values, key information
    2. **Platform access**: Login procedures, navigation
    3. **Common tasks**: Frequent workflow patterns
    4. **Business rules**: Policies, procedures, compliance
    5. **Relationships**: Cross-platform connections
  </Accordion>

  <Accordion title="Regular Memory Maintenance" icon="wrench">
    Keep memories accurate and relevant:

    * Review memories monthly
    * Remove outdated information
    * Update platform changes
    * Consolidate duplicate memories
    * Archive historical memories
  </Accordion>

  <Accordion title="Memory Naming Conventions" icon="tag">
    Use clear, searchable memory titles:

    * ✅ "Salesforce: Create opportunity from lead"
    * ❌ "SF opp process"
    * ✅ "Client ABC Corp: Prefers formal communication"
    * ❌ "ABC notes"
  </Accordion>

  <Accordion title="Security Classifications" icon="shield">
    Classify memories by sensitivity:

    * **Public**: General business information
    * **Internal**: Company procedures
    * **Confidential**: Client data, strategies
    * **Restricted**: Passwords, API keys
  </Accordion>
</AccordionGroup>

## The Future of Agent Memory

### Coming Soon

<CardGroup cols={2}>
  <Card title="Memory Networks" icon="network-wired">
    Agents sharing knowledge across organizations (with permission)
  </Card>

  <Card title="Semantic Search" icon="magnifying-glass-plus">
    Natural language memory queries: "How do we handle refunds?"
  </Card>

  <Card title="Memory Templates" icon="copy">
    Pre-built memory sets for common industries and use cases
  </Card>

  <Card title="AI Memory Generation" icon="sparkles">
    Automatic memory creation from documentation and wikis
  </Card>
</CardGroup>

<Frame>
  <img src="https://mintcdn.com/actionmodel/jFI99PYmwIYuoIyk/actionist/images/gettingStartedMemory.png?fit=max&auto=format&n=jFI99PYmwIYuoIyk&q=85&s=9739d5cb46e4c8c6aa931c8776325f7f" alt="Getting Started Memory Pn" width="1000" height="400" data-path="actionist/images/gettingStartedMemory.png" />
</Frame>

## Getting Started with Memory

<Steps>
  <Step title="Audit Current Knowledge">
    List everything your team knows but your automations don't
  </Step>

  <Step title="Create Memory Structure">
    Organize into categories: General, Platform, Workflow, Process
  </Step>

  <Step title="Input Core Memories">
    Start with the most frequently needed information
  </Step>

  <Step title="Enable Background Learning">
    Let agents observe and learn from daily operations
  </Step>

  <Step title="Monitor and Refine">
    Use analytics to identify gaps and optimize memory usage
  </Step>
</Steps>

<Note>
  **The Compound Effect**: Every memory you add makes all future automations smarter. This is how you build a competitive advantage that compounds over time—your agents become uniquely intelligent about YOUR business.
</Note>

<CardGroup cols={3}>
  <Card title="Memory Templates" icon="download" color="#9333ea" href="/marketplace/marketplace-overview">
    Browse pre-built memory sets
  </Card>

  <Card title="Best Practices" icon="book" color="#3b82f6" href="/actionist/agents-and-workflows">
    Learn memory optimization
  </Card>

  <Card title="Security Guide" icon="shield" color="#10b981" href="/the-large-action-model-lam/security-and-privacy">
    Understand memory protection
  </Card>
</CardGroup>

***

**Agent Memory: Where knowledge becomes permanent, intelligence becomes cumulative, and your digital workforce becomes irreplaceable.**

**Build once. Remember forever. Evolve continuously.**
