Notes (Memo)

Memo: How Memo works

Where Memo keeps your text, what an import changes, how links and references work.

This page explains what happens to your notes, mail and messages when Memo uses them: where the text is kept, what an import does, how links and references work, and what an agent can and cannot do. Read it when you want to know why Memo answers the way it does, or before you point it at something private.

The local store

Memo keeps everything in one file on your computer, the local store (wirecat.db). tg, max and wa save your Telegram, MAX and WhatsApp messages in the same file, so Memo can answer about messages, mail and notes together.

Where it comes fromWho puts it in the local store
Telegram, MAX and WhatsApp messagestg, max and wa, when they download your chats
EmailThe mail CLI, with mail <profile> sync
Files in your note foldersmemo sync --only notes or memo sync
Your own notes, tags, tasks, memories and factsMemo, when you or your agent add them

Imports leave the originals unchanged: your files stay as they are. The local store holds a copy of their text. Memo never opens a mailbox: reading it, and cleaning it up, are commands of the separate mail program.

What an import does

An import reads your note folders and brings the local store up to date.

  • Only what changed is read. A file that has the same size and change time as last time is skipped. A second import is quick.
  • Edits keep history. When you edit a note file, the local store keeps the old text as an earlier version.
  • Moves keep everything. A file moved inside its folder keeps its links and tags.
  • Deletions are respected. When you delete a file, its text leaves the local store on the next import; a deleted email leaves it on the next mail <profile> sync.
  • A safety stop. If an import finds that most of a folder is suddenly missing (for example, a disk that is not connected), it deletes nothing and tells you.
  • Search by meaning is prepared. If the search model is on your computer, the import also prepares the new text for search by meaning, the mail mail stored included. --no-embed skips this step.

Two Memo imports never run at the same time, and one source that fails does not stop the others.

An import can be stopped at any time with Ctrl-C or kill <pid> (SIGTERM). It stops at the next folder, keeps what it read, and the next memo sync continues from there. --timeout 10m stops it the same way after ten minutes; with no --timeout it has no time limit.

Folders on more than one computer

When you add a folder, Memo gives it an ID (a short number) in the local store. Notes and links use that ID, not the folder's path. If you use the same notes on another computer, memo folders update connects the ID to the folder's path there. Because the ID stays the same, the notes keep their links and tags.

When Memo imports a note, it also reads the links in it:

  • A link to another note in the folder becomes a link to that note.
  • A link to a name, such as [[Kai Sample]] in Obsidian, becomes a link to that person as soon as someone with that name, nickname or username is in the local store. If two people have the same name, the link waits until you choose.
  • A link written as a reference, such as [Kai](person:7) or msg:telegram/1/77/42, links straight to that person or message.

A name in ordinary text is not a link. Memo does not guess who a note is about from the words in it.

One person, several accounts

The same person can have a Telegram account, a MAX account and an email address. Memo treats them as one person when they share an exact email address no third person has, or a phone number nobody else has that one of them has in Telegram, MAX or WhatsApp, or after you link them with memo people link, tg personal contacts link or max personal contacts link. A matching name, username or email domain is never enough. An agent's link merges at once only on strong evidence memo finds itself, the same mobile number or personal address from two sources. A weaker signal, or an agent's guess, waits for you as a match in memo people review. Every merge can be undone (how).

References

Every result names its source with a reference. You can copy a reference into another command to tag it, write a note about it or use it as evidence.

ReferenceWhat it points to
note:12A note you wrote in Memo
document:3A file from one of your note folders
msg:telegram/1/77/42One message: the messenger, the account, the chat and the message
chat:…, contact:…A chat or a contact in one account
person:…A person whose accounts you linked
organization:…, project:…, task:…Your organizations, projects and tasks
memory:…, fact:…A memory or a fact
meeting:…A meeting saved in the local store

A message reference includes the account, so the same message number in another account is a different message.

Search by words and by meaning

Memo always searches by words: it finds notes, mail and messages that contain every word you typed, including other forms of the word. With the search model on your computer, it also searches by meaning, so holiday can find a note about a vacation. The model runs on your computer; your text is not sent anywhere for this. Each result says how it was found.

An empty result means only that the local store has nothing that matches. It does not prove that something never happened: the chat may not be downloaded, or the folder may not be imported.

Agent authorship and review

Your agent can add three kinds of records:

  • a memory: something concluded, such as a preference;
  • a fact: something that happened, such as a decision;
  • a proposed action: something to do, such as a reply. It always waits until you approve or reject it. Approving it makes it a task for you. Memo never sends a message or an email.

Memories and directly recorded facts added through the MCP server start as proposed. MCP command tools can confirm memories, accept facts or approve actions when their saved permissions allow it. Each command that reaches Memo’s executor is written to the agent log (memo agents list), without the details it sent.

Project proposals have a separate flow. By default only you decide them; reading and proposing still work. Set agent_decisions: true to let an agent decide them with a recorded reason, creating accepted facts and numbered tasks or confirming a key document. Meeting findings decisions require explicit permissions.

The memo command tells who runs it. An MCP call is the agent's. An agent's terminal, told by AI_AGENT or CLAUDECODE (the variables agents such as Claude Code set), is the agent's. With neither, the run is yours only when its input and output are a terminal; a run with no terminal and no agent named is recorded as the unattended bot unattended, which proposes and never decides. What the agent writes there, a fact, memory or relationship, starts as proposed; yours is confirmed or accepted at once. Proposed actions still wait for approval. In an agent's terminal, --as-owner makes a command yours only after you answer y at the terminal; it never asks under --json or without a terminal, and refuses with exit 7. WireCat Desktop passes --from-app on every decision you make in the app: the run is then yours with no question. It is the app's word that you clicked, not a check (see Security).

Every confirm, reject and remove path, CLI and MCP alike, checks who decides. An agent decides only with --reason, never a proposal of its own bot, never a rule's or an unconfirmed link's, and only when agent_decisions is true. The y/N question is a speed bump, not a lock: an agent that drives a terminal of its own can still answer it.

What can leave your computer

Sending sources to an AI provider is opt-in. memo answers create prepares sources for your own agent by default. It sends text to an AI provider only when you set one up and add --analyze, and to a remote provider only with --allow-remote as well. What your agent does with the text it reads is up to that agent. The daily update check can also make a network request; Security explains what it sends and how to turn it off.