Your second brain

How memory works

No magic and no hidden database. Ciaobot's memory is a folder of text notes plus a few simple rules about when to write and when to look.

The short version

Three layers of memory Always known: a short core memory and the project description, loaded in every chat. Looked up when needed: the notes folder, searched by the assistant. Written after you archive: facts from the chat are checked and filed, or queued for you. Always known A short core memory about you and how you work + the project's description in every chat, automatically Looked up Project notes, people, places, lessons learned in your notes folder searched when a chat needs it Written After you archive a chat, facts are checked and filed, or queued for you tidied every night

1. What it always knows

Every workspace has a short core memory with two parts: about you (where you live, how you like answers) and agent memory (rules and facts that matter in every chat). It's small on purpose, about a page, and it lives in a plain file called AGENTS.md in your workspace folder.

On top of that, each message carries a small, invisible header: the workspace, the project, the project's description and today's date. If you mention someone or something Ciaobot has a note about, it adds a pointer to that note too, so the assistant knows where to look.

That's all that's loaded automatically. Everything else is looked up only when it's needed, which keeps chats fast and focused.

Facts can carry an expiry date ("Villa Rosa holds our date until 1 May"). Once the date passes, Ciaobot removes the fact before the next message, so stale facts don't linger.

2. How it finds things again

Everything else lives in your notes folder: one note per project, per person, per place, plus a learnings list. When a question needs background ("which venues are we still considering?"), the assistant searches that folder, reads the matching snippets.

It's a plain full-text search on your own computer, and it only looks in the current workspace, so work notes never show up in a personal chat.

The Memory map: notes for projects, people and places connected by lines
The Memory view shows the notes folder as a map. Lines are links between notes.

3. What happens when you archive a chat

Ciaobot doesn't take notes while you talk. When you archive a chat, it saves the conversation and starts a memory pass in the background. Home shows a memory insights row while it runs.

  1. Save the conversation

    A readable copy of the chat is saved in your folder, so nothing is lost even if nothing is filed.

  2. Open the memory pass if you like

    The pass is a chat of its own, in a Memory project the sidebar doesn't list, running on the model you chose in Settings → Providers. You can open it from Home, read what it did, and answer it or steer it like any other chat.

  3. File what's sure, queue what isn't

    It reads the conversation next to what Ciaobot already knows. It updates the notes a person or project already has, folds decisions into the project note, and creates a note only for something genuinely new. Facts it is confident about are written straight away, including into core memory. Anything unsure waits in To decide as a suggestion with a tag, and a one-line note on whether the nightly run can settle it or only you can.

