Inference Brew

Claude Code Introduces Cross-Session Messaging for Multi-Agent Coordination

00:00 / --:--

← Back to home

Claude Code Introduces Cross-Session Messaging for Multi-Agent Coordination

1. Claude Code Introduces Cross-Session Messaging for Multi-Agent Coordination

Anthropic has updated its Claude Code CLI to enable cross-session communication on macOS and Linux. This update allows independent terminal sessions to discover one another and exchange plain-text messages. Developers can leverage this capability to coordinate parallel worktrees or monitor long-running tasks across multiple terminal windows. To maintain security, the messaging channel is restricted to the local operating-system user via an inbox socket, and any permission-related actions or commands received still require manual user approval in the destination session.

  • • Anthropic introduced cross-session messaging in Claude Code version v2.1.224 for macOS and Linux (including WSL 2).
  • • The feature uses the ListAgents tool to discover reachable sessions and the SendMessage tool to deliver plain-text messages.
  • • Claude sessions can use the channel to hand over findings, coordinate parallel worktrees, or retrieve status updates from long-running tasks.
  • • Incoming messages are processed based on the crossSessionInbound setting, which can deliver, hold for user approval, or refuse messages.
  • • Commands sent via cross-session messaging cannot bypass permissions, change configurations, or execute actions without manual user approval in the receiving session.
  • • The feature is not supported on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry.

Developers can now run parallel Claude Code sessions that automatically hand off findings and status updates to each other, streamlining complex multi-tasking workflows.

SOURCES

Inference Brew in your inbox

5 minutes a day. Free, unsubscribe anytime.

Inference Brew in your inbox

5 minutes a day. Free, unsubscribe anytime.