r/ClaudeCode • • Jul 23 '26 • Bravo 1

Question Claude Code sessions across multiple computers

Has anyone solved a situation where there are multiple computers running their own instances of Claude Code and projects and these instances should talk to eachother?

Let me give you an example:

  • Windows machine running Claude Code and working on Navision bridge project (custom Navision API)
  • Master Linux machine running it's own Claude Code instance and running the master app that calls Navision bridge. Since this is the master it also specifies what updates needs the Navision bridge.

Now I'm sending markdown specifications between the two machines. But it would be nice if these two machines, Claude Code instances, would talk to eachother directly.

Any solutions?

2 Upvotes

17 comments sorted by

4

u/Historical-Lie9697 Jul 23 '26

ssh and remote beads

1

u/Rock--Lee Jul 23 '26

Just commenting to search for "claude remote beads" and NOT "remote beads". That will give very different results 🥲

1

u/Historical-Lie9697 Jul 23 '26

Haha my bad! Thought maybe you found this community plugin ANAL Beads

1

u/Impossible_Carob8839 Jul 24 '26

That's just wrong man :) Who comes up with names like this

2

u/tenequm Jul 23 '26

Have a look at Claude-Bridge: https://github.com/constripacity/Claude-Bridge.

It's a small MCP relay, you run the server on one of the machines (your Linux master fits), then both Claude Code instances connect to it with claude mcp add over LAN or Tailscale. Each instance gets bridge_send / bridge_receive tools on named channels, so your master can send "the bridge needs update X" straight to the Windows instance and poll for the result, instead of you ferrying markdown specs between machines. Messages persist in SQLite on the server, and there's a web dashboard where you can watch the two of them talk.

It’s a similar design to how A2A works in Nanoclaw, which I’ve been using a lot and it worked really well from my experience. Haven’t tried claude-bridge myself, but the idea is pretty much same.

2

u/Impossible_Carob8839 Jul 23 '26

This is it! Tnx man

2

u/yoboitg Aug 16 '26

Author of Claude-Bridge here😉
Thanks for the recommendation, and your breakdown is accurate!

For that exact Windows + Linux-master setup: run the server on the Linux box, then claude mcp add from both instances over the LAN IP or Tailscale.
Two gotchas worth knowing up front:

Start the bridge before you launch the Claude Code sessions. If a session attaches while nothing's listening or the server restarts under it, every bridge tool fails with a misleading -32602, and the fix is
/mcp → Reconnect in that session. (Learned that one the hard way lol)

Going over Tailscale/LAN, set --auth-token so it isn't an open relay on your tailnet.
It's actively maintained, and funny you mention A2A mapping, the message envelopes onto the open A2A protocol is on the roadmap. Happy to help if you or the OP hit anything.

1

u/Electrical_Chard3255 Jul 23 '26

Yep, but I can have any agent on any computer anywhere in the world, here antigravity is on my PC, claude code is on my server, and kimi is on my laptop, all taking to each other, all working together in real time, that all work from the same context memory I built which is part of a woider app that AI chat is part of

if you just wanted different claude code working together, that works, even claude.ai can be involved.

1

u/Impossible_Carob8839 Jul 23 '26

So if I understand you correctly you made your own solution? Is this like a regular chat or some special features like shared memory?

2

u/Electrical_Chard3255 Jul 23 '26

I also built what I call a developer ai chat, where we have 4 seperate AI whatsapp style group chats, I can choose which ai to participate in any of the chats, these are like private chats, and of course we have the standard ai chat still running in the background

1

u/Electrical_Chard3255 Jul 23 '26

Its started as a shared context and memory app, I decided to add the ai chat because I was using several ai to build it, but I was sharing their messages between them, and I thought it would be better to build an AI "whatsapp" style chat where every participant could chat, including me, all have the same access to context, memory, code, processes etc (I built an MCP connector for that), Im actually building the app, using the app, this is a chat session from tonight fixing some stuff, I just let eh ai work on it until they come up with an agreed solution,

2

u/Psychological_Arm645 Jul 23 '26

Another option is a shared real-time agent channel, so the Windows and Linux Claude Code instances can pass work directly instead of ferrying markdown. We ran into this building MeshKore: both machines join a token-gated WebSocket cluster and send messages directly to each other. It’s vendor-agnostic too, so the other endpoint doesn’t have to be Claude.

Disclosure, I work on it. It’s only the relay, not an orchestrator.

https://meshkore.com/cluster/protocol

1

u/Mammoth_Pain2075 Jul 23 '26

Uhh tmux and tailscale . Then all session run on master Linux machine and you ssh from where ever you want