AI in Practice

Claude Code starts message exchange between AI sessions

3 min read

TL;DR Too Long; Didn’t read

Anthropic has introduced a feature with Claude Code version 2.1.224 that allows individual AI sessions on macOS and Linux to independently send messages to other running sessions. Two new tools, ListAgents and SendMessage, enable the exchange, with only a brief summary being transmitted at all times. Permissions remain strictly separated: an incoming message cannot confirm any security query and cannot change any settings.

Two terminal screens with Claude logo stickers are connected by a common speech bubble that emanates from both sides. Image generated with GPT Image 2

Key takeaways

  • From Claude Code 2.1.224, concurrently running sessions on macOS and Linux independently exchange messages.
  • The tools ListAgents and SendMessage discover reachable sessions and deliver text to a named session.
  • Only a brief summary is transmitted – never the complete conversation history or file contents.
  • An incoming message must not confirm any permissions and must not change any configuration like CLAUDE.md.
  • The function is not available on Windows as well as on Bedrock, Google Cloud, and Microsoft Foundry.
  • Claude Code automatically throttles recurring messages between two sessions to prevent endless loops.

Anthropic now lets Claude Code sessions communicate directly with each other: since version 2.1.224, a session on macOS or Linux automatically informs another one as soon as a change affects its task. The exchange never includes the full conversation history or file access, only a short text message sent through the new tools ListAgents and SendMessage.

Two tools handle discovery and delivery

Claude finds the right counterpart on its own: the ListAgents tool lists all reachable sessions by name, and SendMessage then delivers the text to the chosen session. Users never call either tool manually – a simple prompt like “tell the session in my other terminal that the migration finished” is enough, and Claude writes the rest itself.

If the other session runs on the same machine, delivery happens over a local socket, bypassing Anthropic’s servers entirely. If the other session runs on a second computer or in the browser via Claude Code on the web, the current session can only reply, not start a new exchange; that message then travels through Anthropic’s infrastructure and the target device’s Remote Control connection.

The feature targets parallel work on the same project: one session can tell a second that a database field was renamed, or a long-running test suite can send a status update on its own once it finishes. As OpenAI shows in its Codex command-line tool, communication between AI sessions is no longer an isolated case – there, the company additionally encrypts messages between agents, while Claude Code relies on plaintext paired with strict permission boundaries.

Permissions stay tied to each individual session

An incoming message never counts as the user’s consent. According to Anthropic, it cannot approve an open permission request or change settings, the CLAUDE.md file, or any other configuration. Commands such as /compact that appear in a message’s text are not executed by Claude Code; they show up as plain text instead. If the message calls for an action the receiving session isn’t yet cleared for, the usual permission prompt appears just as it would for any other instruction.

How a session treats incoming messages can be set via the crossSessionInbound setting to “accept,” “hold,” or “refuse”; without a custom setting, Claude Code decides based on both sessions’ permission modes. Held messages need individual approval before delivery and expire automatically after five minutes. If a message loop between two sessions repeats too fast, Claude Code throttles the exchange on its own to prevent endless loops.

The feature works only with Claude Code version 2.1.224 or later on macOS and Linux – it is unavailable on Windows and with the provider integrations Amazon Bedrock, Google Cloud, and Microsoft Foundry, regardless of version. Organizations can also disable message exchange entirely through centrally managed settings.

What will matter is whether companies fold the feature into their security policies for AI tools before development teams adopt it day to day. Unlike Claude’s voice mode for Gmail, Calendar, and Slack, a session here never reaches into outside tools – it only reaches other instances of the same program on the same machine or through its own Remote Control link, which keeps the exposure comparatively narrow. It remains open whether Anthropic will extend messaging to Windows or to the cloud-provider variants it currently excludes.

Frequently asked questions

Does the message exchange also work on Windows?

No. Cross-session messaging is only available on macOS and Linux according to Anthropic; the function is not intended for Windows.

What does the new feature cost?

Nothing additional – it is automatically active from Claude Code version 2.1.224 and included in the existing billing models; however, a delivered message counts like a normal prompt toward usage volume.

Can companies centrally disable the function?

Yes. Administrators can block SendMessage and ListAgents company-wide via managed permission rules and can reject incoming messages by default.

Is this different from resuming a session?

Yes. Resume transfers the complete prior context of a single session, while cross-session messaging only exchanges a brief, newly written message between two independent sessions.

Is the function available with cloud providers like AWS or Google Cloud?

No. Anthropic explicitly excludes Amazon Bedrock, the Claude offering on AWS, Google Cloud's agent platform, and Microsoft Foundry.

Sources (2)
  1. Anthropic: Message your other Claude Code sessions
  2. 9to5Mac: Claude Code now lets sessions talk to each other on macOS

Your AI update for the work week

Once a week, the most important AI news – plus one practical tip to try right away. No spam, unsubscribe anytime.

← Back to the blog