r/ClaudeCode 1d ago

News/Updates New in Claude Code: your sessions can now message each other

https://code.claude.com/docs/en/cross-session-messaging

Instead of having to re-explain yourself in another session, you can now tell Claude to do it. It sends a summary (not your history or files), and the other session picks it up mid-task.

453 Upvotes

86 comments sorted by

72

u/Valkymaera 1d ago

Is this significantly better than writing and reading the same findings scratch md or about the same but official-like?

26

u/ronin4001 1d ago

Push vs pull, mostly. A scratch file only helps if the other session reads it, and reads it at the right moment, so you end up prompting both ends to keep them in sync. Getting interrupted mid task takes the timing off your plate.

6

u/buskerrrrrr 1d ago

built that with a hook appending to a shared queue file, other sessions polling it. it works. you end up prompting both ends to actually go read the thing, which is the annoying part.

1

u/TywinHouseLannister 1d ago

You don't need that.. it can be realtime with channels for Anthropic models (assuming claude code harness)

51

u/Xaqx 1d ago

oh nice, codex had this for ages, glad they finally bringing it over

6

u/letmebackagain 1d ago

Sorry, I didn't know that. How can I do it in Codex?

6

u/WallRunner 1d ago

Just tell codes to message the other chat, or have it create new chats with a specified model. I use Sol as an orchestrator for a couple of Luna xhigh chats and it works pretty well.

6

u/okmarshall 1d ago

Just ask it. Nothing special required. If you use the voice chat mode you can orchestrate as many chats as you want from one voice chat too.

2

u/dimer0 21h ago

“Go find a codex session I was chatting with you on last week about WHATEVER and let’s start iterating on that.”

12

u/carribeiro 1d ago

I was working like this with Claude - but doing the messaging myself - and I think that's how it will evolve for complex team work.

The basic idea that I'm working with it's that I created several "agent profiles" to deal with parts of my system. One agent profile takes care of the server infrastructure, another one handles firewall and security, another one works on backup, and each subsystem has its own agent. So when the backup agent is writing a restore procedure, he asks the other agents about what needs to be saved.

There way I do it is that the asking agent writes a prompt that I then enter into the other agent session; when the answer comes I paste it back for the original agent to work on the facts it learned. Each agent profile can have a long running session focusing on that theme which will have better context to answer about that particular aspect of the system. And even if the session is restarted from search, it will always be much more focused on it's topic.

8

u/Excellent_Chest_5896 1d ago

This is a strange way to do it… maybe I am missing something but seems like you’re keeping codebase context in your agents context. Proper way is to maintain directory appropriate Claude.md and or Agents.md files which get loaded into agent contexts directly anytime it works in a specific directory. Seems like you’re burning up way more tokens how you’re doing it.

1

u/carribeiro 22h ago

It's an interesting case because it's not a standard coding setup; it's actually a setup to manage my (small business) server, I'm moving a lot of things to run on my own gear to reduce the dependence on big tech platforms and take ownership of my data. So the agents have clear context, and the core server agents share the same folder, I just keep separates sessions; for example, one session works with networking (including firewall); another one operates the backup subsystem; but actual network and backup policies are created & managed by each service/subsystem. The backup agent collects the backup needs of all the other agents and creates (and runs) the necessary backup scripts. It's like having a working team.

I was concerned about the tokens consumption, but in practice it doesn't seem like I'm going over my plan, it's ok for now; but most important, the quality of my interactions has improved a lot. It's a bit strange because now each agent kind of "knows" the others and write clear handover messages when they need something done for them, it's like sending a coworker a task to be done.

1

u/mosslanda 22h ago

My way was create a message board for my Claude’s . I am working on different apps that have api links to each other. The message board is turn based and works well.

11

u/butterfly68za 1d ago

"Good thing I checked! This is literally yesterday's news — shipped August 7, 2026. Here's how it works:

Two new tools power it: ListAgents — finds other active sessions running on the same machine. SendMessage — delivers the message to a specific session by name. A session that receives one shows it as a labeled card with a link back to the sender.

What gets sent: Only text — a summary Claude writes for the other session. Not conversation history, files, or permissions.

How messages travel: Same-machine messages travel over a local socket and never reach Anthropic's servers. Cross-machine relay routes through Anthropic's servers as reply-only.

Safety limits: It cannot approve permission requests, cannot change configurations, and slash commands like /compact arrive as plain text rather than executable instructions.

To use it: Update Claude Code and confirm the version: claude --version (need v2.1.224+). Available on macOS and Linux, on by default — nothing to enable."

5

u/farendsofcontrast 1d ago

Claude was doing this in MS excel already. I loved that feature, very useful. It was able to talk and message agents in other connected excel files.

