Download
Bots

Memory

A bot remembers its whole conversation with you, and keeps a few files of its own. This page says what is in each, where they are kept, and how to read and change them.

What it remembers

A bot's memory has two parts.

Its conversation

Every message: yours, its replies, news from the threads it started, its routines' prompts, and what other bots asked and answered.

Its files

A folder of notes and instructions it reads and writes itself.

The conversation never fills up. Each message is summed up in a line by your text generation model, and runs of older lines are summed up again into fewer, broader ones. Every turn starts fresh from the whole conversation as lines, the oldest summed up most and the latest messages whole. The bot can open any line back down to the messages under it, so nothing is lost to a summary.

Read it

Open the bot and show Memory beside its conversation. The bar at the top counts its messages and gives the size of what each turn starts from, out of the most it may be.

Lines lists what the next turn starts from, oldest first. Each line shows the messages it covers, by number, and their dates. Click a line to open it into the lines under it, and those down to the messages themselves, each with who said it and when. Show all unfolds a long message. A faded line isn't summed up yet; it shows the start of its text until it is.

Map draws the whole memory in rings, the broadest summaries inside. The lit parts are what the next turn starts from. Pick a part, or move with the arrow keys, to read it, and choose Show in the lines to find it there.

The view keeps up as messages and summaries come in.

Where it is kept

A bot's memory stays on the machine it lives on. Its conversation is in Solanum's data there. Its files are a folder of their own under smiths/ in Solanum's home folder, ~/.solanum, kept under Git so every change has a history.

FileWhat it holds
AGENTS.mdIts instructions, which it reads every turn. The first lines are its job, as you wrote it; it keeps the rest itself.
NOTES.mdFacts it chooses to keep.
DIGEST.mdWhat you see of it: one item a line under Needs you, New and In progress. It rewrites this as each turn ends.
CREW.mdRules every thread it starts is given.

Change what it remembers

The conversation is a record, and its lines can't be edited. What you change is what the bot is told and what it keeps.

  • Tell it. "Remember that releases go out on Tuesdays" or "drop the note about the old staging server" has it change its notes.
  • Change its job. Show Settings beside its conversation and edit Its job, then Save. The new job is the start of its AGENTS.md from its next turn.
  • Edit the files. Open the folder on the machine it lives on and change NOTES.md or CREW.md by hand. The bot reads them as they are on its next turn.

When a bot moves or is removed

Moving a bot to another machine takes its memory, notes and their history with it. See Move a bot to another machine.

Removing a bot archives its conversations and keeps its memory's folder, its notes and all.