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
- Input / Output
- π€ AI & Agents
- βοΈ Flow Control
- π Files & Data
- π Web & Network
- πΎ Memory
- οΈ Audio & Voice
- π¨ Layout
By Use Case
π How to Use This Documentation
-
In the Application: Each node has a Help button (β) in its config dialog. Click it to jump directly to that node's detailed page.
-
Browse by Category: Use the sections below to find nodes by their function.
-
Search by Name: Use your browser's search (Ctrl+F / Cmd+F) to quickly find a specific node.
-
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
File ReadβSequencer(split into chunks) βAgent(process each) βMergeβFile Write
π Create a loop that processes items one by one
Folder ListβSequencerβIterator(control steps) βAgentβAutomate(enable auto-restart)
Research a topic and summarize
InputβWeb SearchβAgent(summarize results) βOutput
οΈ Voice-controlled workflow
MicrophoneβAgent(process voice input) βVoice(read response aloud)
πΎ Cache AI results to avoid re-processing
Memory Read(check cache) βSwitch(if not found) βAgentβMemory Write(save) βOutput
π Branch based on AI response
AgentβSwitch(test response) β Route to different branches based on content
π Batch process multiple files
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
- Ollama Models - Browse and download AI models
- VB.NET Documentation - Microsoft's official VB.NET reference
π 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!