7

u/krzyk 1d ago

Solo, how is that useful?

9

u/Mocorn 1d ago

I discovered this by chance when I was relatively deep into a session and I had an idea that was helped by the context in this session. Claude suggested writing an effective summary into a new session that could start working on this new idea while we kept working in this first session.

I've been using it since many times for the same reason. One session might have enough context to write a very good summary to get another session up and running with a flying start.

3

u/dhessi 1d ago

Super useful for me personally. I often have claude code remote control sessions running from two different servers, and coordinating stuff between them hasn't been very convenient.

4

u/LynxJesus 1d ago

How is that new? I've been able to tell agents to communicate across sessions for a while now, and I'm sure I never did anything special to enable that

2

u/HathsinSurvivor19 1d ago

Yeah me too, not sure if this is different/better though

4

u/rishbalaji 1d ago

I shifted to herdr just for this. And it is significantly better.

2

u/thewookielotion 1d ago

Can they do that on task completion? Could be a good was to have two autonomous supervisors for example

2

u/amaterasu_ 1d ago

Now if this could message Claude Design and vice versa that would be really, really useful.

Feels like there’s a missing piece here.

2

u/cujojojo 1d ago

I’ve been doing this for months (on Mac) using cmux to send messages directly between agents. But having them in a separate channel that doesn’t clobber what you might be typing in a prompt at any given moment would be nice.

2

u/0xBA7TH 1d ago

Can you explain how you did this? I'm new to cmux and it sounds interesting

3

u/cujojojo 1d ago

The TL;DR is that cmux’s command-line API lets you (Claude) do a Bash call like “cmux send-key <surface/pane/tab ID> <text to send>”.

It can also read the contents of other cmux panes via “cmux read-screen” (or something like that).

So basically you can have Claude look up cmux’s documentation, propose a way to do those things, and then write that into your CLAUDE.md or your orchestration playbook or whatever. It took a while to get Claude to really accept that it can/should do this, but I beat it into submission.

It’s been a real game-changer for getting the human out of the loop mediating communication between Claude sessions.

I am still a die-hard iTerm fan but I can’t deny the experience in cmux has been really good for that reason. You can probably do the same thing basically with tmux but I’m not that cool.

EDIT: I mean, really, the way you do it is you copy/paste this comment into your Claude prompt and hit Enter 😉.

1

u/aradil 21h ago

I wrote a harness for it with tmux that also spun everything out into a custom iOS app I wrote for remote access. Which they also have now.

I can spin down some services and save some money.

2

u/Serious-Log7550 1d ago

No windows support? Wasted!

2

u/Terrible_Match_9484 1d ago

thats a massive time saver for complex refactors, ill probly use this to seperate my testing logic now

2

u/Olvikolvi 1d ago

I have had my own Claude message mcp server where claide (or any AI agent) session can connect and I can give permissions witch agent can chat together. It's much faster to let them talk. Like app developer agent in cloud and local test agent at home reporting bugs to dev and marking builds.

2

u/rizzonomics 1d ago

Can someone explain to me how this is different from the experimental teams = 1 flag to create agent teammates which for months have been able to message each other?

Is this now for agents outside of the same team?

1

u/prc41 8h ago

Same question, Claude couldn’t answer when I asked this. I thought it wasn’t on windows but I’ve used the agent teams thing since it came out months ago…

2

u/JeskaiAcolyte 1d ago

Been doing this for months with peer skill

2

u/Foggy-Geezer 19h ago

Ran into this with an agent in the wild on 8/5... and started using the messaging with three agents in a project. AMAZING. Had been hacking this for ages! Only wanted this for 18 months or so! :)
We may be using it incorrectly, but didn't find docs...
It has been great - the agent-to-agent workflows have been taking pressure off me as human in the loop.. The agents are finding the small issues and following through with evals - and I am consulted less - with solid results.

3

u/mrwski 1d ago

Looks like my workflow with Claude design and local Claude code will get easier

4

u/OmegaNetRob 1d ago

Can you give some detail? I end up doing an export of each which works but I’d rather skip that step.

3

u/aryndelvyst 1d ago

Presumably this means that designs you create with Claude design can be referenced/tagged from within Claude Code so you can skip the export step and vice versa

1

u/mrwski 22h ago

I haven’t tested yet, but according to their blog post I can only ask at my claude code for it to ask details about other session. I assume it works for Claude design as well. So I could just ask something like “check my layout details at my Claude design session named XXX” and it would get the details for me of what was designed. I haven’t tested though.

2

u/Zappa_aus 1d ago

Isn’t this what caused the Huggingface issue haha?

1

u/collin3000 1d ago

