From ecc
dmux(AI 에이전트용 tmux pane 관리자)를 사용한 멀티 에이전트 오케스트레이션 패턴입니다. Claude Code, Codex, OpenCode 등 여러 하니스에서 병렬 에이전트 워크플로를 구성할 때 사용합니다.
npx claudepluginhub sam42-lab/everything-claude-code-krThis skill uses the workspace's default tool permissions.
에이전트 하니스를 위한 tmux pane 관리자인 dmux를 사용해 병렬 AI 에이전트 세션을 오케스트레이션합니다.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
에이전트 하니스를 위한 tmux pane 관리자인 dmux를 사용해 병렬 AI 에이전트 세션을 오케스트레이션합니다.
"run in parallel", "split this work", "use dmux", "multi-agent"라고 말할 때dmux는 AI 에이전트 pane을 관리하는 tmux 기반 오케스트레이션 도구입니다.
n to create a new pane with a promptm to merge pane output back to the main session설치: 패키지를 검토한 뒤 저장소에서 dmux를 설치합니다. github.com/standardagents/dmux 참조
# Start dmux session
dmux
# Create agent panes (press 'n' in dmux, then type prompt)
# Pane 1: "Implement the auth middleware in src/auth/"
# Pane 2: "Write tests for the user service"
# Pane 3: "Update API documentation"
# Each pane runs its own agent session
# Press 'm' to merge results back
조사와 구현을 병렬 트랙으로 분리합니다.
Pane 1 (Research): "Research best practices for rate limiting in Node.js.
Check current libraries, compare approaches, and write findings to
/tmp/rate-limit-research.md"
Pane 2 (Implement): "Implement rate limiting middleware for our Express API.
Start with a basic token bucket, we'll refine after research completes."
# After Pane 1 completes, merge findings into Pane 2's context
독립적인 파일 단위로 작업을 병렬화합니다.
Pane 1: "Create the database schema and migrations for the billing feature"
Pane 2: "Build the billing API endpoints in src/api/billing/"
Pane 3: "Create the billing dashboard UI components"
# Merge all, then do integration in main pane
한 pane에서 테스트를 돌리고 다른 pane에서 수정합니다.
Pane 1 (Watcher): "Run the test suite in watch mode. When tests fail,
summarize the failures."
Pane 2 (Fixer): "Fix failing tests based on the error output from pane 1"
작업 성격에 따라 서로 다른 AI 도구를 사용합니다.
Pane 1 (Claude Code): "Review the security of the auth module"
Pane 2 (Codex): "Refactor the utility functions for performance"
Pane 3 (Claude Code): "Write E2E tests for the checkout flow"
서로 다른 리뷰 관점을 병렬로 실행합니다.
Pane 1: "Review src/api/ for security vulnerabilities"
Pane 2: "Review src/api/ for performance issues"
Pane 3: "Review src/api/ for test coverage gaps"
# Merge all reviews into a single report
서로 겹치는 파일을 건드리는 작업이라면:
# Create worktrees for isolation
git worktree add -b feat/auth ../feature-auth HEAD
git worktree add -b feat/billing ../feature-billing HEAD
# Run agents in separate worktrees
# Pane 1: cd ../feature-auth && claude
# Pane 2: cd ../feature-billing && claude
# Merge branches when done
git merge feat/auth
git merge feat/billing
| Tool | What It Does | When to Use |
|---|---|---|
| dmux | 에이전트용 tmux pane 관리 | 병렬 에이전트 세션 |
| Superset | 10개 이상 병렬 에이전트를 위한 터미널 IDE | 대규모 오케스트레이션 |
| Claude Code Task tool | 프로세스 내부 서브에이전트 실행 | 세션 내부 프로그래매틱 병렬화 |
| Codex multi-agent | 내장 에이전트 역할 | Codex 전용 병렬 작업 |
ECC에는 별도 git worktree를 사용하는 외부 tmux pane 오케스트레이션 헬퍼가 포함되어 있습니다.
node scripts/orchestrate-worktrees.js plan.json --execute
예시 plan.json:
{
"sessionName": "skill-audit",
"baseRef": "HEAD",
"launcherCommand": "codex exec --cwd {worktree_path} --task-file {task_file}",
"workers": [
{ "name": "docs-a", "task": "Fix skills 1-4 and write handoff notes." },
{ "name": "docs-b", "task": "Fix skills 5-8 and write handoff notes." }
]
}
이 헬퍼는 다음을 수행합니다.
seedPaths를 각 워커 worktree에 오버레이.orchestration/<session>/ 아래에 워커별 task.md, handoff.md, status.md 파일 작성워크가 아직 HEAD에 포함되지 않은 더티/추적되지 않은 로컬 파일에 접근해야 하면 seedPaths를 사용합니다. 예: 로컬 오케스트레이션 스크립트, 초안 계획, 문서
{
"sessionName": "workflow-e2e",
"seedPaths": [
"scripts/orchestrate-worktrees.js",
"scripts/lib/tmux-worktree-orchestrator.js",
".claude/plan/workflow-e2e-test.json"
],
"launcherCommand": "bash {repo_root}/scripts/orchestrate-codex-worker.sh {task_file} {handoff_file} {status_file}",
"workers": [
{ "name": "seed-check", "task": "Verify seeded files are present before starting work." }
]
}
tmux capture-pane -pt <session>:0.<pane-index>로 상태를 확인합니다.brew install tmux, Linux는 apt install tmux로 설치합니다.