-
Notifications
You must be signed in to change notification settings - Fork 1
Kasi Multi
Fan-out mode β dispatch N specialist agents in parallel, each with isolated context and a dispatch brief. Main synthesizes the N reports into one answer.
/kasi-multi # default: 6 agents, auto-selected
/kasi-multi 4 # 4 agents
/kasi-multi 6 <mission> # 6 agents + explicit mission
sudo <mission> # shorthand: /kasi-multi 6 <mission>, skip clarifying Qs
sudo 8 <mission> # shorthand + custom N
- Fans the current mission out across N parallel specialist agents in a single dispatch message.
- Gives each agent an isolated context window β they do not see each other's inputs.
- Writes one dispatch brief per agent (
MISSION / INPUTS / CONSTRAINTS / EXPECTED OUTPUT / PRIOR CONTEXT). - Synthesizes the N reports into one user-facing answer, ranked by severity Γ confidence.
- Suggests next steps but does not auto-execute destructive ones.
At the start of a message, sudo means:
-
Fan out by default β enter
/kasi-multiwith N=6 unless a number follows. - Skip clarifying questions β proceed on reasonable assumptions; narrate briefly.
- Stay inside safety rails β destructive ops still require confirmation (hard rule #1).
sudo is a pacing signal, not a permission escalation.
- Narrow the mission to one line. Even in sudo mode, refuse truly vague requests.
- Select N specialists from the registry based on mission kind.
- Write one dispatch brief per agent β no brief, no dispatch.
- Dispatch all N in a single message (parallel tool calls, no serial waits).
- Synthesize β merge, deduplicate, rank by severity Γ confidence.
- Suggest next step; do not auto-apply destructive findings.
| Slot | Agent | Job |
|---|---|---|
| 1 |
architect-planner / deep-researcher
|
scope + research |
| 2 | general-purpose |
scaffolding / build step |
| 3 | general-purpose |
secondary build step |
| 4 | general-purpose |
extract / data / glue |
| 5 |
test-writer / general-purpose
|
verification |
| 6 | audit-specialist --focus=quality |
review slot (v0.10 β was standalone code-reviewer pre-v0.10) |
Main swaps in bug-hunter, audit-specialist --focus=security, audit-specialist --focus=perf, refactor-surgeon, migration-specialist, legacy-specialist based on mission kind.
Note:
code-reviewer,security-auditor,perf-profilerare kept as name-resolution stubs in v0.10 β invoking them logs a deprecation notice. Useaudit-specialist --focus=quality|security|perf|allgoing forward. Stubs disappear in v0.11.
| N | When |
|---|---|
| 2 | Small mission, one dependency (researcher β implementer) |
| 3 | Triage β planner + worker + reviewer |
| 4 | Audit, 2β3 workstreams + reviewer |
| 6 (default) | Medium mission β 4 workers + reviewer + researcher |
| 8 | Large mission, multiple subsystems |
| 10 | Max β entire registry, rare |
Higher N is not always better. Default 6 has best cost / quality trade-off in observed runs.
- Audit or review with multiple workstreams (security + perf + tests + overall).
- Feature build decomposable into parallel chunks.
- Research needing multiple independent sources.
- Bug hunt where hypotheses are cheap to generate but expensive to verify.
- One-line fix β fan-out overhead eats the savings.
- Hard sequential dependency chain β fan-out collapses to serial anyway.
- Haiku + large N β synthesis breaks down.
- Opus β full fan-out allowed. Synthesis is where Opus earns its cost.
- Sonnet β default workhorse. Fans out to 6, prefers 4 on large contexts.
-
Haiku β cap N at 4. Always include
audit-specialist --focus=quality(verifier slot) β pre-v0.10 this was a standalonecode-reviewer; now invoked via the--focus=flag.sudoimplicitly caps at 4 even if user says 8.
- β Fanning out on a one-line fix.
- β Running
N=10out of habit. - β Dispatching agents without briefs.
- β Forwarding raw agent outputs to the user without synthesis.
- β Using
sudoto bypass destructive-op confirmation β it does not do that. - β Large N on Haiku β synthesis collapses.
Review a PR fast:
sudo review PR #42 in /Users/me/repo
N=6, roster: audit-specialist --focus=quality (overall) + 2Γ audit-specialist --focus=quality (per-file) + audit-specialist --focus=security + audit-specialist --focus=perf + test-writer. Synthesis = ranked findings + go/no-go. (Pre-v0.10 invoked separate code-reviewer / security-auditor / perf-profiler agents β those are now --focus= flags on audit-specialist.)
Build a feature fast:
sudo 4 build /kasi-search as a mini semantic search over .kasidit/knowledge/
N=4, roster: architect-planner + general-purpose (scaffold) + general-purpose (indexer) + test-writer. Synthesis = integrated PR plan + file list.
Migrate a schema:
/kasi-multi 3 migrate users.email to citext in Laravel 8
N=3, roster: migration-specialist + deep-researcher + test-writer. Synthesis = expand-contract plan + rollback per phase.
Introduced in v0.9.2.
Repo β’ Discussions β’ Issues β’ Changelog β’ Security β’ Contributing β’ MIT β’ Β© Kasidit Wansudon
Kasidit
Core
- Commands
- Kasi-Mode π₯ v0.10
- Backend-Hooks π₯ v0.10
- Model Tiers
- Gravity Pattern
- Multi-Agent-Orchestration
- Claude Design Integration
- UI Override Mode
- FAQ
Version History
- Version History β overview
- v0.13.0 β thClaws (Consolidated) π¦
- v0.12.0 β thClaws Runtime Support π¦
- v0.11.0 β Backend + Bridge + Runbook π
- v0.10.0 β Mode + Backend Hooks
- v0.9.2 β Gravity
- v0.9.1 β Master Orchestrator
- v0.9.0 β Claude Design
- v0.8.0 β Tier Cascade
- v0.7.4 β SWE-bench
- v0.3.0 β Tier adaptation
- v0.2.1 β Docs protocol
- v0.2.0 β UI Override
- v0.1.0 β Core
Concepts
Commands
- Kasi-Init
- Kasi-Review
- Kasi-Security
- Kasi-Fix
- Kasi-Ui
- Kasi-Cascade
- Kasi-Multi
- Kasi-Scaffold
- Kasi-Docs
- Kasi-Status
- Kasi-Promote
- Kasi-Pull
- Kasi-Sync
- Kasi-Search
- Kasi-Wiki-Sync
Agents
- Agent-Architect-Planner
- Agent-Audit-Specialist π₯ v0.10
- Agent-Bug-Hunter
- Agent-Deep-Researcher
- Agent-Legacy-Specialist
- Agent-Migration-Specialist
- Agent-Refactor-Surgeon
- Agent-Test-Writer
Deprecated v0.10 (stubs β audit-specialist --focus=..., removed in v0.11)
-
Agent-Code-Reviewer β
--focus=quality -
Agent-Security-Auditor β
--focus=security -
Agent-Perf-Profiler β
--focus=perf