Loading documentation...
Loading documentation...
Build complex multi-step AI orchestrations with YAML/JSON. Chain unlimited tools, pass outputs between steps, and create powerful automated reasoning processes.
Click to expand and see the full TypeScript schema for workflow configuration with all parameters.
TachiBot ships with production-ready workflows you can run immediately. Click to see the complete implementation and usage guide.
Click to see complete examples of different workflow patterns with full schemas.
Workflows let you chain multiple AI tools together into automated sequences. Each step can use outputs from previous steps, run in parallel, or branch conditionally. Think of them as recipes for collective intelligence.
No, it's MORE sophisticated than simple chaining. Here's the difference:
Simple chaining: A→B→C→D (sequential, one model per step)
TachiBot: [A,B,C,D in parallel] → Sync → Debate(5 rounds) → Challenge(3 rounds) → Synthesize
TachiBot workflows can verify outputs against real-time information using Perplexity or Grok live search. This prevents hallucinations by grounding AI responses in actual, up-to-date data.
verifier tool to validate claims against search resultsTachiBot uses Perplexity and Grok for real-time verification because they provide explicit, parameterized recency filters:
Bottom line: Perplexity and Grok provide reliable, programmatic control over search recency, making them ideal for fact-checking workflows that require up-to-date information.
For critical decisions, use this pattern: Generate → Search → Verify → Synthesize. Models brainstorm ideas, live search provides facts, verifier checks accuracy, then final synthesis combines both.
Use ${variable_name} to reference outputs from previous steps:
The swarm-think workflow demonstrates TachiBot's orchestration power:
Click to see the complete schemas for all workflow management tools.
TachiBot supports explicit parallel execution. Steps marked with parallel: true run simultaneously, dramatically reducing execution time.
Use a single step with parallel: true and multiple tools:
Mark individual steps with parallel: true. All consecutive parallel steps run together:
parallel: true stepsSequential: 4 models × 5 seconds each = 20 seconds total
Parallel: 4 models running simultaneously = ~5 seconds total
Each step can save its output to a variable using output: variable_name. Later steps reference it with ${variable_name}.
Chain as many steps as needed. Create complex multi-stage reasoning processes with dozens of steps.
Workflows work with both YAML and JSON formats:
Control how step outputs are displayed using the output configuration in your workflow YAML/JSON.
Controls whether step outputs are truncated. Default: true
false - Show complete output (best for code review, UX analysis)true - Truncate at maxStepTokens limit (better readability)Maximum tokens per step when truncating. Default: 2500 (~10,000 characters)
Override workflow settings at runtime using CLI parameters:
| Workflow Type | truncateSteps | maxStepTokens | Reason |
|---|---|---|---|
| Quick brainstorm | true | 1000 | Fast iteration |
| Code review | false | - | Need full analysis |
| Research | false | - | Comprehensive findings |
| UX analysis | false | - | Full user journey |
| Debug workflow | true | 5000 | Balance detail/readability |
When output is truncated, you'll see informative messages:
This tells you the actual size, applied limit, and how to see the full output.
research_findings not r1)truncateSteps: false for comprehensive analysis workflowsmaxStepTokens for research-heavy workflowsTachiBot supports multiple ways to add and organize workflows. Choose the approach that best fits your use case.
If you're running TachiBot from source, add workflows directly to the package:
Share workflows via git - they'll be discovered automatically:
Now everyone on the team can run: workflow run deploy
Create personal workflows that work with any TachiBot installation:
✅ Works with Claude Desktop (MCPB) - no rebuild needed!
Run workflows from anywhere without registration:
When you run workflow run my-flow, TachiBot searches in this order:
.tachibot/workflows/my-flow.yaml (checked first)~/.config/tachibot/workflows/my-flow.yaml (checked second)<package>/workflows/my-flow.yaml (checked last)First match wins! This lets you override built-in workflows with your own versions.
Workflows are discovered recursively (max 4 levels deep):
All found automatically! Organize however you like.
| Use Case | Location | Git Commit? |
|---|---|---|
| Built-in | workflows/ | ✅ Yes |
| Team workflows | .tachibot/workflows/ | ✅ Yes |
| Personal | ~/.config/tachibot/workflows/ | ❌ No |
| Experiments | Anywhere + --file | ❌ No |
Q: My workflow isn't showing in list_workflows
A: Check discovery order. Is it being overridden by another workflow with the same name?
Q: Can I edit built-in workflows?
A: Copy to ~/.config/tachibot/workflows/ with same name to override.
Q: Does Claude Desktop MCPB need rebuild?
A: No! Use ~/.config/tachibot/workflows/ - works immediately.
Level up your orchestration skills