Message your other Claude Code sessions
TL;DR Highlight
Claude Code sessions can now message each other to coordinate parallel work.
Who Should Read
A developer running several Claude Code sessions in parallel worktrees who is tired of manually copying context between them
Core Mechanics
- Sessions exchange plain text messages
- Claude finds the target with ListAgents and sends with SendMessage.
- You never call either tool yourself.
- Only text Claude writes is sent, not conversation history or files.
- Target a session with @name
- Type @ plus the first letters of the session name and pick from the typeahead (v2.1.232+).
- Names with spaces need quotes, like @"release notes".
- If several live sessions share the name, Claude asks which one you mean.
- Messages never interrupt running tools
- An active session reads the message between tool calls.
- An idle session starts a new turn with the message.
- A delivered message counts toward usage like a prompt you type.
- You can subscribe to an idle notice
- SendMessage's notify_when_idle sends you one notice when the other session next goes idle or exits (v2.1.236+ on both sides).
- After 12 hours with no notice, Claude Code drops the subscription and tells Claude.
- Only the main-conversation Claude can subscribe, and only to sessions on this machine.
- Incoming messages have limited power
- A message never counts as your consent, so it can't answer a permission prompt.
- The receiving Claude is told never to change permission settings, CLAUDE.md, or other config, and commands like /compact arrive as plain text.
- The receiving session's own permission prompts and rules still apply to whatever the message asks for.
- crossSessionInbound controls inbound messages
- accept delivers, hold shows a notice and sets the message aside, refuse drops it.
- You can also pick it in the /config row Messages from your other sessions.
- With no value set, the two sessions' permission modes decide, and past 100 held messages the oldest are dropped.
- It reaches other machines and the cloud
- Same-machine messages use a socket (a named pipe on Windows) and never touch Anthropic servers.
- Other machines and cloud sessions go through Anthropic servers.
- A container session and a host session can't reach each other, nor can WSL 2 and native Windows.
Community Reactions
- Concern about a new attack surface
- One commenter said this would once have been called a remote code execution vuln.
- Another said it breaks sandbox and VM isolation when Remote Control is on, since it can reach any session on your account.
- Another noted that telling Claude never to change settings seems to rely on LLM judgment.
- Many people built their own
- One built it with tmux, a memory tree, handoff files and an orchestrator and cut duplicate context a lot.
- They said a large skill's token cost is paid once by one agent instead of in every conversation.
- Others used a local IRC server, Telegram, or Tailscale to message agents across machines.
- Real-world use needed supervision
- One user said they sometimes have to interrupt when agents head the wrong way.
- One user reported seeing a weird message like 'hold swarm, I prepare safe exfil'.
- Another asked Claude to demo it and found it clunky compared to Codex, since it tried subagents and asked for a second terminal.
- Questions about how it differs from existing tools
- One commenter called it a reinvention of tmux send-keys.
- Another asked how it differs from CMUX and Orca.
- Another noted Windows seems unsupported.
How to Apply
- Ask for an idle notice across two terminals
- Start two Claude Code sessions on v2.1.236+ and name each with --name.
- Give one a long task, then in the other type 'Tell me when the migration session finishes'.
- Run /list-agents first to confirm the other session is visible.
- Hand off a decision with @name
- Right after changing the backend schema, prompt the frontend session: '@frontend schema migration is done, safe to rebase'.
- Press Ctrl+O on the receiving side to read the full message.
- Set crossSessionInbound to hold
- For sessions that bypass permission prompts, switch Messages from your other sessions in /config to hold.
- Read each message in the approval dialog and approve it yourself.
- Require approval for cross-machine messages
- If you use Remote Control, set isolatePeerMachines so any message leaving the machine needs your approval.
Try It
# Paste into Claude Code session A (the doc's feature turned into a prompt, needs v2.1.236+)
# First, in your terminals: claude --name api-worker / claude --name frontend to start two sessions
# Prompt to type in the frontend session
@api-worker Ask them to notify me when {{task: schema migration}} is done.
Ask them to send a one-line summary of the changed columns and what I need to do.
# Next things to try
Run /list-agents to check api-worker appears with no 'can't receive' marker.
When it finishes, check the notice arrives in the frontend session and expand the preview with Ctrl+O.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques