yohey-w/multi-agent-shogun

Samurai-inspired multi-agent system for Claude Code. Orchestrate parallel AI tasks via tmux with shogun → karo → ashigaru hierarchy.

What it solves

It eliminates the high API costs and coordination overhead associated with running multiple AI coding agents. Instead of paying per token for orchestration, it leverages flat-rate CLI subscriptions to run several independent agents in parallel without burning tokens on internal communication.

How it works

The system uses a feudal Japanese hierarchy (Shogun $\rightarrow$ Karo $\rightarrow$ Ashigaru) implemented via tmux split-panes and YAML files on disk.

  • Shogun: Receives user commands and delegates them.
  • Karo: A manager agent that breaks down tasks and distributes them to workers.
  • Ashigaru: Seven worker agents that execute tasks in parallel.
  • Gunshi: A strategist agent that reviews reports.

Agents communicate asynchronously through YAML files, meaning no API calls are wasted on coordination. It supports a variety of CLI tools including Claude Code, OpenAI Codex, GitHub Copilot, Kimi Code, OpenCode, Cursor, and Antigravity, using a unified instruction build system to keep rules consistent across different vendors.

Who it’s for

Developers who want to deploy a "army" of AI agents to handle complex coding tasks in parallel while maintaining full transparency and predictable monthly costs.

Highlights

  • Zero Coordination Overhead: Uses disk-based YAML communication instead of API-based orchestration.
  • Multi-CLI Support: Compatible with 7 different AI coding CLIs, allowing users to mix and match strengths.
  • Bottom-Up Skill Discovery: Agents automatically identify reusable patterns during work and propose them as permanent skills for the user to approve.
  • Live Observability: Every agent runs in its own visible tmux pane with a real-time dashboard.
  • Mobile Command Center: Includes a dedicated Android app for monitoring agents and sending commands via SSH and voice input.

Related

  • Project
  • Project
  • Project
  • Project
  • Project