Skip to Content
Tavern Cozy Docs

Memory

How Tavern Cozy remembers a chat - Supermemory retrieval, the memory profile, and why a detail can be missed.

A long chat without memory is a transcript. With memory, the app can bring back a detail from earlier and use it in the next reply. Memory is a retrieval system, not a promise of perfect recall.

How it works

  1. Store. As a chat runs, conversation content is added to Supermemory for your account.
  2. Search. Before a reply is written, the app searches for relevant context and your memory profile.
  3. Use. What comes back is added to the prompt next to your persona and lorebook entries.

The memory system builds a graph, so it can connect related details and update a fact that changed. When a plan moves from Thursday to Friday, the newer detail is what a reply should use.

What is stored, and where

  • Memories live in a user namespace. A search is filtered by character, and by persona when you selected one, so two characters do not share one memory.
  • A memory profile holds stable preferences and facts about you. It is read with the retrieved memories.
  • Turning memory off in a chat stops retrieval for that chat.

Why a detail can be missed

Retrieval is best effort. Fresh conversation content is processed asynchronously, so a chat that just ended can still be empty in search and fill in a moment later. A retrieval can also return nothing when the wording does not match.

Treat memory as help, not as a guarantee. If a detail matters, keep it in the persona or the lorebook where it is always in context.

The service behind this is Supermemory. Supermemory in chats describes the namespace, the filters, the metering, and links the upstream documentation index at supermemory.ai/docs/llms.txt.

Memory is not a lorebook

LorebookMemory
Who writes itYouThe system, from your chats
When it appearsWhen a trigger key matchesWhen a retrieval matches
What it holdsWorld knowledgeConversation content and your profile
Can you edit itYes, entry by entryNot directly

A lorebook entry is exact and always available when its key matches. Memory is broader and less predictable. Use both: the lorebook for rules of the world, the memory for what happened in the story.

Turning it on and off

Memory is a per-chat setting. Open the chat settings and switch memory on or off. The character page shows whether a character supports memory.

Privacy

The graph you see on the welcome page, and any atlas illustration in this documentation, is a fictional example. It is not a view of a real account. Memory retrieval runs inside your own namespace, and a public character cannot read your memories from a different account.

On this page