Language models have no memory of their own between replies. Each time a character answers, the app assembles a package of text (the character’s description, some of the conversation, perhaps a few notes) and the model writes from that package alone. “Memory” in an AI chat app is therefore a question of what gets packed in, and how the app squeezes a long relationship into a limited space.
The problem it solves
A model can only read so much at once. That limit is called the context window and is measured in tokens, chunks of text that average out to roughly three-quarters of an English word. Once a conversation outgrows the window, the oldest messages simply stop being sent. Without some extra mechanism, a character who learned your sister’s name on Monday would have no idea by Friday.
Long-term memory is the umbrella term for the tricks apps use to carry information past that edge.
Three common techniques
- A bigger window. The simplest fix: send more of the recent conversation. It’s precise, because the model sees the exact words, but it’s costly and still finite.
- Rolling summaries. The app periodically condenses what has happened into a short note and sends that instead of the full history. It reaches much further back, at the cost of detail.
- Pinned notes. Facts the user or creator writes down that are sent every time, unchanged. Nothing gets summarised away, but someone has to write them.
Some apps also search old messages for passages related to the current topic. Most combine two or three approaches.
The numbers on Heartie
Heartie uses all three of the main techniques, with sizes that depend on your plan.
| Free | Pro | Ultra | |
|---|---|---|---|
| Recent messages sent with each reply | last 20 (labelled 4k tokens) | last 40 (8k) | last 80 (16k) |
| Automatic story summary | up to 200 characters | up to 400 | up to 800 |
| Permanent memory (“Extra Settings”) | locked | 400 characters | 800 characters |
Alongside the summary, Heartie keeps a short goal note of up to 240 characters describing where the story seems to be heading. Both notes refresh once at least six new messages have arrived, and no more than once every ten minutes; each refresh replaces the previous version rather than adding to it.
The permanent note sits under Extra Settings in a chat’s settings. It belongs to one character and one conversation, and Heartie never rewrites it. Separately, members can describe themselves in a persona that every character sees (500 characters on Pro, 2,000 on Ultra).
What a good permanent note looks like
Facts and relationships hold up better than instructions. Here’s a note of about 300 characters, which fits within Pro’s limit:
I’m Sam, the ship’s new cook. Ilse rescued me from the harbour fire in chapter one and doesn’t let me forget it. We share a cabin wall and argue about whether cinnamon belongs in stew. My compass was my father’s; Ilse is the only one who knows it doesn’t point north.
Every detail there is something a summary might drop: a running joke, a secret, a name, an object with history.
What clears memory, and what doesn’t
- Restart (in the chat toolbox) deletes the conversation and the automatic summary and goal, then replays the opening scene. The permanent note is kept.
- Rewind removes every message after the point you pick, so those messages leave the recent window too.
- Regenerate replaces only the latest reply; the rest of the history stays as it was.
- Editing your persona changes how characters see you; it leaves each story’s messages and notes alone.
Common misunderstandings
“The character learns from me.” It doesn’t change the underlying model. What it “knows” is whatever the app sends, which is why a note you write is more reliable than hoping a detail survives.
“More memory means a smarter character.” A longer window improves continuity, not reasoning. A thin persona stays thin at 16k tokens.
“The summary is a diary.” It’s a snapshot of the story as it stands, rewritten each time, so early events naturally fade unless they still matter.
“Memory carries between characters.” Summaries and permanent notes are per character. Only your own persona is shared across chats.
Learn more
The long-term memory feature page shows the settings screens and walks through adding a permanent note. The practical guide to using memory in AI chat covers what to write and when, while memory context sizes across apps and AI companion memory compared put Heartie’s numbers next to other products. Before restarting a long story, read the help article on restarting a chat.