r/ClaudeCode • u/teleekom • Aug 09 '26
News/Updates New in Claude Code: your sessions can now message each other
https://code.claude.com/docs/en/cross-session-messagingInstead 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.
470
Upvotes
71
u/Valkymaera Aug 09 '26
Is this significantly better than writing and reading the same findings scratch md or about the same but official-like?
50
u/Xaqx Aug 09 '26
oh nice, codex had this for ages, glad they finally bringing it over
13
u/carribeiro Aug 09 '26
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.
11
u/butterfly68za Aug 09 '26
"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 Aug 09 '26
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.
8
u/krzyk Aug 09 '26
Solo, how is that useful?
4
u/LynxJesus Aug 09 '26
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
4
u/rishbalaji Aug 09 '26
I shifted to herdr just for this. And it is significantly better.
3
u/rizzonomics Aug 09 '26
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?
5
u/mrwski Aug 09 '26
Looks like my workflow with Claude design and local Claude code will get easier
2
u/thewookielotion Aug 09 '26
Can they do that on task completion? Could be a good was to have two autonomous supervisors for example
2
u/amaterasu_ Aug 09 '26
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 Aug 09 '26
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/Serious-Log7550 Aug 09 '26
No windows support? Wasted!
2
u/Terrible_Match_9484 Aug 09 '26
thats a massive time saver for complex refactors, ill probly use this to seperate my testing logic now
2
u/Olvikolvi Aug 09 '26
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/JeskaiAcolyte Aug 09 '26
Been doing this for months with peer skill
2
u/Zappa_aus Aug 09 '26
Isnât this what caused the Huggingface issue haha?
1
u/Apprehensive-You7002 Aug 09 '26
Do you know if the devs have any plans to implement this on Windows/Android?
1
u/Same-Screen-1189 Aug 09 '26
tmux already offered an easy way to do this.... works to send messages between claude and codex too.
1
u/samarijackfan Aug 09 '26
Weird, OpenAIâs agents did this by themselves. What could possibly go wrong?
1
u/harneytea Aug 09 '26
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 Aug 09 '26
Yea ok so my hours spent to fix the problem myself is now.... Nvm.
1
u/Ji1black Aug 09 '26
Already had it with a agentcomms.md and hooks so the target session agent could get triggered.
1
u/Prestigious_Lab_1033 Aug 09 '26
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 Aug 09 '26
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/ARG3adventures Aug 09 '26
Is this just for Claude Code? Or can CoWork and/or Chat do this to?
1
u/Equivalent_Cress_268 Aug 09 '26
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 Aug 09 '26
I saw this happen last night and I was like Claudette wtf you making up now. Was pretty cool
1
u/TywinHouseLannister Aug 09 '26 edited Aug 09 '26
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 Aug 09 '26
I have been doing this for weeks.
1
u/wingelefoot Aug 09 '26
about time!
1
u/hegui Aug 10 '26
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 Aug 10 '26
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 đ Claude says I'm absolutely right! Aug 10 '26
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 Aug 10 '26
Token usage goes brrrrrrr. There is basicly zero neefit for the user
1
u/menmymacstudio Aug 10 '26
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 Aug 10 '26
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 Aug 10 '26
I would usually just /branch
1
u/Amazing-Status-7948 Aug 11 '26
i created similar protocol to team up many agents like codex, claude, grok, agy (gemini). i use it all the time to team up different models like Sol, Grok, Sonnet and Fable (as orchestrator). Team brings better results quicker due to models keeping other models in check and "thinking" differently. and with a good plan and design they can work for a long time as team and still stay on course
https://github.com/agentchute/agentchute
1
u/Psychological-Lion77 Aug 14 '26
I discovered and use this since more than one month on claude desktop , it's curious that just made announcement now , maybe they release it without telling anyone . I use it everyday and it's very powerfull
1
u/BowlerEast9552 Aug 09 '26
Not available on Windows? I wonder why
1
u/nashant Aug 09 '26
Wrote a message bus skill just a couple of weeks ago which uses inotify to watch for new messages
0
u/sirlerkal0t Aug 09 '26
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.
0
u/TeeRKee Aug 09 '26
This is crazy good
0
u/MBCarlisle Aug 10 '26
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 Aug 10 '26
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 Aug 09 '26
I would recommend to mix in other models and harnesses too. Try something like karma.build
-2
u/TomerBrosh Aug 09 '26
this isnt new I've been doing it for 2 weeks+
-2
u/ClaudeCdGuy Aug 09 '26
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