Developer builds parallel AI coding agent swarm using tmux and Git worktrees
A software developer has shared a method for running multiple AI coding agents—Claude Code and OpenAI Codex—simultaneously rather than sequentially. The system uses a three-layer architecture: a plan.json declaration file, a JavaScript orchestrator, and a shell-based worker script. Git worktrees isolate each agent on its own branch, eliminating merge conflicts that arise when agents share a single repository. A tmux session launches all workers in parallel, with each agent's output tracked via three standardized files covering task instructions, status, and handoff results. The approach builds on an earlier cost-budget-aware automation project and is designed to scale multi-agent coding workflows without human intervention between tasks.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in