Help

πŸš€ TzuFlow Documentation

Welcome to the official documentation for TzuFlow, a visual node-based workflow editor for orchestrating local AI agents (inspired by Unreal Engine Blueprints and Blender Nodes).


πŸ“ Quick Navigation

By Category

By Use Case


πŸ” How to Use This Documentation

  1. In the Application: Each node has a Help button (❓) in its config dialog. Click it to jump directly to that node's detailed page.

  2. Browse by Category: Use the sections below to find nodes by their function.

  3. Search by Name: Use your browser's search (Ctrl+F / Cmd+F) to quickly find a specific node.

  4. Node Pages: Each node has its own dedicated page with:

    • Configuration options explained
    • Usage examples
    • Common pitfalls to avoid

🧠 Core Concept: Local AI Agents

The heart of TzuFlow is the Agent Node, which connects to local Large Language Models (LLMs) via Ollama. This ensures:

  • βœ… Privacy: Your data never leaves your machine
  • βœ… Speed: No network latency
  • βœ… Offline: Works without internet connection
  • βœ… Control: You choose which models to use

Input / Output

Nodes for data entry and display.

Node Description When to Use
Input Entry point for user text Start a workflow with manual input
Output Display results with Markdown rendering Show final results to user

AI & Agents

Nodes that interact with AI models.

Node Description When to Use
Agent Main AI node - sends prompts to Ollama models Generate text, analyze, translate, summarize
Code Execute custom VB.NET code Custom data transformation, calculations
Template Build structured prompts with variables Create dynamic prompts for AI agents

Flow Control

Nodes that control workflow execution and data routing.

Node Description When to Use
Automate Control auto-restart and workflow automation Create loops, reset sequencers, save outputs
Sequencer Split text into chunks, process one at a time Iterate through lists, process items sequentially
Iterator Route data to different outputs on each cycle Multi-step pipelines, state machines
Switch Conditional routing based on text/content If/then logic, branch based on AI response
Dispatch Split text into multiple outputs at once Parallel processing, divide work
Merge Combine multiple inputs into one Reassemble split content, join results
Filter Keep or remove lines matching a pattern Clean AI output, extract specific info
Counter Count characters, words, lines, or tokens Monitor content length, check limits
Delay Pause execution for N seconds Rate limiting, pacing requests

Files & Data

Nodes for file system operations.

Node Description When to Use
File Read Read text from a file Load documents, configs, data
File Write Write text to a file Save results, export data
Folder List List files in a directory Batch process multiple files

Web & Network

Nodes for internet connectivity.

Node Description When to Use
Web Fetch webpage content Scrape articles, get live data
Web Search Search DuckDuckGo and fetch results Research topics, fact-checking

Memory

Nodes for persistent data storage.

Node Description When to Use
Memory Read Read data from JSON memory file Share data between workflows, cache results
Memory Write Save data to JSON memory file Store intermediate results, persist state

Audio & Voice

Nodes for speech processing.

Node Description When to Use
Microphone Record and transcribe speech Voice input, dictation, voice commands
Voice Text-to-Speech using Windows voices Read results aloud, accessibility
Orpheus / Kokoro AI-powered TTS with emotional expression High-quality voice synthesis, storytelling

Layout

Nodes for visual organization.

Node Description When to Use
Frame Visual grouping panel Organize complex workflows, add annotations

πŸ’‘ I Want To...

Common Tasks & Which Nodes to Use

πŸ“ Process a large document

  1. File Read β†’ Sequencer (split into chunks) β†’ Agent (process each) β†’ Merge β†’ File Write

πŸ”„ Create a loop that processes items one by one

  1. Folder List β†’ Sequencer β†’ Iterator (control steps) β†’ Agent β†’ Automate (enable auto-restart)

Research a topic and summarize

  1. Input β†’ Web Search β†’ Agent (summarize results) β†’ Output

️ Voice-controlled workflow

  1. Microphone β†’ Agent (process voice input) β†’ Voice (read response aloud)

πŸ’Ύ Cache AI results to avoid re-processing

  1. Memory Read (check cache) β†’ Switch (if not found) β†’ Agent β†’ Memory Write (save) β†’ Output

πŸ”€ Branch based on AI response

  1. Agent β†’ Switch (test response) β†’ Route to different branches based on content

πŸ“Š Batch process multiple files

  1. Folder List β†’ Sequencer β†’ File Read β†’ Agent β†’ File Write

βš™οΈ Workflow Patterns

Pattern 1: Sequential Processing

Input β†’ Agent 1 β†’ Agent 2 β†’ Agent 3 β†’ Output Use when: Each step depends on the previous one

Pattern 2: Parallel Processing

Input β†’ Dispatch β†’ [Agent A, Agent B, Agent C] β†’ Merge β†’ Output Use when: Independent tasks can run simultaneously

Pattern 3: Conditional Branching

Input β†’ Agent β†’ Switch β†’ [Branch A / Branch B] β†’ Merge β†’ Output Use when: Different logic based on AI response

Pattern 4: Loop with Memory

Memory Read β†’ Sequencer β†’ Agent β†’ Memory Write β†’ Automate (restart) Use when: Process items until completion


βš™οΈ Configuration Tips

For Best Performance

  • Agent Context Size: Keep it as small as possible (faster inference)
  • Use Auto Context: Let TzuFlow estimate the optimal size
  • Strip HTML: Always enable when fetching web content
  • Temperature: Lower (0.2-0.4) for consistent results, higher (0.7-0.9) for creativity

For Reliability

  • Always use Stop Sequences: Prevent AI from rambling
  • Set Timeouts: Avoid infinite hangs
  • Use Memory: Cache expensive operations
  • Test with Small Data: Before running on large datasets

πŸ› οΈ Troubleshooting

Common Issues

"Model not found" β†’ Make sure Ollama is running and the model is downloaded (ollama pull model-name)

"403 Forbidden" on Web nodes β†’ Some websites block automated requests. Try a different source.

Workflow won't start β†’ Check that you have at least one source node (Input, Memory Read in FixedKey mode, etc.)

Loop runs forever β†’ Check your Automate node settings or add a stop condition with Switch

AI output is truncated β†’ Increase Predict Size or enable Auto Context


πŸ“š Additional Resources


πŸ“ž Need Help?

  • Check the node-specific documentation (click Help button in config)
  • Review the example workflows in the application
  • Contact support for advanced use cases

Happy Workflowing!