metadata
title: What's memory in AI?
description: >-
Understand memory in the context of AI. Learn what's special about memory in
n8n.
contentType: explanation
What's memory in AI?
Memory is a key part of AI chat services. The memory keeps a history of previous messages, allowing for an ongoing conversation with the AI, rather than every interaction starting fresh.
AI memory in n8n
To add memory to your AI workflow you can use either:
- Simple Memory: stores a customizable length of chat history for the current session. This is the easiest to get started with.
- One of the memory services that n8n provides nodes for. These include:
If you need to do advanced AI memory management in your workflows, use the Chat Memory Manager node.
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-sub-nodes/chat-memory-manager-purpose.md"