New nodes (5):
- Relay: local message delivery between agents (outbox→inbox)
- ChatHistory: multi-turn conversation persistence across runs
- PromptTemplate: {a}/{b}/{c}/{d} variable substitution
- ConditionalRouter: keyword/regex routing with matched/unmatched outputs
- BatchSplitter: split text into numbered sections by delimiter
Fixed nodes (3):
- TextCombine: removed forceInput, text_a/text_b now typeable widgets
- Remember: removed forceInput on text, now typeable widget
- Send: removed forceInput on body, now typeable widget
Demo workflows (7):
1. Character Design - art director with memory for consistent characters
2. Novel Crafter - writer+editor dual-agent with Relay message delivery
3. Story to Video - director breaks story into scenes with BatchSplitter
4. Multi-Turn Chat - persistent conversation history across queue runs
5. Agent Debate - two agents argue via message passing (FOR vs AGAINST)
6. World Builder - game world with PromptTemplate for locations/characters
7. RAG Pipeline - store docs, search, answer with ConditionalRouter error handling
76 tests all passing (46 original + 30 new).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
79 lines
4.3 KiB
JSON
79 lines
4.3 KiB
JSON
{
|
|
"last_node_id": 8,
|
|
"last_link_id": 9,
|
|
"nodes": [
|
|
{
|
|
"id": 1, "type": "AgentAZAll_Setup", "pos": [50, 150], "size": [280, 130],
|
|
"flags": {}, "order": 0, "mode": 0, "properties": {},
|
|
"widgets_values": ["world-builder@localhost", "", ""],
|
|
"inputs": [],
|
|
"outputs": [{"name": "config", "type": "AZALL_CONFIG", "links": [1,2,3], "slot_index": 0}]
|
|
},
|
|
{
|
|
"id": 2, "type": "AgentAZAll_Recall", "pos": [400, 300], "size": [300, 100],
|
|
"flags": {}, "order": 1, "mode": 0, "properties": {},
|
|
"widgets_values": [""],
|
|
"inputs": [{"name": "config", "type": "AZALL_CONFIG", "link": 1}],
|
|
"outputs": [{"name": "results", "type": "STRING", "links": [4], "slot_index": 0}]
|
|
},
|
|
{
|
|
"id": 3, "type": "AgentAZAll_SystemPrompt", "pos": [400, 50], "size": [380, 220],
|
|
"flags": {}, "order": 2, "mode": 0, "properties": {},
|
|
"widgets_values": ["You are a game world designer. Build rich, interconnected worlds with characters, locations, items, and lore. Always store your creations using tools:\n- [TOOL:remember title=\"character-NAME\"]description + stats + relationships[/TOOL]\n- [TOOL:remember title=\"location-NAME\"]description + connections + inhabitants[/TOOL]\n- [TOOL:remember title=\"item-NAME\"]description + properties + location[/TOOL]\n- [TOOL:remember title=\"lore-TOPIC\"]history + context[/TOOL]\nAlways cross-reference: mention which characters live in which locations, who carries which items, and how lore connects to places. Check existing memories to maintain consistency.", true, false, true, 50],
|
|
"inputs": [{"name": "config", "type": "AZALL_CONFIG", "link": 2}],
|
|
"outputs": [{"name": "system_prompt", "type": "STRING", "links": [5], "slot_index": 0}]
|
|
},
|
|
{
|
|
"id": 4, "type": "AgentAZAll_PromptTemplate", "pos": [850, 280], "size": [400, 200],
|
|
"flags": {}, "order": 3, "mode": 0, "properties": {},
|
|
"widgets_values": ["Create a {a} for the world. Name: {b}. Style: {c}.\n\n--- Existing World Knowledge ---\n{d}", "tavern location", "The Ember Hearth", "medieval fantasy with steampunk elements", ""],
|
|
"inputs": [{"name": "d", "type": "STRING", "link": 4}],
|
|
"outputs": [{"name": "text", "type": "STRING", "links": [6], "slot_index": 0}]
|
|
},
|
|
{
|
|
"id": 5, "type": "AgentAZAll_LLM", "pos": [1320, 150], "size": [340, 220],
|
|
"flags": {}, "order": 4, "mode": 0, "properties": {},
|
|
"widgets_values": ["http://localhost:11434/v1/chat/completions", "default", 2048, 0.7, 120],
|
|
"inputs": [{"name": "system_prompt", "type": "STRING", "link": 5}, {"name": "user_prompt", "type": "STRING", "link": 6}],
|
|
"outputs": [{"name": "response", "type": "STRING", "links": [7], "slot_index": 0}]
|
|
},
|
|
{
|
|
"id": 6, "type": "AgentAZAll_ToolParser", "pos": [1730, 150], "size": [300, 120],
|
|
"flags": {}, "order": 5, "mode": 0, "properties": {},
|
|
"widgets_values": [],
|
|
"inputs": [{"name": "config", "type": "AZALL_CONFIG", "link": 3}, {"name": "llm_output", "type": "STRING", "link": 7}],
|
|
"outputs": [
|
|
{"name": "tool_results", "type": "STRING", "links": [9], "slot_index": 0},
|
|
{"name": "clean_text", "type": "STRING", "links": [8], "slot_index": 1}
|
|
]
|
|
},
|
|
{
|
|
"id": 7, "type": "AgentAZAll_TextDisplay", "pos": [2100, 50], "size": [400, 300],
|
|
"flags": {}, "order": 6, "mode": 0, "properties": {},
|
|
"widgets_values": [],
|
|
"inputs": [{"name": "text", "type": "STRING", "link": 8}],
|
|
"outputs": []
|
|
},
|
|
{
|
|
"id": 8, "type": "AgentAZAll_TextDisplay", "pos": [2100, 380], "size": [400, 150],
|
|
"flags": {}, "order": 7, "mode": 0, "properties": {},
|
|
"widgets_values": [],
|
|
"inputs": [{"name": "text", "type": "STRING", "link": 9}],
|
|
"outputs": []
|
|
}
|
|
],
|
|
"links": [
|
|
[1,1,0,2,0,"AZALL_CONFIG"],[2,1,0,3,0,"AZALL_CONFIG"],[3,1,0,6,0,"AZALL_CONFIG"],
|
|
[4,2,0,4,3,"STRING"],[5,3,0,5,0,"STRING"],[6,4,0,5,1,"STRING"],
|
|
[7,5,0,6,1,"STRING"],[8,6,1,7,0,"STRING"],[9,6,0,8,0,"STRING"]
|
|
],
|
|
"groups": [
|
|
{"title": "1. World Context", "bounding": [30, 30, 780, 420], "color": "#2a6e3f"},
|
|
{"title": "2. Template + Generate", "bounding": [830, 130, 930, 380], "color": "#8e4585"},
|
|
{"title": "3. Parse + Display", "bounding": [2080, 30, 450, 530], "color": "#b8860b"}
|
|
],
|
|
"config": {},
|
|
"extra": {"ds": {"scale": 0.6, "offset": [0, 0]}},
|
|
"version": 0.4
|
|
}
|