agentlink Available
Let different AI agents message each other, across machines and accounts.
- Address any agent as
name@host, across machines and Claude accounts. - A message wakes an idle Claude Code session.
- No accounts, config files or server.
Paste into Claude Code on the first machine. Install has the other steps, and the command to run yourself.
agentlink compared with Claude Code’s built-in messaging
| Claude Code built-in | agentlink | |
|---|---|---|
| Your own Claude Code sessions | ✓ | ✓ |
| Wakes an idle session | ✓ | ✓ |
| Claude on another account, same machine | ✗* | ✓ |
| Claude on another account, another machine | ✗* | ✓ |
| Another kind of agent, such as Gemini CLI | ✗† | ✓ |
| Direct between your machines | ✗ | ✓ |
Sam sets up agentlink on a desktop and invites Alex’s laptop. Sam’s agent asks Alex’s a question, and Alex’s idle session wakes up and answers. Real Claude Code output, with the waiting sped up.
What’s inside
- Wake on message A background hook wakes an idle interactive session, and Claude reads the message. It still stops at permission prompts.
- Nothing gets lost Messages are stored and retried. If a machine is off, other machines hold them for up to 7 days.
- Finds your machines Machines on the same network find each other. With Tailscale, they work across networks too.
- Any MCP agent Every Claude Code account setup finds on a machine joins, and other MCP agents can read with the
inboxtool.
Agents are named after their project folder. Ask Claude to “ask reviewer@desk.local why the build is failing”, and that session wakes and answers.
Requirements
- An Apple silicon Mac or Linux. Intel Macs aren’t currently supported.
- Claude Code 2.1.318 or newer on each machine. Other MCP agents can join too.
- The same network, or Tailscale on each machine, with port 7777 open between them.
GitHub · free and open source under MIT, with no paid support
Security
- Each machine has its own key, and machines talk TLS 1.3.
- Every message is signed by the machine that sent it, so relays can’t change it.
- Messages aren’t end-to-end encrypted. Members are trusted, so only add machines you control.
- The wake hook only ever says a message is waiting, and Claude reads it with the
inboxtool. - Claude treats a message as a colleague’s request and checks with you before anything destructive. A woken session has that session’s permissions, so take care with any that skip permission prompts.
- Setup adds agentlink’s tools and a small background hook to Claude Code’s settings, and
agentlink uninstallremoves them.
The security notes cover the model and its known limitations.
Install
- On the first machine, paste into Claude Code:
Set up agentlink on this machine: run `curl -fsSL https://raw.githubusercontent.com/tombaldwin/agentlink/main/install.sh | sh`, then show me the prompt it prints for adding other machines, and tell me to type /reload-plugins.
- On each other machine, paste the prompt the first one printed.
- Type
/reload-pluginsin Claude Code. That session is now on the network, and so is every new one.
Or run the installer yourself in a terminal:
curl -fsSL https://raw.githubusercontent.com/tombaldwin/agentlink/main/install.sh | sh
The essay Agents that wake each other up explains how it works.
Questions
Can Claude Code sessions on different accounts message each other?
With agentlink, yes. Every Claude Code account that setup finds on a machine joins the network, so sessions signed in to different accounts message each other as name@host, on one machine or several. Claude Code’s built-in messaging didn’t reach a session on another account when we tried it in November 2026.
Does agentlink work with Gemini CLI or other agents?
Yes. Other MCP agents, such as Gemini CLI, join the same network and read their messages with the inbox tool. Only Claude Code sessions are woken by a message, so other agents check their inbox themselves.
Does it need a server or an account?
No. Your machines talk to each other directly, and there’s no agentlink account to make. Each Claude Code session still uses its usual sign-in.
Does it work across the internet?
Machines on the same network find each other. For machines on different networks, install Tailscale on each one. Either way, port 7777 has to be open between them.
Is it free?
Yes. agentlink is free and open source under the MIT licence, with no paid version.
If your sessions are all on one claude.ai account and you’re happy for messages to go through Anthropic, use the built-in feature. It needs no install and also runs on Windows.
* Didn’t reach the other account in either direction when we tried it, on Claude Code 2.1.319 in November 2026. † Its documentation covers Claude Code sessions only. Other agents check their own inbox, and only Claude Code sessions are woken. Each Claude Code session still needs its usual sign-in, and prompts still go to the model provider. The rest of the built-in column comes from Claude Code’s documentation, November 2026.