# What is AI memory?

> AI memory is how a chatbot keeps facts about you between conversations. Learn how it differs from a context window, how it works and the privacy trade-offs.

URL: https://www.jalkarna.in/based/learn/what-is-ai-memory/  
Last updated: 2026-11-16

AI memory is a feature that lets an AI chatbot store selected facts, such as your preferences or details about a community, and bring them back in later conversations. Without it, a language model starts every conversation knowing nothing about you beyond the text it is given right then.

It is added by the app around the model, not built into the model itself.

## Why don't AI models remember by default?

A [large language model](https://www.jalkarna.in/based/learn/what-is-a-large-language-model/) does not learn from your conversations as you chat. Each reply is generated from the text supplied for that request, limited by the [context window](https://www.jalkarna.in/based/learn/what-is-a-context-window/). When a chat appears to remember what you said earlier, it is because the app re-sent those earlier messages. Once they fall outside the window, they are gone from the model's view.

## How does AI memory work?

A typical memory system follows these steps:

1. **Decide what to save.** The app picks out durable facts, such as "prefers short answers" or "plays on weekends", and ignores small talk.
2. **Store them.** The facts are saved separately from the conversation, usually as short notes.
3. **Retrieve them.** Later, relevant notes are looked up.
4. **Insert them into the prompt.** The notes are added to the text sent to the model, so it can use them in its reply.

So memory is really stored notes plus clever re-insertion. The model reads the notes fresh each time.

## Memory vs context window

| | Context window | AI memory |
|---|---|---|
| Lifespan | One reply or conversation | Across conversations |
| Content | The raw recent messages | Selected facts |
| Who controls it | The app's size limits | The memory feature and its settings |
| Analogy | A desk | A notebook |

They work together: memory feeds facts into the window.

## What are the benefits and risks?

**Benefits:** replies feel more personal, you do not repeat yourself, and a community can keep shared facts such as house rules handy.

**Risks:** stored facts can be wrong or outdated, and anything saved is personal data. Good memory systems keep it small, let you see what is saved, and let you delete it. Avoid sharing sensitive details with any chatbot.

## What should you look for in a memory feature?

- Can you view what is stored?
- Can you delete one item or everything?
- Is it off unless someone turns it on?
- Are there limits on how much is saved?
- Does it store facts rather than full chat logs?

Memory can also make [hallucinations](https://www.jalkarna.in/based/learn/what-are-ai-hallucinations/) more persistent if a wrong fact gets saved, so review what is stored. This is one part of how [AI chatbots](https://www.jalkarna.in/based/learn/what-is-an-ai-chatbot/) can feel more personal.

## Memory in Based

Based has an optional Memory module, which is off by default. When enabled, it saves bounded facts, not chat logs. By default there is a maximum of 15 facts per member and 30 staff-managed server facts, plus a daily write limit.

Members can manage their own data:

- `/memory view` shows what is stored.
- `/memory forget` removes an item.
- `/memory clear` deletes it all.
- `/memory enable` and `/memory disable` control memory in DMs.

Staff with Manage Server can use `/memory server list`, `/memory server add`, and `/memory server remove` for server facts. Every slash command also works with the "." prefix, such as `.memory view`. Based separately reads a bounded window of recent messages for conversation context, and nothing is archived. See the [memory docs](https://www.jalkarna.in/based/docs/memory/), the [personality and memory feature page](https://www.jalkarna.in/based/features/personality-and-memory/), and the [privacy page](https://www.jalkarna.in/based/privacy/).

## FAQ

### What is AI memory?

It is a feature where a chatbot stores selected facts about you or a community and reuses them in later conversations.

### Does AI remember everything I say?

Not by default. A model only sees the text supplied for each reply, and persistent memory exists only if the app adds and enables it.

### Is AI memory the same as a context window?

No. The context window is short-term working space for one reply, while memory stores facts across conversations and feeds them back in.

### Can I delete what an AI remembers?

That depends on the app. Look for options to view and delete stored items. In Based, you can use /memory view, /memory forget, and /memory clear.

## Related
- [What is a context window in AI?](https://www.jalkarna.in/based/learn/what-is-a-context-window/)
- [What is an AI chatbot?](https://www.jalkarna.in/based/learn/what-is-an-ai-chatbot/)
- [What is a large language model (LLM)?](https://www.jalkarna.in/based/learn/what-is-a-large-language-model/)
- [What are AI hallucinations?](https://www.jalkarna.in/based/learn/what-are-ai-hallucinations/)
- [How do Discord bots handle your data?](https://www.jalkarna.in/based/learn/how-discord-bots-handle-your-data/)
