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

# Memory Configurations

> Connect a memory provider so workflows can retain context across messages.

By default, a workflow treats every message independently. A **memory configuration** connects a memory provider so a workflow can retain context across the messages in a thread — referring back to earlier parts of a conversation instead of starting fresh each time.

<Frame caption="The Memory Configurations page, listing your configured memory providers.">
  <img src="https://mintcdn.com/aiplanet/Jy4Vl1U9sSF_9LZH/images/memory-configs.png?fit=max&auto=format&n=Jy4Vl1U9sSF_9LZH&q=85&s=1a9f802665f665ac2c0715fa84f6fbe3" alt="Memory configurations page" width="1600" height="900" data-path="images/memory-configs.png" />
</Frame>

## When you need memory

* **Without memory** — each message is handled on its own. Good for one-off tasks where each request is independent.
* **With memory** — earlier messages in the thread are remembered. Good for conversations, multi-turn assistance, and anything where context builds up over time.

## Creating a memory configuration

Click **Add New Memory Config** and provide:

* **Name** — a clear label, such as `Conversation Memory`.
* **Memory type** — the memory provider to use. Two options are available:
  * **Mem0 Cloud** — a hosted memory service. Configuration is a single **API key**.
  * **AI Planet Memory** — a self-managed option. Configuration covers a language model provider, an embedding provider, and a vector store, each with its own connection details.

Fill in the connection details for whichever type you choose, then save.

<Note>
  The memory type can't be changed after the configuration is created. To switch providers, create a new configuration.
</Note>

## Managing configurations

Each configuration appears as a card. You can:

* **View** — open it read-only to check its settings.
* **Edit** — change its connection details.
* **Delete** — remove it.

## Using a memory configuration

Memory is applied at the **workflow** level, not per agent. In the workflow's settings, add a memory provider and select one of your memory configurations. See [The workflow builder](/building-workflows/builder-overview#settings).

Memory operates **per thread** — each conversation session keeps its own remembered context, separate from other threads.

<Tip>
  Reuse one well-tuned memory configuration across your workflows rather than creating a new one each time. It keeps behavior consistent and easier to manage.
</Tip>

## Next steps

<Card title="Guardrails" icon="shield" href="/guardrails/overview">
  Add safety policies that constrain your workflows.
</Card>
