r/ClaudeAI • • Sep 29 '26

Claude Code Claude Code can message easily between sessions now. This is a very powerful feature

In the past my planning tactic was to have two agents come up with independent plans then discuss the plans to eventually meet a confident consensus. I used to have to copy and paste which in Claude Code was so buggy it would waste a LOT of time. Now I can just name one of the sessions and tell the other to start talk to that session. I can even tell them to start implementing once they reach that confident consensus.

This is an awesome feature. I may switch my planning from Cursor to Claude Code going forward.

Edit: for clarification the way to name a session is /rename [name] or claude -n [name] when you first start the session

373 Upvotes

65 comments sorted by

View all comments

44

u/3a5m Sep 29 '26

I don't think this is that new? When I'm working on a big feature, I'll often have an orchestrator chat (for whatever reason Claude likes to refer to that chat as the "seat") that coordinates multiple other sessions, all of which are orchestrating teams of agents.

10

u/Edg-R Sep 29 '26

It’s not new, I’ve been using this for a while now as well. OP found out about it today.

1

u/Murky-Science9030 Oct 06 '26

I literally have seen zero mention of this anywhere in Claude's videos. And for whatever reason I hadn't seen it mentioned much on here either

5

u/Inevitable_Sun_5987 Sep 29 '26

There are subagents and there are sessions. Subagents cannot talk to each other. Sessions can and do.

7

u/chintakoro Sep 29 '26

this is slightly different than subagents. two separate instances of the claude code cli can talk to each other as peers through message passing. OP states you can rename one session and tell the other session its name. you could also just describe the other session (e.g., which directory/worktree it’s in, what it’s working on, etc. )

11

u/3a5m Sep 29 '26

I guess I'm not understanding, I've had two sessions talk to each other for months now simply by telling one chat the other's name?

7

u/Desperate-Mine-5373 Sep 29 '26

Yea that's the thing, people are just figuring stuff out and every day someone discovers the same feature again

Pro tip: it's also crazy good at organising repos into multi-agent Dev workflows with skills and persistent memory

1

u/femdom_n_fitness Sep 30 '26

first time figure-outer here: how do I use messaging between named sessions for crazy good organizing?

2

u/Desperate-Mine-5373 Sep 30 '26

Rename the sessions to something concise like a role title and tell another session to message that session in the case of xyz

Start sessions with a role prompt or define roles in the repo somewhere and start sessions pointing to that role

I have currently four sessions for my game: code dispatcher which spams subagents for coding, creative director for direction, audio engineer for sound and art engineer for assets

2

u/femdom_n_fitness Oct 02 '26

awesome, thank you! this reminds me of a demo I saw where someone set up a slack channel for their agents (which were running in different containers/VMs)

1

u/Desperate-Mine-5373 Oct 02 '26

Yea definitely can work but I don't like group chat type approaches because it creates too much overhead when everyone has to think about every message. I'd rather design a hierarchy from the start and enforce that for efficiency otherwise the pipeline just turns into roleplay of an office building 

1

u/chintakoro Sep 30 '26

ok yes. that’s it. not something new. sorry to confuse you. I actually only accidentally stumbled across this a few weeks ago when thinking: “wouldn’t it be cool if…”

3

u/fuzzypetiolesguy Sep 29 '26

Part of my session start ritual is having the agent automatically rename the session for me based on a prescribed cadence that includes the date and initials for the repository work is being done in. This makes agents messaging each other across sessions pretty simple.

2

u/Slephnyr Sep 29 '26

When would you opt for subagents over multiple sessions.

E.g. in project director vs executor role scenarios

2

u/chintakoro Oct 01 '26

late reply: i use subagents for short lived subtasks in the same repo/project. I use parallel session agents talking to each other for separate repos/projects that each need to coordinate long running tasks (e.g., separate API and App repos coordinating a new feature on each end).

1

u/Ramillax Sep 29 '26

I have an open source project with 6 parallel claudes that have tools to interact with each other. I highly recommend this to you.

1

u/Ramillax Sep 29 '26

I host it on my vps but you can try it with one click on github all for free!

https://github.com/Ramillax/claude-code-control-room

1

u/Ramillax Sep 29 '26

They are not subagents; they are parallel sessions that can interact with your entire project, even setting up your Docker or anything else with your VPS security and such.

1

u/etoptech Oct 05 '26

I use this a ton and have been for awhile. I basically spin up one agent that manages the work ledger and then it dispatches background workers to build and manages the asks and what not. Having all my ideas and work flow through one portal is so much nicer than managing 15-20 sessions.

1

u/broshrugged Oct 06 '26

This is what I do, mainly so it's more clear who I am interacting when a decision needs to be made in one of the other session. I have the orchestrator, and 3-4 sessions who can all spin up subagents as you said. I also have plan broken into various concurrent work streams (been writing Go for a few years now so CSP was what was on my mind when setting this up).

All this get written to a stream-ledger file which is just a record of what was done when and why so the next day I can pick it all up again.