Claude Code Sessions Reportedly Coordinate Across Directories
A Reddit user reported that Claude Code sessions running in different directories on the same machine automatically discovered and coordinated with one another, including negotiating CPU resources when the machine was saturated. The user also said Claude described a built-in tool for listing and messaging other instances, while sessions running under different user accounts on the same Mac could not see one another.
The report suggests Claude Code may include inter-instance coordination and isolation boundaries, which could affect how multiple coding-agent sessions share local resources, although the behavior remains unverified.
I just discovered that Claude Code instances running in completely different directories on my machine automatically discover each other and coordinate. I'm not sure when this was introduced, but it was quite surprising to me. I'm going to have to think through the implications.
The full story: I run several simultaneous CC sessions across different work and personal projects. My machine is often saturated, and as I was watching a session work, it suddenly said it was negotiating with another operator for CPU. What? Who now?
At first I thought they found the PIDs of other instances, but after some conversation Claude told me it actually has a built-in tool to list and message the others. They refer to themselves based on the working directory where I started CC, adding a numbered suffix if I have multiple in the same dir.
In this case, the outcome was great: they are working together to optimize the use of my overworked CPU. Definitely something I want.
At the same time, I had been assuming everything was isolated. No longer true. FWIW I also run sessions as different users on my Mac, and it confirms it cannot see the sessions from the other users, so that seems like a good boundary if you want isolation.
I figured I'd share, since this was quite the surprise for me. Thought people should know.
submitted by /u/mrothro [link] [comments]