Overview
Agent Memory allows your AI agent to remember information about contacts across conversations. When someone calls or texts back, the agent automatically recalls their history, preferences, and past topics discussed - enabling personalized, contextual service.


“Hi Sarah! Good to hear from you again. Last time we spoke about your order #4521 - did that arrive okay?”
How It Works
What Gets Remembered
Summary
An AI-generated summary of the relationship with this caller:Key Topics
Important subjects discussed across conversations:order issuesrefund requestproduct questionsbilling inquiryappointment scheduling
Preferences
Caller’s stated preferences and communication style:Interaction History
- Number of conversations
- Recent call IDs
- When they last called
Enabling Memory
Memory starts building immediately. After each call or SMS conversation, the agent automatically updates the contact’s memory.
Configuration
Memory Settings
| Setting | Description | Default |
|---|---|---|
| Max History Calls | Number of recent calls to consider when building context | 5 |
| Include Summaries | Add relationship summary to agent context | Yes |
| Include Key Topics | Add key topics to agent context | Yes |
| Include Preferences | Add caller preferences to agent context | Yes |
How Context is Injected
When a call or SMS comes in, memory is injected into the system prompt:Semantic Memory
Semantic Memory is an advanced feature that uses AI to find patterns across all contacts, not just individual contact history. It works across both calls and SMS conversations.How It Works
- After each call or SMS conversation, an AI embedding (vector) is generated from the interaction
- When a new interaction comes in, the system searches for similar past conversations
- If patterns are found, they’re added to the agent’s context
Use Cases
Identifying Common Issues
Identifying Common Issues
If 5 customers call about the same bug in your app, semantic memory helps the agent recognize: “Multiple customers have reported this issue. Our team is aware and working on a fix.”
Seasonal Patterns
Seasonal Patterns
“Several customers have asked about holiday shipping deadlines. Here are the cutoff dates…”
Product Launch Questions
Product Launch Questions
When you launch a new product, early callers’ questions help inform responses to later callers.
Configuring Semantic Memory
| Setting | Description | Default |
|---|---|---|
| Similar Conversations | How many similar past conversations to include | 3 |
| Similarity Threshold | How similar conversations must be (60-85%) | 75% |
- 60% (Low): More results, broader matching, may include less relevant conversations
- 75% (Medium): Balanced - good for most use cases
- 85% (High): Fewer results, very precise matching
Semantic memory requires the base Memory feature to be enabled first.
Managing Memories
Viewing Memories
The Memory tab shows all stored caller memories:| Column | Description |
|---|---|
| Contact | Caller’s name and phone number |
| Summary | AI-generated relationship summary |
| Topics | Key topics discussed |
| Interactions | Number of conversations |
| Last Contact | When they last called |
Editing Memories
Click a memory entry to:- Update the summary
- Add/remove key topics
- Modify preferences
- View call history
Clearing Memories
Single Memory:- Click the memory entry
- Click Clear Memory
- Confirm deletion
- Click Clear All in the Memory section header
- Confirm deletion
Privacy & Data
What’s Stored
Memory data is stored in your Magpipe database:- Linked to contact records (by phone number)
- Associated with specific agent
- Includes AI-generated summaries (not raw transcripts)
- Embeddings for semantic search (vectors, not readable text)
Data Retention
Memories persist indefinitely unless:- Manually cleared via UI
- Contact is deleted
- Agent is deleted
Compliance
For GDPR, CCPA, or other privacy compliance:- Memories can be exported via API
- Individual memories can be deleted on request
- Use “Clear All” for right-to-erasure requests
Best Practices
When to Enable Memory
Enable Memory For
- Repeat customers
- Support lines
- Account management
- Appointment scheduling
- Sales follow-ups
Consider Disabling For
- Anonymous hotlines
- One-time services
- High-privacy contexts
- Extremely high call volume
Prompt Tips
When memory is enabled, adjust your system prompt:Handling Memory Errors
If a caller disputes their memory:- The agent should trust the caller
- Update memory based on new information
- Don’t argue about past conversations
Limits
| Plan | Memory per Agent | Semantic Memory |
|---|---|---|
| Starter | 100 callers | Not available |
| Pro | 1,000 callers | Included |
| Enterprise | Unlimited | Included |
API Access
Memory can be accessed via the API:Custom Functions
Extend agent capabilities with webhooks
Knowledge Base
Give your agent information to reference