AZAll Note
Read and write named scratchpads the agent can find
- config
- content
Between Remember (one-shot facts, keyword searchable) and Chat History (a conversation log) sits the middle ground: a named, overwrite-able document the agent can keep and update. AgentAZAll_Note reads or writes a note - think plot outline, character sheet, or "current state of the world" - stored as a plain text file under the agent's mailbox. Where Remember appends to a title, Note replaces, which makes it the right tool for a living document that should reflect the latest version of something.
How it works
Two modes, one node. Give it a name and leave set_content empty: it reads the note back - checking today's folder first, then searching backwards through the agent's history for the latest copy. Provide set_content and it writes (overwrites) the note, returning the content you just set. If a note doesn't exist and you try to read it, you get Note '<name>' not found.
The storage is <mailbox>/<agent>/<date>/notes/<name>.txt. Notes are also what the System Prompt node includes when you flip include_notes on - so a plot outline can ride along in every prompt without you wiring a single connection.
The inputs that matter
config(required) - from AZAll Setup.name(required, defaultcontext) - the note's filename slug.plot-outline,character-sheet,world-state. Keep it stable; other nodes reference it by this string.set_content- the text to write. Empty = read mode.
The content output is the note's text (current value in either mode). It's the standard STRING the rest of the pack deals in - wire it into a Text Combine, a Prompt Template, or the LLM's user prompt.
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
Same story as the rest of the pack: one pip dependency, no models, no keys.
Common issues
The overwrite-vs-append distinction trips people up when they expect Remember behavior - if you want to accumulate into a note, you need to read it first, append in your prompt, and write the combined result back; a naive "set every run" just clobbers it. The "latest copy" read mode searches backwards through dated folders, so old versions aren't destroyed, but they're also not merged - you get the newest one. And the pack-wide gotcha stands: notes live under ComfyUI's working directory, so pin mailbox_dir or a moved cwd will make your notes seem to evaporate. It's plain text though - if all else fails, find . -name "plot-outline.txt" will turn them up.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| config | AZALL_CONFIG | — | |
| name | STRING | context | — |
| set_contentopt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| content | STRING | — |