Loading documentation...
Build complex multi-step AI orchestrations with YAML/JSON. Chain unlimited tools, pass outputs between steps, and create powerful automated reasoning processes.
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.
TachiBot workflows go beyond simple sequential chaining. Here's the difference:
One after another, linear flow.
Simple Chaining
Sequential, one model per step
TachiBot Swarm
Parallel + multi-round refinement
Use ${variable_name} to reference outputs from previous steps:
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 stepsPerformance Example
Sequential: 4 models × 5 seconds each = 20 seconds total
Parallel: 4 models running simultaneously = ~5 seconds total
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 resultsWhy Perplexity & Grok for Live Search?
TachiBot uses Perplexity and Grok for real-time verification because they provide explicit, parameterized recency filters:
Best Practice: Always Verify
For critical decisions, use this pattern. Models brainstorm ideas, live search provides facts, verifier checks accuracy, then final synthesis combines both.
The general-council workflow demonstrates TachiBot's orchestration power with 7 steps:
For long-running workflows, use streaming mode to execute one step at a time with visual progress feedback:
Streaming mode provides real-time visual feedback with braille gradient progress bars, step-by-step output, and session management for pause/resume capability.
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.
truncateSteps
Controls whether step outputs are truncated. Set to false for code review and UX analysis where you need full output.
maxStepTokens
Maximum tokens per step when truncating. Default: 2500 (~10,000 characters). Increase for research-heavy workflows.
Override workflow settings at runtime:
| 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:
Detailed schema, built-in workflows, patterns, and management tools.
Full TypeScript schema for workflow configuration with all parameters.
Key Features:
tool + input for one-at-a-time stepsparallel: true + tools array for simultaneous execution${variable_name}Schema Requirements
name fieldinput (NOT params){ variable: "name" } (NOT string)TachiBot ships with production-ready workflows you can run immediately.
Multi-perspective code review covering architecture, security, performance, and readability. 6 steps with 4 parallel analyses using Gemini, Grok, Qwen, Perplexity, and OpenAI.
Usage: tachibot workflow run comprehensive-code-review "$(cat src/myfile.py)"
Iterative UX analysis with multi-model verification. Round 1: Identify issues (Gemini + OpenAI) → Verify with Perplexity. Round 2: Generate solutions (Qwen + Grok) → Verify → Challenge → Final synthesis.
Usage: tachibot workflow run ux-research-flow "$(cat src/components/Dashboard.tsx)"
WCAG 2.2 compliance pipeline: Scan (Gemini) → Research standards (Perplexity) → Collaborative fix debate (Gemini + Qwen) → Multi-model verification → Generate fixed code (Qwen).
Usage: tachibot workflow run accessibility-code-audit "$(cat src/pages/index.html)"
5-step creative pipeline: Ideas (Gemini) → Expand (OpenAI) → Research validation (Perplexity) → Contrarian challenge → Final synthesis (Focus mode).
Usage: tachibot workflow run creative-brainstorm "New features for collaborative code editor"
Key Patterns in Built-in Workflows
Research → Reason → Verify → Synthesize
Multiple models run simultaneously for diverse perspectives
Models debate and challenge each other to improve quality
Analyze requirements, generate code, review, and optimize
Competitive analysis with multi-model debate and dual verification
TachiBot 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 |
My workflow isn't showing in list_workflows
Check discovery order. Is it being overridden by another workflow with the same name?
Can I edit built-in workflows?
Copy to ~/.config/tachibot/workflows/ with the same name to override.
Does Claude Desktop MCPB need a rebuild?
No. Use ~/.config/tachibot/workflows/ — works immediately.
research_findings not r1)truncateSteps: false for comprehensive analysis workflowsmaxStepTokens for research-heavy workflowsLevel up your orchestration skills