ComfyUI Node

AZAll Recall

The pack's memory search — and its honest limits

By cronos3k·Created 5 months ago·Updated 5 months ago· 0
AZAll Recall
  • config
  • results
query

The retrieval half of the memory system. If Remember is the write side, Recall is the read side: give it a search term and it digs through every dated memory folder the agent has, returning a formatted list of what matches. It's how an agent "remembers" Elara's hair color three runs after it was stored - the node the Character Design demo uses to cross-reference characters for visual consistency.

But let's be direct about what this isn't: there's no embedding model, no vector database, no semantic search. Recall does case-insensitive substring matching against memory text and filenames. It's fast, it's zero-dependency, it's transparent - and you'll get the best results if you design around it.

How it works

Leave the query empty and it returns the entire cross-day memory index - every remembered title, as a plain text block. Give it a query and it walks the agent's dated folders (newest first), opens every remember/*.txt file, and keeps any whose contents or filename contain the query string as a substring. It returns a header like === Recall: 'elara' (2 found) === followed by one line per hit - date, title, and the first 150 characters of the memory.

Because the match is on raw substrings, titles do double duty. character-elara.txt matches a search for "elara" even before its contents are read. This is why the pack's own demos use descriptive slugs like character-* - they're betting that you'll name memories the way you'd tag a file.

The inputs that matter

  • config (required) - from AZAll Setup.
  • query - the search term. Empty returns everything (good for a "what do I know" dump, but it can get long).

The results output is the formatted block above. Wire it into a Text Combine or Prompt Template alongside your LLM's prompt, and the model gets its own past knowledge handed back to it as context. That's the whole loop: Remember stores, Recall retrieves, System Prompt assembles.

Installing it

Ships in cronos3k/comfyui-agentazall. One install, 20 nodes - Manager search "AgentAZAll", or:

cd ComfyUI/custom_nodes
git clone https://github.com/cronos3k/comfyui-agentazall.git
pip install "agentazall>=1.0.13"
# restart ComfyUI

No model files, no keys.

Common issues

The limits are the feature here. A query that shares no characters with the stored text finds nothing - "hair color" won't hit "red hair." Plan your memory titles around search terms the agent will actually use. Also note Recall returns a summary preview, not full contents: each hit is truncated at 150 characters, so if you need the whole memory you'll want to also read the underlying file, or store memories small enough that the preview suffices. And the same cwd gotcha applies pack-wide - if Recall comes back empty but you know you stored something, your mailbox_dir moved.

CategoryAgentAZAll/Memory

Inputs (2)

NameTypeDefaultDescription
configAZALL_CONFIG
queryoptSTRING

Outputs (1)

NameTypeDescription
resultsSTRING