Loading documentation...
Loading documentation...
Real-world examples showing how to use TachiBot tools and workflows effectively. From simple tool calls to complex multi-step orchestrations.
You can call any TachiBot tool directly from Claude Code without creating a workflow. Just use natural language:
Ask Claude to use perplexity_ask tool:
"Use perplexity_ask to research the latest developments in Rust async runtime"
I'll use the perplexity_ask tool to research that.
perplexity_ask({
"query": "latest developments in Rust async runtime 2024",
"searchDomain": "general"
})Shows recent tokio updates, async-std developments, and more.
Direct code review with qwen_coder:
"Use qwen_coder to review this code for bugs:"
function validateEmail(email) {
return email.includes('@');
}I'll use qwen_coder to review this code.
qwen_coder({
"task": "review",
"requirements": "Check for bugs and security issues",
"code": "function validateEmail(email) { return email.includes('@'); }",
"language": "javascript"
})Found issues: 1. Weak validation — doesn't check domain 2. Missing null checks 3. No email format validation (RFC 5322) Recommendation: Use proper regex or validation library
Chain multiple tools together for more powerful analysis. Claude can orchestrate this automatically:
Complete analysis pipeline in natural language:
"Research GraphQL vs REST with perplexity, validate findings with grok_search, analyze the trade-offs with qwen_coder, and save the results to a markdown file with timestamp"
Claude executes a 4-step pipeline: 1. perplexity_reason({ query: "GraphQL vs REST API comparison" }) 2. grok_search({ query: "GraphQL REST performance benchmarks 2024" }) 3. qwen_coder({ task: "analyze", requirements: "Compare based on research" }) 4. Saves output to timestamped markdown file
File created: ./graphql-vs-rest-2025-11-14-16-30.md
Get opinions from 3 different models:
"Should I use TypeScript or Go for a new microservice API? Get recommendations from grok_reason, gemini_brainstorm, and openai_brainstorm"
I'll gather perspectives from multiple models. 1. grok_reason says: "Go for performance-critical services..." 2. gemini_brainstorm suggests: "TypeScript for faster development..." 3. openai_brainstorm recommends: "Consider team expertise..."
Based on 3 model consensus: • Go: Better for CPU-intensive, low-latency services • TypeScript: Better for rapid prototyping, Node.js ecosystem Recommendation: TypeScript for MVP, migrate to Go if performance becomes bottleneck
Workflows are pre-built multi-step processes. TachiBot includes 11 ready-to-use workflows:
1# Basic syntax2workflow --name {workflow-name} --query "{your input}"3 4# Example: Code review5workflow --name code-review --query "$(cat src/app.js)"6 7# Example: Creative brainstorming8workflow --name ultra-creative-brainstorm --query "AI-powered developer tools"9 10# Example: Run from custom file11workflow --file ./my-workflow.yaml --query "analyze this codebase"For consensus verification and critical analysis, use these MCP tools directly (no workflow file needed):
All workflow outputs are saved to workflow-output/ directory:
1workflow-output/2├── ultra-creative-brainstorm/3│ └── 2025-11-14-16-30-abc123/4│ ├── manifest.json # Execution metadata5│ ├── 1-research-context-gemini-3-1-pro-2025-11-14-16-30-45-Thursday.md6│ ├── 2-analyze-patterns-grok-4-5-2025-11-14-16-31-12-Thursday.md7│ ├── 3-brainstorm-ideas-gpt-5-6-sol-2025-11-14-16-32-05-Thursday.md8│ └── ...9├── code-review/10│ └── 2025-11-14-17-00-def456/11│ ├── manifest.json12│ └── ...13└── ...3-brainstorm-ideas-gpt-5-6-sol-2025-11-14-16-32-05-Thursday.mdOverride default output directory in your .env file:
1# .env file2WORKFLOW_OUTPUT_DIR=./my-custom-outputs3 4# Or use absolute path5WORKFLOW_OUTPUT_DIR=/Users/you/Documents/tachibot-results1. Check Manifest.json — contains execution summary and metadata:
1{2 "workflowId": "abc123",3 "workflowName": "code-review",4 "status": "completed",5 "startTime": "2025-11-14T16:30:00Z",6 "endTime": "2025-11-14T16:35:00Z",7 "query": "Review authentication module",8 "steps": [9 {10 "id": "1",11 "name": "security-scan",12 "status": "completed",13 "output": "Found 2 potential vulnerabilities...",14 "file": "1-security-scan-grok-4-5-2025-11-14-16-30-45-Thursday.md"15 }16 ]17}2. Read Individual Step Outputs
1# Navigate to workflow output2cd workflow-output/code-review/2025-11-14-16-30-abc123/3 4# Read step-by-step5cat 1-security-scan-grok-4-5-2025-11-14-16-30-45-Thursday.md6cat 2-code-quality-gemini-3-1-pro-2025-11-14-16-31-12-Thursday.md7 8# Or view all outputs9ls -lh *.md3. Debugging Failed Workflows — use jq to find errors in manifest.json:
1# Find failed steps2jq '.steps[] | select(.status == "failed")' manifest.json3 4# Get error details5jq '.steps[] | select(.error != null) | {step: .id, name: .name, error: .error}' manifest.json6 7# Output example:8{9 "step": "3",10 "name": "brainstorm-ideas",11 "error": "API rate limit exceeded"12}Multi-tool analysis pipeline:
"Analyze GitHub issue #234 about performance regression: 1. Research similar issues with perplexity_reason 2. Analyze the code changes with qwen_coder 3. Get optimization suggestions from grok_code 4. Validate solution with the jury tool"
Complete analysis with: • 5 similar historical issues found • Root cause identified (N+1 query problem) • 3 optimization strategies suggested • Solution verified by 3 models (95% confidence)
Compare database options:
"Run iterative-problem-solver workflow to decide between PostgreSQL and MongoDB for a social media analytics platform with 1M daily active users"
Workflow executes 15 steps: Step 1–3: Research both databases (perplexity + grok) Step 4–6: Analyze requirements vs capabilities Step 7–10: Challenge assumptions with different scenarios Step 11–13: Verify recommendations with multi-model consensus Step 14–15: Synthesize final decision with trade-offs
Output: 15-page analysis in workflow-output/ Recommendation: PostgreSQL for ACID compliance, with MongoDB for time-series data
Comprehensive refactoring strategy:
"Use code-architecture-review workflow on src/ directory"
Workflow analyzes: • Code structure and patterns • Coupling and cohesion • Performance bottlenecks • Security vulnerabilities • Test coverage gaps
Delivers: ✓ 12 refactoring recommendations ✓ Prioritized by impact (high/medium/low) ✓ Before/after code examples ✓ Estimated effort (story points) ✓ Risk assessment for each change Saved to: workflow-output/code-architecture-review/2025-11-14.../
Run multiple tools simultaneously for faster results:
1# In your workflow YAML2- name: gather-perspectives3 parallel: true4 tools:5 - name: perplexity-view6 tool: perplexity_ask7 input: { query: "${query}" }8 9 - name: grok-view10 tool: grok_reason11 input: { problem: "${query}" }12 13 - name: gemini-view14 tool: gemini_brainstorm15 input: { prompt: "${query}" }16 17# All 3 tools run at the same time!Execute steps based on previous results:
1- name: validate-solution2 tool: gemini_judge3 input:4 perspectives: "${solution}"5 mode: "evaluate"6 output: { variable: validation }7 8- name: refine-if-needed9 tool: kimi_thinking10 input:11 problem: "Improve solution based on feedback"12 when: "${validation.confidence} < 0.8" # Only runs if confidence lowHandle outputs larger than 1MB by saving to disk:
1- name: deep-research2 tool: perplexity_reason # High maxTokens, generates large output3 saveToFile: true # Automatically saves to disk4 maxTokens: 90000 # Can use very high limits5 output: { variable: research }6 7- name: analyze-findings8 loadFiles: ["deep-research"] # Loads from disk, not memory9 tool: gemini_analyze_text10 input:11 text: "${research}" # Full 90k tokens available!Use 31 research-backed techniques for better reasoning:
1- name: decompose2 tool: think3 promptTechnique: problem_decomposition4 input: { thought: "Break down ${query}" }5 6- name: ideate7 tool: gemini_brainstorm8 promptTechnique: what_if_speculation9 input: { prompt: "Generate ideas for ${query}" }10 11- name: challenge12 tool: grok_reason13 promptTechnique: first_principles14 input: { problem: "Validate ${ideas}" }15 16# Available techniques: problem_decomposition, what_if_speculation,17# first_principles, pattern_recognition, and 10 more!create_workflow tool to generate YAML from your natural language description!