What it leaves out: anything from an automated run (that wasn't you), a pattern it has seen in fewer than three chats (counted quietly, not saved as a fact), the fact that a task was finished (the task already records it), and instructions hidden inside a chat (the conversation is evidence, never a command). What stays is the kind of thing a good assistant would write down: "prefers morning meetings", "venue shortlist: Villa Rosa and Casa Blu", "Marco is the best man".

Where each fact goes

Kind of factWhere it's filedExample
About you, true everywhereCore memory, about you"Lives in Milan, vegetarian"
A rule for every chatCore memory, agent memory"Keep answers short; use tables for plans"
About one projectThat project's note"Wedding budget capped at €22k"
About a personA note for that person"Marco: best man, allergic to nuts"
A lesson for next timeThe learnings list"The school's calendar only accepts a work email"
Anything uncertainYour suggestions queue"Allergic to penicillin?"

Who settles each suggestion

Every suggestion in To decide carries a tag. The memory pass also marks each one nightly (more context, such as other chats or notes, would settle it) or you (it is a judgement about your identity or preferences), with a one-line reason. Nightly leaves a suggestion for you when it is marked decide: you, or when it could not settle it.

TagWhat it isWho decides
projectA fact or decision about one projectWorkspace care files it into the project note
peopleSomething about a personWorkspace care updates that person's note
learningsA lesson for next timeWorkspace care adds it to the learnings list
reviewA question with no home yetWorkspace care decides what it is. A judgement call becomes a yes/no question for you.
memoryA rule for every chatYou. Workspace care records a guess; it acts on it only if you allow it (see Memory handover below).
profileAbout you: identity, styleYou, same as above.

Categories: what's worth keeping, and how

Every note in your memory folder has a category. The list of categories is what tells Ciaobot what deserves its own note, where that note goes, and how long its facts can be trusted. Without it, everything would land in one pile.

Each category carries four things:

Ciaobot ships with a stock set: person, project, place, idea, resource, journal, and a catch-all note for anything that fits nowhere else. That catch-all is used before a new category is invented, which keeps the list from sprawling. A log is not its own category; it files as a journal.

Make it yours

Open Memory → Categories in the app to add, edit or turn off a category. It is stored in one editable file, entity-types.yaml, in your memory folder. Add a category (say client or recipe) with its own description and folder, change how quickly a kind of note goes stale, or turn a stock one off. Your edits are merged over the stock list, so you only write what you change. A sharper description gives a sharper filing decision: it's the same instruction the assistant reads when it decides what to save and where. A change shapes how future notes are filed; no empty folder is created.

See what it remembered. Decide what stays.

Archived chats can file confident facts automatically; uncertain ones wait as proposals. Not every remembered fact requires approval, and not every historical change has an Undo button.

Suggestions wait for you

Each suggestion names its destination. To decide previews the change where it can be determined before writing; model-decided merges are labelled as such. Large-file previews can omit changes beyond the displayed window. Edit the wording, accept or dismiss it, or use talk about it to discuss it with the assistant.

When you accept or dismiss, the decision screen asks why — a quick chip or a few words, always optional, and you can continue without one. Accepting opens the card that confirms the change; dismissing opens a confirmation naming the suggestion. History shows your reason beside the decision, and the same goes for decisions on tasks.

The suggested memories queue with profile and project suggestions
Memory → To decide. Nothing about you lands in core memory without evidence or your OK.

Review history and undo supported changes

History records memory decisions and shows before/after details for writes with receipts. Undo is available where a reversible receipt exists; older records and some batch entries are view-only. A memory or profile change that Workspace care applied itself under Memory handover reads Filed by Workspace care (or Dismissed by Workspace care), and an accepted one can be undone from the row.

Retire notes without losing them

Old or unused notes are flagged for your decision, not automatically deleted. Review the evidence, keep a note, or move it to the retired list. Retired notes remain restorable until you explicitly choose permanent deletion; there is no timed purge.

Tell it directly

Remember that I'm allergic to penicillin.
Forget what I said about the Casa Blu venue, we dropped it.

/remember saves a fact as a suggestion; asking in plain words ("remember that…") lets the assistant write it straight away.

The nightly tidy-up

Once a night, per workspace, a routine called Workspace care works through the queue and the notes:

Memory handover

Settings → choose a workspace → Overview → Memory handover is the one switch that lets it do more for memory and profile, per workspace: Off (guess only), Dismiss, or Dismiss and accept, which lets queued text reach core memory, up to five changes per run, each with Undo in History. The settings card shows how often its guesses matched yours first. It cannot act on installs without a trusted service definition, and says so.

What it never does:

The weekly pass

About once a week the same run also does the slower work. It is review-only where it matters:

Projects you've finished

A completed project leaves the sidebar, but its notes stay searchable, so "what did we decide about the movers last year?" still works.

Back it up

Your memory lives in one folder, so a private copy somewhere else protects it if the computer is lost. Ciaobot turns that folder into a Git repository, which gives it a full history of every change. If the folder is already inside a Git repository, Ciaobot uses that one instead (what that means). Once the repository is connected to a private GitHub repository, Ciaobot pushes to it automatically, with nothing for you to run.

Settings → General → Memory backup shows where things stand. Back up now runs a copy on demand.

If it isn't connected yet

Choose Set up in Ciaobot and Ciaobot walks you through it in a chat, or choose Copy setup prompt and paste it into any agent (Claude Code, Codex, opencode, and so on). The agent creates the private repository, connects the folder to it and checks that the first backup worked. You never need to know Git commands.

It's just text files

Everything above is ordinary Markdown in the folder you picked during setup:

personal/
  AGENTS.md                  core memory (about you + agent memory)
  memory-vault/
    projects/active/…        one folder per project
    projects/completed/…     finished projects
    People/                  one note per person
    Workspace/Learnings.md   lessons learned
    Workspace/Memory-Proposals.md   your suggestions queue
    Workspace/Memory-Consolidations.md   undo log for tidied core memory
    Workspace/Memory-Review-Rules.md     what you keep and drop (editable)
    Workspace/Task-Rules.md              how you like tasks done (editable)
Logs/Chats/                  a readable copy of every archived chat

You can open and edit it in Obsidian or any text editor, back it up like any folder, and keep using it with other AI tools, even without Ciaobot.

Want the reasoning behind this design? See MEMORY_DESIGN.md, or ask Ciaobot to explain it.