AI 代理的 tmux — 一条命令并行编排多个 AI 编码代理。同时运行 Claude Code、Codex CLI 和 Gemini CLI...
Orchestrate multiple AI coding agents in parallel with one command. Each agent runs in its own isolated Git worktree and branch. When one agent finishes, hand off the context seamlessly to another.
bash
npm install -g vibe-switch
bash
# Start agents in parallel
vibe run "Implement JWT auth middleware" --agent gemini
vibe run "Build responsive login page" --agent codex
# Monitor all agents
vibe status
vibe watch
# Hand off context between agents
vibe handoff vibe/gemini-c3d5 --to codex -m "API is ready at /api/auth"
# Cleanup
vibe stop --all
vibe clean
CommandDescriptionvibe run "<task>" --agent <agent>Start an agent on an isolated Git branch + worktreevibe statusDisplay all tasks, status, and branchesvibe watchReal-time multi-agent output streamingvibe log <branch> [-f]View or follow logs for a specific taskvibe stop [branch|--all]Stop one or all agentsvibe handoff <branch> --to <agent>Transfer context to another agentvibe summary <branch>View task summary, logs, and diff statvibe cleanClean up completed tasks, logs, and worktreesvibe agentsList installed agent adaptersvibe doctorDiagnose environment and agent availabilityvibe initCreate project config .vibeswitch.json``vibe config [key] [value]View or set project config
AgentCommandSandboxBest ForClaude CodeclaudeNoArchitecture, code review, broad reasoningCodex CLIcodexYesImplementation, refactors, test-driven changesGemini CLIgeminiNoExploration, cross-checking, documentationAntigravityantigravityNoFull-stack development, complex tasksOpenClawopenclawNoGeneral purpose AI coding
~/.vibe-switch/ — no database needed.bash
vibe run "Implement auth API and migration" --agent claude --branch vibe/auth-api
vibe run "Build auth UI and form validation" --agent codex --branch vibe/auth-ui
vibe run "Write integration tests for login" --agent gemini --branch vibe/auth-tests
vibe status
vibe watch
bash
# Gemini finished the API → hand off to Codex for the frontend
vibe handoff vibe/auth-api --to codex -m "API complete. Build the client-side integration."
AgentLocal FilesNetwork/SSHSandboxclaude✅✅Nocodex✅❌Yesgemini✅✅No
Important: Codex runs in a strict sandbox — no SSH, no external APIs. Do not assign deployment or network-dependent tasks to Codex.
git add && git commit before dispatching.