Skip to content

Memory CLI reference


Read the facts Atoi keeps for you, in one Workspace or across the account, and forget them.

Use this page to inspect every public atoi memory command, its accepted flags, and one runnable example.

This command group is in preview. Confirm its output shape before you depend on it in automation.

atoi memoryRead the account memory Atoi keeps, and what the agent is holding in one conversation.

CommandWhat it does
atoi memory listRead the facts Atoi keeps for you in the Workspace you are standing in, plus your Personal, one line per item.
atoi memory snapshotRead every fact in your account as one baseline. It refuses rather than answer a partial one.
atoi memory forgetForget the facts Atoi keeps in one Workspace, or one fact by id. It cannot be undone, and it takes down the cards that asked about what it forgot.
atoi memory recallRead what the agent is holding in one conversation: each thing it kept, under the namespace and key it kept it by.

#memory recall

Inspect the preview memory recall contract for a paired host.

atoi memory recall --chat-id <chat-id> [--namespace <namespace>]

FlagTypeDefaultValuesWhat it does
--chat-id requiredstringThe conversation whose memory to read.
--namespacestringRead one namespace instead of the whole conversation.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run memory recall

bash
atoi memory recall --chat-id thr_9c4k --namespace release --json

#memory snapshot

Read what Atoi keeps about you across threads, one line per item.

atoi memory snapshot

FlagTypeDefaultValuesWhat it does
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run memory snapshot

bash
atoi memory snapshot --json

#memory list

Read the facts Atoi keeps for you in the Workspace you are standing in, plus your Personal.

atoi memory list [--workspace <workspace-id>] [--personal] [--account]

FlagTypeDefaultValuesWhat it does
--workspacestringRead one Workspace instead of the one you are standing in.
--personalbooleanRead your Personal Workspace for this call.
--accountbooleanRead every fact in your account, in every Workspace.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run memory list

bash
atoi memory list --json

Pass --account to read every fact in every Workspace, the way memory snapshot does.

#memory forget

Forget the facts Atoi keeps in one Workspace, or one fact by its id.

atoi memory forget [--id <memory-id>] [--workspace <workspace-id>] [--personal] --confirm

FlagTypeDefaultValuesWhat it does
--idstringForget one fact by its id instead of the whole Workspace.
--workspacestringForget in one Workspace instead of the one you are standing in.
--personalbooleanForget in your Personal Workspace for this call.
--confirm requiredbooleanRequired: forgetting cannot be undone.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run memory forget

bash
atoi memory forget --workspace wsp_7m4c --confirm --json

Forgetting cannot be undone. The command asks for --confirm every time, and without --id it forgets every fact in the Workspace you are standing in.

A card in your Inbox that asked you to keep one of those facts is taken down with it, because a question about a fact that no longer exists has no answer. The reply says how many facts were forgotten and how many cards came down.

Read Run work from the terminal for the rest of this group, or the CLI reference index for every command.

Was this useful?