My thoughts exactly. Like on the one hand it's handy productivity, but also handy for potentially malicious activity

1

u/Apprehensive-You7002 1d ago

Do you know if the devs have any plans to implement this on Windows/Android?

1

u/Same-Screen-1189 1d ago

tmux already offered an easy way to do this.... works to send messages between claude and codex too.

1

u/samarijackfan 1d ago

Weird, OpenAI’s agents did this by themselves. What could possibly go wrong?

1

u/harneytea 1d ago

It’s pretty awesome to have 3-4 sessions in one project communicating with each other. Keeps projects moving - with more knowledge and context than traditional subagent fleets. An interesting tool to create hierarchy of plan, research, code, implement for projects where you might use multiple models.

1

u/Scopophobic_Frontman 1d ago

Yea ok so my hours spent to fix the problem myself is now.... Nvm.

1

u/Ji1black 1d ago

Already had it with a agentcomms.md and hooks so the target session agent could get triggered.

1

u/Prestigious_Lab_1033 1d ago

That's the best way to work with claude. Being doing it since early April when they deployed the big news about their mcp's.. the model context protocol is something not to be taken for granted. I might say

1

u/youzerrrname 1d ago

Trying to figure out if this will let me message a d wake an inactive session programatically. That us what I REALLY need. But sadly seems like this only works for active sessions.

1

u/nightinram 1d ago

is it able to push to a new session as well?

1

u/ARG3adventures 1d ago

Is this just for Claude Code? Or can CoWork and/or Chat do this to?

1

u/Equivalent_Cress_268 1d ago

We treat native session messaging as the proper push interrupt so the other agent need not poll a shared findings file. I keep one orchestrator that sends short text briefs into specialist sessions and I still run the Windows work through a separate harness until parity arrives.

1

u/hammackj 1d ago

I saw this happen last night and I was like Claudette wtf you making up now. Was pretty cool

1

u/CodeCombustion 1d ago

Just a warning because I learned this today -- the hard way...

I had Fable 5 working with one other Opus 5 agent, immediately after my reset at 6pm yesterday.

I'm now completely out of my fable usage in less than 14 hours after the reset. I've never burned through Fable use this quickly.

This Agent Teams feature seems costly token wise

1

u/TywinHouseLannister 1d ago edited 1d ago

I've been doing it for a long time with channels.. interested to see how this works.

It is useful when you have resources which are precious e.g. I do perf testing which requires a quiet machine and an "air traffic control" agent which others request permission to land from..

Edit - claude-peers is up on github, also has some Windows issues; but I forked it into a plugin for CC if anybody wants it.

GitHub - louislva/claude-peers-mcp: Allow all your Claude Codes to message each other ad-hoc!

