-
Notifications
You must be signed in to change notification settings - Fork 1
Kasi Cascade
Oak Dev-inter edited this page Apr 23, 2026
·
1 revision
Tier cascade orchestration β Opus plans, Sonnet writes, Haiku greps. For missions too large for a single tier.
/kasi-cascade "<mission>"
./orchestration/tier_cascade.sh "<mission>"
python orchestration/python/orchestrator.py "<mission>"
- Decomposes a mission into subtasks at the Opus tier (plan phase).
- Routes each subtask to the cheapest tier that can handle it: grep/read β Haiku, work β Sonnet, nested plan β Opus.
- Verifies outputs at Opus before merge.
- Produces a plan JSON, per-subtask outputs, final git diff, and a verifier verdict.
- Opus decomposes the mission into typed subtasks (plan JSON, no prose).
- Dispatch workers by type: grep β Haiku, read β Haiku, work β Sonnet, nested plan β Opus.
- Opus verifies every worker output.
- Verifier emits verdict JSON: PASS / FAIL / UNSURE.
- Main merges (PASS) or escalates (FAIL / UNSURE).
- Mission spans more than 3 files.
- Mission has more than 5 distinct subtasks.
- Cross-file refactor.
- Multi-module bug fix.
- Single-file edit β use Kasi-Fix.
- One-line change.
- Trivial task β cascade overhead outweighs savings.
-
A. In Claude Code (simulated) β Opus explains the cascade plan; user runs subtasks manually via
claude --model X. -
B. Bash orchestrator β
./orchestration/tier_cascade.sh "mission". -
C. Python API β
python orchestration/python/orchestrator.py "mission"(needsANTHROPIC_API_KEY).
- Typical mission: $0.20β0.50.
- All-Opus comparison: 5β10Γ more expensive for equivalent output.
-
0β PASS, merge recommended. -
2β FAIL, review + retry. -
3β UNSURE, user review required.
- β Planner producing prose instead of valid JSON β workers cannot route.
- β Workers exceeding their tier budget (Haiku running a nested plan).
- β Skipping the verifier to save cost β verifier is the last gate.
- β Using cascade for a one-line fix.
Introduced in v0.8.0.
- Commands (aggregate)
- Multi-Agent-Orchestration
- Kasi-Multi
- Model-Tiers
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