by yohey-w
Samurai-inspired multi-agent system for Claude Code. Orchestrate parallel AI tasks via tmux with shogun → karo → ashigaru hierarchy.
# Add to your Claude Code skills
git clone https://github.com/yohey-w/multi-agent-shogunCommand your AI army like a feudal warlord.
Run 8 Claude Code agents in parallel — orchestrated through a samurai-inspired hierarchy with zero coordination overhead.
</div> <p align="center"> <img src="assets/screenshots/tmux_multiagent_9panes.png" alt="multi-agent-shogun: 9 panes running in parallel" width="800"> </p> <p align="center"><i>One Karo (manager) coordinating 8 Ashigaru (workers) — real session, no mock data.</i></p>Give a single command. The Shogun (general) delegates to the Karo (steward), who distributes work across up to 8 Ashigaru (foot soldiers) — all running as independent Claude Code processes in tmux. Communication flows through YAML files and tmux send-keys, meaning zero extra API calls for agent coordination.
Most multi-agent frameworks burn API tokens on coordination. Shogun doesn't.
| | Claude Code Task tool | LangGraph | CrewAI | multi-agent-shogun |
|---|---|---|---|---|
| Architecture | Subagents inside one process | Graph-based state machine | Role-based agents | Feudal hierarchy via tmux |
| | Sequential (one at a time) | Parallel nodes (v0.2+) | Limited | |
| | API calls per Task | API + infra (Postgres/Redis) | API + CrewAI platform | (YAML + tmux) |
| | Claude logs only | LangSmith integration | OpenTelemetry | + dashboard |
| | None | None | None | |
| | Built into Claude Code | Heavy (infra required) | pip install | Shell scripts |
Zero coordination overhead — Agents talk through YAML files on disk. The only API calls are for actual work, not orchestration. Run 8 agents and pay only for 8 agents' work.
Full transparency — Every agent runs in a visible tmux pane. Every instruction, report, and decision is a plain YAML file you can read, diff, and version-control. No black boxes.
Battle-tested hierarchy — The Shogun → Karo → Ashigaru chain of command prevents conflicts by design: clear ownership, dedicated files per agent, event-driven communication, no polling.
This is the feature no other framework has.
As Ashigaru execute tasks, they automatically identify reusable patterns and prop...