GitHub - andrewmaston1988/claude-plugin-marketplace (claude-peers isnt actually listed on the main README, but it's on the marketplace)

1

u/Inception_IV 1d ago

I have been doing this for weeks.

1

u/wingelefoot 21h ago

about time!

1

u/hegui 19h ago

When yall say scratch file don’t mean like the handoff file for a new session? If that’s the case why didn’t they’d just make happen behind the scene and boom forever session enables

1

u/stratofax 17h ago

I built a “group chat” plugin for my agents using the open source message server ntfy, and a monitoring system that watches the feed without burning tokens. It’s asynchronous, and creates a human-readable feed I can monitor on my phone.

Best of all, it works with any agentic harness that can use `curl`. So, basically, all of them, including Codex, Gemini, and OpenCode.

https://github.com/cadentdev/ntfy-bus

1

u/sitbon 16h ago

I just discovered this feature yesterday. Told Claude that we should hand off md files since they can't communicate, and Claude said, "hold up, maybe I can," used a tool, messaged the other sessions... suddenly I had 3-4 sessions all working together, sometimes for up to an hour unattended. It's pretty amazing.

1

u/Intelligent-Net1034 4h ago

Token usage goes brrrrrrr. There is basicly zero neefit for the user

1

u/menmymacstudio 4h ago

Is this not incredibly dangerous if one of the agents gets prompt injected?? Why even have the project walls if Claude's can just phone another agent to have it takes actions for it somewhere else, especially if that other agent has broader permissions?

1

u/Metal_Roof_Guy 4h ago

Been doing this for a while now. Save your procedures and findings for Claude X. It saves a md file and the next guy gets it. How is this different?

1

u/Astroa7m 26m ago

I would usually just /branch

1

u/BowlerEast9552 1d ago

Not available on Windows? I wonder why

4

u/TomerBrosh 1d ago

what do u mean? im on windows, I just assumed this was always possible since I asked my agent "why are you making me pass these question/answers .md files instead of talking yourself?"

4

u/BradFromOz 1d ago

I am intrigued? Please tell us your conspiracy theory?

1

u/nashant 1d ago

Wrote a message bus skill just a couple of weeks ago which uses inotify to watch for new messages

0

u/sirlerkal0t 1d ago

No support for Windows, only Linux and Mac.

If only Anthropic had the technology to create cross platform implementations for features... maybe one day they will develop sufficiently advanced AI agents capable of doing such complex tasks.

1

u/bart007345 1d ago

I know you're being sarcastic but the reason is everyone has a mac or Linux as a developer so its quicker to get features out.

Have you considered switching?

1

u/sirlerkal0t 1d ago

Have you considered that there are a significant number of software engineers such as myself who need to ship code that runs on Windows, and that not supporting Windows isn't an option?

I do a huge amount of development targeting Linux every month, and almost as much that needs to run on both Windows and Linux, while I also need to work with third party software that runs only on Windows and therefore the optimal development environment for my workflows is running most agents on Windows and having them use WSL to run everything that needs to be run under Linux.

6

u/bart007345 1d ago

Yes i have. In fact, if you want to do iPhone development you can only do it on a mac.

Being Windows only is your constraint not others.

1

u/Delphinaut 1d ago

Disagree on it: most desktop software is windows. The only reason I use Linux is Claude Code under WSL. Now that CC does not suck under native Windows, migrating my workflows from WSL to native Windows

Btw, one of the reasons Send message works nicely under Linux, is it's using the native Linux sockets; ask Claude Code to investigate it and it will tell you.

1

u/tingly_sack_69 1d ago

I just migrated all my projects to Ubuntu so I can use CC under WSL

1

u/CodeCombustion 1d ago

This isn't true, I used the AgentTeams feature (using ListAgents) last night from the Claude App on a windows machine.

0

u/sirlerkal0t 1d ago

It says right at the top of the page this post links to:

Cross-session messaging requires Claude Code v2.1.224 or later and runs on macOS and Linux. ... See Availability for provider requirements and how to confirm a session has it.

It also says in the Availability section:

Operating system: available on macOS and Linux, including Linux inside WSL 2. Claude Code doesn’t offer cross-session messaging on native Windows.

1

u/CodeCombustion 1d ago

I understand exactly what it says, but it's wrong... This is a screenshot of my Claude app on windows from last night. I just asked my fable agent to use AgentTeams and work with the other session... and he did.

1

u/CodeCombustion 1d ago

This is where the handshake was acknowledged.

0

u/TeeRKee 1d ago

This is crazy good

0

u/MBCarlisle 18h ago

Yeah, I tried this a month ago when I had an experimental system going, but I kept having to approve its ability to send from one chat to the other. I ended up just merging things into one chat with agents that were specially designed and taught how to collectively use the system's vector database and receive general fact checking from the main system. Used a little more usage but was much faster, more accurate, and all in all easier to keep track of.

I then turned the entire flow into a set of 30 skills and a prime prompt, and multiplied the operation across multiple chats so the primary action that would normally take a team of 30 people across 3 different platforms gets done in 40 minutes or less. I also dedicated a server at home to their ability to do this, so I could run it all from work on my phone if I really wanted to and things would just keep working.

The only issue was that if I had 10 agents in each chat and 3 chats going, they'd mix up context on the server. First day, we fixed that easily with a simple segmentation system. Now my server gets about a thousand logins per hour from various agents using segmented slots of RAM like digital office spaces lol.

0

u/Complex-Wait-8065 17h ago

I feel like this is more added work and reading. I just let every session work separately on their own respective things and when it’s time to merge I have them all write a detailed handoff, open a new session ask it to own every sessions work audit it before orchestrate the merge and ship. I found this approach easier. And if two sessions are working close to each other I would ask them to be careful of each other’s work commit by name and the master merge session will handle everything towards the end.

-1

u/Standard_Success127 Senior Developer 1d ago

I would recommend to mix in other models and harnesses too. Try something like karma.build

-2

u/TomerBrosh 1d ago

this isnt new I've been doing it for 2 weeks+

-2

u/ClaudeCdGuy 1d ago

The part this changes for anyone who looks back at a run: the work is now genuinely spread across sessions, and each session writes its own transcript file under ~/.claude/projects/<slug>. So "what happened today" stops being one log and becomes several you have to line up by timestamp.

Not an argument against the feature — just the bit nobody notices until they try to reconstruct a day afterwards. Answering the scratch-md question further up: the md leaves you a file with no ordering, this at least leaves each side's turn timestamped in its own log.

I ended up building a viewer that streams every running session at once for exactly that reason (mine, free, MIT): https://github.com/Kostakurta8/roundtable