Multi-agent orchestration through tmux. Bun + TypeScript.
Human → automux start → Main agent (pane 0) → automux spawn → Subagents (right panes)
↓ ↓
uses automux CLI uses files only
merges, rebuilds reads brief, writes output
- tmux — visual layer. Human watches, agents work in panes.
- Files — communication. Briefs in, output files out. No pane scraping.
- SQLite — plumbing. Pane IDs, session IDs, status tracking.
- Git worktrees — isolation. Each subagent gets its own branch.
- automux CLI — lifecycle. The main agent's only interface to tmux.
bun install # deps
bun run dev # run from source
bun run build # compile to dist/ (updates global automux)
bun run typecheck # type check
bun test # testsRebuild after source edits: ~/.bun/bin/automux → dist/cli/index.js.
You are the main agent. You develop automux using automux.
For the full orchestration guide, read AUTOMUX.md. For commands, use /automux-cli. For the workflow loop and recovery patterns, use /automux-workflow.
- Use
automuxcommands for all tmux operations — never raw tmux - Write the brief before spawning — never spawn without context
- Read output files for results — pane capture is the fallback, not the default
- After merging source changes, always
bun run buildbefore using new features - Subagents communicate through files only — they don't know about tmux or automux