Skip the middleware: wire two AI CLIs together with plain tmux
viksit · x · 2026-09-07
Answering the recurring question "how do I get two models to talk to each other without copy-pasting between apps?", Alexis Gallagher shows you don't need a new app — tmux is enough:
- tmux new -s chat to start a named session, ctrl-b c for a second window, ctrl-b n to switch
- Run the Codex CLI in one window, Claude CLI in the other
- Tell the AI in window 1 to "read the analysis of the AI in window 2" — the models can read and respond to each other's output directly
Willcb adds the framing: asking "is Astra or Fable better" misses the point — they're wildly different models that work better together; let them talk directly and they'll figure out each other's strengths and how to collaborate.
More from coding & agent
- Stripe launches Machine Payments so AI agents can pay for APIs programmatically — jeff_weinstein · 2026-09-07
- GEPA isn't just an RL alternative: new TRL + OpenEnv project trains agents — lateinteraction · 2026-09-07
- AI agent dev warns: run agents in a cloud VM, never on your personal computer — blelbach · 2026-09-07
- Eden turns into an MCP server: list your Eve agents without forking or PRs — evilrabbit_ · 2026-09-07
- Reddit essay argues one-shot AI coding demos are huge token waste with poor decisions — rsvallen · 2026-09-07
- One-shot GPT-6 game generation wows users, but engine workflow may do better — adonis_singh · 2026-09-07