← Back to home

How TachiBot thinks.

From intent to a verified answer: how routing, planning, deliberation and verification fit together — and what happens on every single tool call.

Intelligent dispatch

Smart routing & tachi

The tachi auto-router reads intent from your query, picks a mode, and assembles the right tool chain — so you never have to memorize 67 tool names.

AUTO-ROUTE · tachi → ToolExecutionService
—·Press replay to trace the flow
QUERY
INTENT
keyword match
solve
mode
research
mode
judge
mode
create
mode
TOOL CHAIN
selected + params
ANSWER
Modes ranked by keyword priority: judge › architect › solve › research › verify › creative
solve
grok_code → gemini_judge

Generate a fix, then have a different model verify it.

research
perplexity → openai_reason

Pull live, cited facts, then reason over them.

create
gemini_brainstorm → openai

Diverge into many ideas, then refine the best.

judge
jury panel

Parallel jurors + a judge for any “which is best?”.

architect
grok_architect

A 4–16 agent swarm for system-level design.

verify
fresh-model audit

Check claims against evidence with adversarial eyes.

Council-based planning

The planner pipeline.

planner_maker runs a 7-step council across six labs — each step handled by the model best at it — then planner_runner executes the plan against goal-oriented verification gates that catch drift early.

PIPELINE · planner_maker
—·Press replay to trace the flow
TASK
Research
grok_search
Code
deepseek_reason
Reason
kimi_thinking
Decompose
kimi_decompose
Critique
openai_reason
Draft
qwen_reason
Judge
gemini_analyze_text
PLAN
Context distilled to ~2.5k chars between steps (lost-in-middle mitigation)
Why a relay of different models?

planner_maker is a coordinator: instead of one model writing the whole plan, it returns one tool at a time and routes each stage to the model that's best at it. A single model would carry its own blind spots through every step; a relay lets a fresh perspective correct the previous one.

EXECUTION · planner_runner · verification gates
—·Press replay to trace the flow
0%
Gemini 4 Argon · right thing?
10%
Grok 4.7 · drift
25%
GPT-6 Astra · strategy
50%
Qwen3.8 Max · alignment
80%
Kimi K3 · remaining
100%
GPT+Gemini · verdict
Evidence fed to gates: git diff · test results · changed files
  1. 0%Gemini 4 Argon “Sherlock”

    Six deduction questions — are we even building the right thing?

  2. 10%Grok 4.7

    Early drift detection — kill a wrong approach before it spreads.

  3. 25%GPT-6 Astra

    Strategy validation — and can amend the plan if needed.

  4. 50%Qwen3.8 Max

    Goal alignment with a genuinely different reasoning style.

  5. 80%Kimi K3

    Decomposes the remaining work so nothing is left dangling.

  6. 100%GPT-6 Astra + Gemini 4 Argon

    Two-judge final verdict + Reflexion Lite against the evidence.

Decision-making framework

How seven minds think together.

A structured reasoning pipeline — ground in data, decompose, explore alternatives, stress test for holes, then judge.

01Ground truth

Search real-time data from 4 providers. No thinking starts without facts.

PerplexityGrok SearchGemini SearchOpenAI Search
02Break down

Decompose into atomic parts. Map dependencies, constraints, and execution order.

Kimi K3Qwen3.8 MaxQwen Algo
03Explore paths

Generate alternative approaches from different training data and perspectives.

GPT-6 AstraGeminiGrokMiniMax
04Stress test

Attack assumptions. Find holes, blind spots, and failure modes in every path.

GPT-6.1 Sol CriticQwen Reason
05Judge

Synthesize the best elements from every model. Resolve conflicts. Score everything. Not 10? Here's why — and how to fix it.

Gemini 4 ArgonKimi K3
Confidence91%
Code quality8.4/10
−1.6 — Cyclomatic complexity >10 in handler
Fix: Extract validation to utility class
Security7/10
−3 — No rate limiting on auth endpoints
Fix: Add express-rate-limit, 5 req/min on /login
Performance9/10
−1 — O(n²) nested loop on unindexed array
Fix: Use HashMap for O(1) lookup

Every deduction comes with a reason and a fix. No mystery scores.

Why these models

Each model was chosen for a specific strength. Different training data, different benchmarks, different blind spots.

3.5×
Qwen3.8 Max

Faster than the 235B model it replaces, at half the cost and more depth — picked in a live head-to-head across five Qwen candidates. 1M context, multimodal, configurable reasoning effort.

95%
Gemini 3.1 Pro

AIME — American Invitational Math Exam. Top math competition, one level below the International Math Olympiad.

95.4%
GPT-6.1 Sol

GPQA Diamond — PhD-level science questions written by domain experts. Tests deep reasoning, not memorization.

#1
Kimi K3

SWE-bench Pro leader — long-horizon, multi-file coding on real GitHub issues. 1T-param MoE, open-weights.

1M
MiniMax M3

Token context — MSA sparse attention (~1/20 compute at 1M). Embedded SCoT, reflexion, and ReAct techniques with per-task temperatures.

>70%
Qwen3-Coder-Next

SWE-Bench — agentic multi-file code generation. 80B/3B MoE at 262K context, and ~16x cheaper than the reasoning tier, so it stays the codegen model.

Real workflow output

Five models. One answer.

Real GPT-5.5 → GPT-5.6 migration analysis, ~3 minutes

Query

