Original Reddit post

Now, I’m sure this trick has already been exhausted somewhere (I have not been active on this sub), but it’s something I still use to this day to kick off larger projects for clients, at least to get the scaffolding across the stack setup. Aka no, I don’t claim this one-shots rewriting an AWS clone. So about eight months ago, I was trying to fix the context window issues with Claude Code’s ability to handle larger projects. I had noticed that, even with a huge spec, it would taper off its complexity and leave a lot of the project unfinished/cut huge corners despite “completing.” This was before /agents and other related tools were out (the good ol’ Wild West days of seemingly non-existent usage limits), so I wanted to hack together a solution. The simplest way to handle agent-agent communication/orchestration was sitting right in front of me for decades…tmux. The whole coordination layer is just tmux send-keys and tmux capture-pane - agents communicate by literally typing into each other’s terminal windows/panes. TACO (Tmux Agent Command Orchestrator) is just a single bash script I use to automate all of it. You give it a project description, it spins up a “Mother” Claude that designs the agent architecture, then spawns specialized Claude Code instances across tmux panes that build in parallel - auth system, API routes, UI components, whatever - all coordinated by Mother. Just four dependencies:

  • tmux
  • Claude Code
  • jq
  • envsubst Currently it’s built around Claude Code, but I’ve tested versions that work with Codex and other coding CLI agents in parallel. I’m currently experimenting with running it headless as a local agent backend where the tmux IPC layer handles sub-agent communication with less overhead. https://github.com/lxsiii/taco Hope y’all get a kick out of it. There’s a lot that can be optimized as it doesn’t even utilize most of the more modern features of these CLI agents yet. A lot of it was just getting the mother/agent input prompts to have them behave consistently. Curious how you guys are approaching multi-agent coordination. submitted by /u/cestlavielol

Originally posted by u/cestlavielol on r/ClaudeCode