Agents steer agents
Switch another session's model, effort or permission mode, or run a slash or shell command in it. Turning off permission prompts stays with you.
Run Claude Code, Codex and any agent CLI side by side. They message each other, steer each other, and share one prompt cache.
The lead starts two helpers, puts one on a cheaper model, and checks their work. The one that needs a decision waits for you.
YMUX knows when each agent is working, finished or waiting on you, and gives agents a command line to reach each other.
Switch another session's model, effort or permission mode, or run a slash or shell command in it. Turning off permission prompts stays with you.
Agent hooks report every turn. A pane waiting on a decision gets a red ring, a count in the sidebar and a desktop notification.
A busy agent gets messages at its next step through its hooks. An idle one gets them typed in, labelled as coming from a peer.
Split one question across several agents with ymux fanout. Every worker starts from the same brief, so they read one cached prefix instead of each paying for it.
A local proxy reads each response's usage: cache reads, writes and API-equivalent cost per pane, with a warning when a cache breaks.
Every pane gets ymux on its path and a short system prompt that explains it.
Plain language, in any Claude Code or Codex pane.
With the model and effort each job needs.
Messages arrive through hooks; the lead reads and follows up.
Anything that needs a person rings red until you answer.
31 tests pass · 4 added
Updating docs/auth.md · 2 of 3 sections
Waiting on: drop users.legacy_id?
instead of $6.70 without the cache
94% of input tokens read from cache
Agents re-send the whole conversation every turn, and cached tokens cost a tenth of fresh ones. YMUX sits in front of the API and keeps track.
Cache reads, writes and cost from every response.
A turn that writes far more than it reads gets flagged.
One on the frozen prefix, one that follows the conversation.
Idle panes are refreshed with max_tokens: 0 before expiry.
One file, no installer. YMUX opens in its own window using the Edge or Chrome already on your machine.

Make it executable and run it. Opens in Chrome or Chromium.
Download for Linux$ cargo install --git https://github.com/AwaisSDev/YmuxRust 1.85+