"Should I migrate from GPT-5.5 to GPT-5.6? Differences, breaking changes, migration steps."

  1. 1
    Version discoveryPerplexity

    GPT-5.6 shipped Jul 9 — sol / terra / luna tiers replace pro and mini

  2. 2
    Feature comparisonGrok 4.5

    1.05M context, 128K output, 54% more token-efficient than 5.5

  3. 3
    Migration impactGPT-5.6

    Breaking: the $30/$180 pro tier is gone — use sol + high reasoning effort

  4. 4
    Performance analysisGemini

    terra matches 5.5 at half the price; luna is cheapest but weaker on long context

  5. 5
    Final recommendationKimi K3

    Low-risk: default to sol, route code to terra, keep luna off huge inputs

Verdict: Safe to upgrade
No breaking changes, backward compatible, easy rollback
92%
Tailored surfaces

6 profiles.

Load only the tools you need. Set TACHIBOT_PROFILE to scale the surface from a lean 14 to the full 67 — fewer tools, less context spent on schemas.

minimal
14/ 67 tools

Quick tasks, low token budget

~4.1k tokens context cost
research_power
37/ 67 tools

Deep investigation, multi-source

~11.1k tokens context cost
code_focus
44/ 67 tools

Software development, SWE tasks

~12.2k tokens context cost
balanced
56/ 67 tools

General-purpose, mixed workflows

~15.2k tokens context cost
heavy_coding
60/ 67 tools

Max code tools + agentic workflows

~16.1k tokens context cost
fullDefault
67/ 67 tools

Everything enabled

~17.3k tokens context cost
Inside the engine

How a tool call flows.

From your prompt to a frontier model and back, every request passes through the same six layers. The request flows down; the answer streams back up.

  1. 1
    MCP ClientClaude Code · stdio (Model Context Protocol)

    You ask in natural language; Claude emits a structured tool call and streams the result back to you.

  2. 2
    FastMCP Serverserver.ts · safeAddTool()

    Registers tools by active profile + available API keys, then wraps every call with input validation, usage/cost tracking and a heartbeat.

  3. 3
    Toolsrc/tools/*.ts · execute()

    The tool's own logic runs — e.g. jury, planner_maker, grok_reason. Simple tools call a provider directly; orchestrating tools drop into the next layer.

  4. 4
    OrchestrationToolExecutionService · ModelProviderRegistry · ToolRouter · WorkflowEngine

    Resolves model aliases → real tools, builds parameters, routes by intent, and drives multi-step / multi-round flows.

  5. 5
    Provider callcallGrok · callOpenAI · callGemini · callOpenRouter · callPerplexity

    Normalizes the request, tries the OpenRouter gateway first, falls back to the direct API, applies per-model timeouts & reasoning effort.

  6. 6
    Model APIxAI · OpenAI · Google · OpenRouter · Perplexity

    The actual frontier model runs and returns its answer — which travels back up the stack to you.

Plain language in

Who parses “ask grok & perplexity, then let gemini judge”?

How Claude unpacks the request
“ask grok & perplexity for the latest on the MCP spec, then let gemini judge”
  1. 1“ask grok … latest on the MCP spec”→grok_search
  2. 2“& perplexity”→perplexity_ask
  3. 3“then let gemini judge”→gemini_judgegets 1 + 2
Under the hood

How it holds together.

Registry-driven, SOLID, and obsessive about token economy.

01 · Entry
Auto-routing dispatcher

tachi + focus read intent and orchestrate the right tools, modes and models for you.

02 · Registries
Provider & mode registries

ModelProviderRegistry maps 40+ aliases to tools; FocusModeRegistry adds reasoning modes without touching the core (OCP).

03 · Coordinator
One tool per step

The planner returns a single nextTool at a time — fully user-interruptible, with visible progress.

04 · Context
Distillation discipline

2.5k chars between steps, 6k for synthesis, truncated on clean boundaries — beating lost-in-the-middle recall loss.

05 · Workflows
YAML state machine

Variable interpolation, dependency resolution, parallel steps, retries and live manifest artifacts.

06 · Tracking
Cost & usage aware

Every call wrapped by safeAddTool() — token tracking, validation, heartbeat to keep MCP alive.

Two front doors

tachi vs focus.

Both orchestrate many models — they differ in how much you decide. One picks the tools for you; the other hands you the controls.

tachidecides WHAT — for you
The concierge

Describe the goal in plain language. tachi reads your intent, picks the right task mode, and runs a pre-baked tool chain — zero config.

  • →Auto-routes by keyword priority (ties resolve to the higher-stakes mode)
  • →Each mode is an outcome recipe — generate, then verify
  • →One-shot & stateless — returns the answer plus what it ran
Try it
› tachi "debug this null-pointer error"› tachi "microservices vs monolith for 10M users"› tachi "which is best — React, Vue or Svelte?"
solveresearchverifycreativearchitectjudge
focusyou decide HOW
The cockpit

You pick the reasoning strategy and the panel. focus runs a controlled, multi-round deliberation exactly the way you specify.

  • →You choose a process mode — how the models think together
  • →Knobs: domain · rounds · models · temperature · ping-pong style
  • →Multi-round & stateful — sessions resume via continue_focus
Try it
› /focus architecture-debate Redis vs Memcached› /focus research React 19 new features› /focus deep-reasoning scale to 10k connections
deep-reasoningarchitecture-debatedebugcode-brainstormresearchanalyze
 tachifocus
You providea querya query + a chosen mode
Picks the modeautomatically (intent routing)you do, explicitly
Mode typetask outcomes — solve, judge…reasoning processes — debate, deep…
Roundsone-shot recipemulti-round (default 5), ping-pong
Config knobsalmost nonedomain · rounds · models · temp · style
Statestatelesssession-based, resumable
Reach for it when“just handle this — pick the tools”“reason this way, with these models”
Open source · built in public · actively maintained

Built in public. Actively maintained.

New releases ship regularly. If it helps your workflow, a star helps others find it.

Report a bug or request a feature →
npm downloadsLast commit