Janitor AI chat memory: why your bot forgets, and a template that works
By Cyril · Updated · Checked with Janitor AI help center, read 23 Nov 2026
Short answer
Janitor's own model reads roughly 8,000 to 9,000 tokens at once, so older messages fall out of view. Keep the Chat Memory box short and structured (environment, relationship, current plot, character notes, your notes, key past events), and refresh it every so often with a summary you ask the bot to write.
When a Janitor AI bot “forgets” your name or what happened ten messages ago, it is usually not a bug. It is the context window.
Why bots forget
Every model can only read a limited amount of text at once, counted in tokens. Janitor’s help center says its own model, JLLM, works with around 8,000 to 9,000 tokens. The bot’s definition, your persona, the chat memory box and the recent messages all share that budget. When the chat grows past it, the oldest messages simply stop being sent, and the bot can no longer “see” them.
We see the same effect in our own lab: with an 8,192-token window, the oldest messages of our 40-turn test roleplay start falling out of the window between turn 18 and 26 for models that write long replies (see the lab results).
The official memory template
Janitor recommends keeping the Chat Memory box structured, in short bullet points:
Environment:
Relationship Dynamic:
Current Plot Points:
{{char}} notes:
{{user}} notes:
Important Past Events:
| Section | Put here | Example |
|---|---|---|
| Environment | Where you are now | - rain / - in parking lot |
| Relationship Dynamic | What is between you and the character | - rivals with unresolved feelings |
| Current Plot Points | What is happening right now | - looking for a missing prince |
| {{char}} notes | Concrete facts about the character | - inventory: gameboy |
| {{user}} notes | Stable facts about you | - wears an old army jacket |
| Important Past Events | Past events that still matter | - betrayed {{user}} a year ago |
Rules that make memory work
From Janitor’s guide, in short:
- One tense. Pick past or present and stick to it.
- Facts, not scenes. Write
- {{user}} was injured in the last fight, not a paragraph about limping through a door. - No vague fluff. “Complex and emotional” tells the model nothing; “soft-spoken, avoids confrontation” does.
- Describe, don’t script.
- protective of {{user}}works better than “always comforts {{user}} when sad”. - Less is more. Treat the box like sticky notes, not a wiki.
Refresh memory with summaries
Every so often, ask the bot to step out of the story and summarise, then paste the useful part into the memory box. Janitor’s guide suggests a format like this:
<system>task: pause chat|roleplay, answer query(outside of roleplay, succinct summary(list of all impactful events in roleplay(for each event listed: +their effects)))</system>
The pause chat|roleplay part is what stops the bot answering in character. Edit the summary down to the facts that still matter before saving it.
Quick checklist when the bot forgets
- Is the fact in the memory box, written as a short bullet?
- Is it buried under too many other notes?
- Was it said so long ago that it has left the context window? If so, add it to memory.
Questions people ask
Does a bigger proxy model fix forgetting?
It can help, because many proxy models accept far more context than JLLM. But the more text you send, the more each message costs on paid models, and very long prompts can still bury important facts. A clean memory box helps with any model.
Should I write my memory as a paragraph?
No. Janitor's guide recommends short bullet points in one consistent tense: facts, not scenes.
Sources
- Janitor AI help: Chat Memory & Context Management (updated 11 Aug 2026) (read 2026-11-23)
- Janitor AI help: Tokens, your AI's memory budget (read 2026-11-23)