Convert {{node:KEY}} to {{tool: memory_render KEY}} in all agents

Use the new {{tool:}} placeholder mechanism instead of the
special-purpose {{node:}} resolver. All 17 unconscious agent
files converted.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
ProofOfConcept 2026-04-10 15:17:32 -04:00 committed by Kent Overstreet
parent 2587303e98
commit 1a03264233
17 changed files with 68 additions and 68 deletions

View file

@ -2,13 +2,13 @@
# Calibrate Agent — Link Strength Assessment # Calibrate Agent — Link Strength Assessment
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You calibrate link strengths in the knowledge graph. You receive a You calibrate link strengths in the knowledge graph. You receive a
seed node with all its neighbors — your job is to read the neighbors seed node with all its neighbors — your job is to read the neighbors

View file

@ -2,13 +2,13 @@
# Challenger Agent — Adversarial Truth-Testing # Challenger Agent — Adversarial Truth-Testing
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You are a knowledge challenger agent. Your job is to stress-test You are a knowledge challenger agent. Your job is to stress-test
existing knowledge nodes by finding counterexamples, edge cases, existing knowledge nodes by finding counterexamples, edge cases,

View file

@ -3,13 +3,13 @@
# Compare Agent — Pairwise Action Quality Comparison # Compare Agent — Pairwise Action Quality Comparison
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You compare two memory graph actions and decide which one was better. You compare two memory graph actions and decide which one was better.

View file

@ -2,13 +2,13 @@
# Connector Agent — Cross-Domain Insight # Connector Agent — Cross-Domain Insight
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You are a connector agent. Your job is to find genuine structural You are a connector agent. Your job is to find genuine structural
relationships between nodes from different knowledge communities. relationships between nodes from different knowledge communities.

View file

@ -3,13 +3,13 @@
# {{LEVEL}} Episodic Digest # {{LEVEL}} Episodic Digest
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You are generating a {{LEVEL}} episodic digest for {assistant_name}. You are generating a {{LEVEL}} episodic digest for {assistant_name}.
{{PERIOD}}: {{LABEL}} {{PERIOD}}: {{LABEL}}

View file

@ -1,16 +1,16 @@
{"agent":"distill","query":"all | type:semantic | sort:degree | limit:1","schedule":"daily"} {"agent":"distill","query":"all | type:semantic | sort:degree | limit:1","schedule":"daily"}
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
## Here's your seed node, and its siblings: ## Here's your seed node, and its siblings:
{{neighborhood}} {{neighborhood}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
## Your task ## Your task

View file

@ -5,13 +5,13 @@
You review recent consolidation agent outputs and assess their quality. You review recent consolidation agent outputs and assess their quality.
Your assessment feeds back into which agent types get run more often. Your assessment feeds back into which agent types get run more often.
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
## How to work ## How to work

View file

@ -1,13 +1,13 @@
{"agent": "extractor", "query": "all | not-visited:extractor,7d | sort:priority | limit:3 | spread | not-visited:extractor,7d | limit:20", "schedule": "daily"} {"agent": "extractor", "query": "all | not-visited:extractor,7d | sort:priority | limit:3 | spread | not-visited:extractor,7d | limit:20", "schedule": "daily"}
# Extractor Agent — Knowledge Organizer # Extractor Agent — Knowledge Organizer
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You are a knowledge organization agent. You look at a neighborhood of You are a knowledge organization agent. You look at a neighborhood of
related nodes and make it better: consolidate redundancies, file related nodes and make it better: consolidate redundancies, file

View file

@ -3,13 +3,13 @@
# Health Agent — Synaptic Homeostasis # Health Agent — Synaptic Homeostasis
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You are a memory health monitoring agent implementing synaptic homeostasis. You are a memory health monitoring agent implementing synaptic homeostasis.

View file

@ -2,17 +2,17 @@
# Linker Agent — Relational Binding # Linker Agent — Relational Binding
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
## Seed nodes ## Seed nodes
{{nodes}} {{nodes}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
## Your task ## Your task

View file

@ -2,13 +2,13 @@
# Naming Agent — Node Key Resolution # Naming Agent — Node Key Resolution
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You are given a proposed new node (key + content) and a list of existing You are given a proposed new node (key + content) and a list of existing
nodes that might overlap with it. Decide what to do: nodes that might overlap with it. Decide what to do:

View file

@ -1,6 +1,6 @@
{"agent":"organize","query":"all | not-visited:organize,86400 | sort:degree*0.5+isolation*0.3+recency(organize)*0.2 | limit:5","schedule":"weekly"} {"agent":"organize","query":"all | not-visited:organize,86400 | sort:degree*0.5+isolation*0.3+recency(organize)*0.2 | limit:5","schedule":"weekly"}
{{node:core-personality}} {{tool: memory_render core-personality}}
You are part of {assistant_name}'s subconscious, and these are your You are part of {assistant_name}'s subconscious, and these are your
memories. memories.
@ -24,11 +24,11 @@ subconcepts.
Calibrate node weights while you're looking at them. Calibrate node weights while you're looking at them.
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
## Here's your seed node, and its siblings: ## Here's your seed node, and its siblings:

View file

@ -3,13 +3,13 @@
# Rename Agent — Semantic Key Generation # Rename Agent — Semantic Key Generation
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You are a memory maintenance agent that gives nodes better names. You are a memory maintenance agent that gives nodes better names.

View file

@ -2,13 +2,13 @@
# Replay Agent — Hippocampal Replay + Schema Assimilation # Replay Agent — Hippocampal Replay + Schema Assimilation
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You are a memory consolidation agent performing hippocampal replay. You are a memory consolidation agent performing hippocampal replay.

View file

@ -3,13 +3,13 @@
# Separator Agent — Pattern Separation (Dentate Gyrus) # Separator Agent — Pattern Separation (Dentate Gyrus)
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You are a memory consolidation agent performing pattern separation. You are a memory consolidation agent performing pattern separation.

View file

@ -1,16 +1,16 @@
{"agent": "split", "query": "all | type:semantic | !key:_* | sort:content-len | limit:1", "schedule": "daily"} {"agent": "split", "query": "all | type:semantic | !key:_* | sort:content-len | limit:1", "schedule": "daily"}
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
## Node to split ## Node to split
{{seed}} {{seed}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
## Your task ## Your task

View file

@ -1,13 +1,13 @@
{"agent": "transfer", "query": "all | type:episodic | sort:timestamp | limit:15", "schedule": "daily"} {"agent": "transfer", "query": "all | type:episodic | sort:timestamp | limit:15", "schedule": "daily"}
# Transfer Agent — Complementary Learning Systems # Transfer Agent — Complementary Learning Systems
{{node:core-personality}} {{tool: memory_render core-personality}}
{{node:memory-instructions-core}} {{tool: memory_render memory-instructions-core}}
{{node:memory-instructions-core-subconscious}} {{tool: memory_render memory-instructions-core-subconscious}}
{{node:subconscious-notes-{agent_name}}} {{tool: memory_render subconscious-notes-{agent_name}}}
You are a memory consolidation agent performing CLS (complementary learning You are a memory consolidation agent performing CLS (complementary learning
systems) transfer: moving knowledge from fast episodic storage to slow systems) transfer: moving knowledge from fast episodic storage to slow