ComfyUI Node

AZAll Remember

How to give your workflow a memory that outlives the run

By cronos3k·Created 5 months ago·Updated 5 months ago· 0
AZAll Remember
  • config
  • confirmation
text
title

This is the heart of the pack, and the demo you should start with. AgentAZAll_Remember stores a piece of text as a persistent memory, searchable later by Recall and auto-loaded into context by System Prompt. Run it once, design a character named Elara with red hair and arcane tattoos; run it again next week and a different agent can recall her exactly - because the memory is a file on disk, not a variable that dies when the queue finishes.

The whole point of AgentAZAll is that ComfyUI is stateless between runs, and that's a problem the moment you want an LLM to build on its own past output. Remember is the write side of that fix.

How it works

You give it text plus an optional title. It writes the text to <mailbox>/<agent>/<date>/remember/<title>.txt - plain text, nothing exotic. If a memory with the same title already exists for today, it appends the new text rather than overwriting, which is handy for accumulating facts about one subject across a session. If you leave the title blank, it uses a timestamp as the filename.

Everything is a file: you can open the folder, read what the agent knows, edit it by hand, or copy the data folder to another machine. The pack's "research paper" framing calls this the Mailbox Principle - the filesystem is the memory, which is exactly why it survives restarts.

The inputs that matter

  • config (required) - from an AZAll Setup node.
  • text (required) - the memory content. Wire this from an LLM response or a Note; this is where "the agent learned X" flows in.
  • title - the searchable slug. This matters more than it looks: Recall is a keyword substring search, not semantic, so character-elara is a much better title than memo-2026. Good titles are how memories get found.

The confirmation output is just a string like Memory stored: character-elara - mostly for sanity checking, not something you usually wire onward.

Installing it

Part of cronos3k/comfyui-agentazall. 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

The only dependency is the agentazall package. No vector database, no embedding model, no key - that's the pitch, and the tradeoff is that search is keyword-based.

Common issues

Three things to watch. First, the working-directory gotcha: the mailbox defaults to ./agentazall_data relative to ComfyUI's cwd, so a launch from a different folder starts you with an empty brain - pin mailbox_dir in Setup. Second, remember that search is substring matching: storing "red hair" and later searching "hair color" won't connect them unless the text shares words. Third, the same title appends within a day but doesn't across days - same title on a new date creates a new file, and Recall (which searches across dates) may show you the older one first depending on order. If you want true upsert semantics, treat the title as a namespace and be deliberate about it.

CategoryAgentAZAll/Memory

Inputs (3)

NameTypeDefaultDescription
configAZALL_CONFIG
textSTRING
titleoptSTRING

Outputs (1)

NameTypeDescription
confirmationSTRING