123SUDODocs
Guides

Knowledge and Memories

The difference between files you give the assistant and things it works out for itself, with their scopes and how to remove them.

Both put context into a conversation without you pasting it, and they are easily confused. The short version:

  • Knowledge is what you gave it — folders of your files it can search.
  • Memories are what it worked out — facts about you and your projects, saved as you chat.

Attachments sit alongside them: a file you dropped into one conversation, rather than a library it searches. Library → Attachments collects them all, split into images and documents, so a file shared in one chat can be found and reused in another.

9xchat Attachments Library split into Images and Documents tabs, before any file has been shared
Everything you attach in a chat lands here, so you can reuse a file without hunting for the conversation you first shared it in.

Knowledge

Library → Knowledge holds collections — folders of files the assistant can search across chats. Create a collection, add files, and attach it to a chat or to an agent.

9xchat Knowledge Base before any collection exists, with a New Collection action
Knowledge starts empty. A collection is a folder of files the assistant can search in any chat, through the Search Knowledge tool.

Searching is done by the Search Knowledge tool, so a collection is only consulted when that tool is enabled and the assistant decides it is relevant. What matches enters the conversation, and travels wherever that conversation goes.

Indexing sends your files to an embeddings provider

To make a collection searchable, 9xchat builds an index — which sends the text of those files to your embeddings provider, 123sudo by default. Choose Ollama to index locally instead. This happens when you add the files, not when you search, so it is worth setting before you add anything sensitive. See Privacy and data flow.

Use a collection for material you want available repeatedly — product docs, a style guide, reference material. Use an attachment for something relevant to one conversation only.

Memories

Library → Memories is everything the assistant has remembered about you, your projects, and your chats. They are saved automatically as you talk, and you can also just ask it to remember something.

The memory system needs Pro, as does importing memory from another AI provider. Knowledge collections and attachments work on a free account. See Credits, Pro, and usage.

Scopes

Memories are filed by how widely they apply:

ScopeApplies to
GlobalEverything you do in 9xchat
FolderChats inside one folder
SessionA single conversation

Scope is what stops work context leaking into personal chats, so it is worth checking when something is remembered more broadly than you intended.

9xchat Memories filtered by All, Global, Folder, and Session, before anything has been remembered
Memories are filed by scope. The filters along the top are also the fastest way to audit what has been remembered globally rather than for one chat.

Reading and removing them

The Memories screen lists them all, filtered by scope, and lets you delete any of them. Import brings memories in from elsewhere.

Deleting one removes it from the assistant's context going forward. It does not retroactively change conversations that already happened.

Where they live

Memories are stored in 9xchat's local database on that device. They are not synchronised between your devices — a second machine signed in with the same UID starts with none. Handing a chat to another device pairs the two for that conversation; it does not copy memories across.

Memory is per-device, so removing a memory on one machine leaves it in place on another. Clear it on each device you use.

Which should I use?

You wantUse
The assistant to know your coding style without being told each timeA memory
It to answer from your product documentationA knowledge collection
It to read one PDF in one conversationAn attachment
Something remembered only for this chatA session-scoped memory

On this page