Skip to content

ash memory

Manage persistent memories that Ash uses across conversations.

Usage

Terminal window
uv run ash memory ACTION [OPTIONS]

Actions

list

List all memories:

Terminal window
uv run ash memory list

Options:

OptionDefaultDescription
--query, -qFilter by content
--limit, -n20Maximum entries to show
--scopeFilter by scope: personal, shared, or global
--user, -uFilter by owner user ID
--chatFilter by chat ID
--include-expiredfalseInclude expired entries

Search memories by content:

Terminal window
uv run ash memory list -q "api keys"

add

Add a new memory:

Terminal window
uv run ash memory add -q "Remember to check logs every morning"

Options:

OptionDescription
--query, -qMemory content (required)
--source, -sSource label (default: cli)
--expires, -eDays until expiration

remove

Remove a memory by ID:

Terminal window
uv run ash memory remove --id abc123

Options:

OptionDescription
--idMemory ID (required, or use —all)
--allRemove all entries
--scopeFilter by scope when using —all
--force, -fSkip confirmation

clear

Remove all memories:

Terminal window
uv run ash memory clear

Options:

OptionDescription
--force, -fSkip confirmation

Examples

Add a preference:

Terminal window
uv run ash memory add -q "Prefer concise code examples"

Search memories by content:

Terminal window
uv run ash memory list -q "project"

List personal memories:

Terminal window
uv run ash memory list --scope personal --limit 10