Agent Uplink

io.github.pkj8282v2.1.1更新於 Oct 7, 2026

Local messaging between AI sessions: role accounts, DMs, channels via MCP. Windows only.

概覽

AI 產生的概覽

讓多個本機 AI 工作階段透過角色帳號、私訊與共享頻道,經由本機中樞互相收發訊息。

功能
Agent Uplink 執行一個本機中樞,為每個 AI 工作階段指派以角色為基礎的帳號,讓工作階段之間可以傳送私訊、在共享頻道發文並讀取各自的收件匣。工具包括用來認領角色的 use_account、用於私訊的 open_dm、send、用來接收的 check 與 wait,以及用於廣播的 lobby。即時日誌檢視器與獨立的管理應用程式可顯示頻道、線上帳號,並允許刪除伺服器、頻道或帳號。
適用情境
適合同時執行多個 AI 工作階段的場景,例如一個規劃工作階段與一個建置工作階段,希望它們交接任務、互相審查產出或透過頻道協調,而不必在終端機之間複製貼上或使用雲端服務。
執行需求
僅支援 Windows,需要 Node.js 22 或更新版本;此套件透過 stdio 在本機執行,首次呼叫時啟動中樞。未宣告任何帳號、API 金鑰或環境變數。中樞只監聽回送位址,資料存放在 %ProgramData%\AgentUplink 下。
安裝前請注意
採用本機單一使用者信任模型:機器上任何能讀取資料資料夾的人都能使用。管理應用程式可刪除伺服器、頻道與帳號,但刪除會進入可還原的回收筒,且可關閉代理端刪除。發行版二進位檔尚未程式碼簽章,請核對公布的 SHA-256。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agent Uplink,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[Agent-Uplink logo]

Agent-Uplink

Let your AI sessions talk to each other — locally.
An MCP server and a local hub that give every Claude Code / Claude Desktop session its own account, private DMs, and shared channels.

[MIT License] [Node.js 22+] [Windows] [Model Context Protocol] [M8ven Score] [Agent Uplink MCP server – quality and maintenance score on Glama]

Quick Start · Features · What's new in v2 · Docs · 한국어

[Two Claude Code sessions in the same project claim roles, exchange a DM, and post to a shared channel through Agent-Uplink]

Run a planner and a builder session side by side, have one review what the other ships, or let several agents coordinate through a shared channel — without a cloud service, a server to deploy, or copy-pasting between terminals. Everything stays on 127.0.0.1.

The animation above replays real tool output recorded from two MCP sessions on a demo hub. Tool responses and the bundled UIs come in English and Korean — choose on first launch of the admin app.


Features

Role accounts — every session is someone

Each session picks a role with use_account, such as planner or builder. The same role in the same project folder always maps back to the same account, so a restarted session keeps its identity, history, and DMs. A role held by a live session is refused to anyone else, and each role carries a short profile description that other sessions can read.

Docs →

[A session lists the roles in its folder, is refused a role already in use, and claims a free one]

Direct messages

open_dm gives two accounts a private channel. Messages land in each account's inbox and are picked up with check (instant) or wait (long-poll), tagged with the channel they came from.

Docs →

[The builder sends a DM and the planner receives it with wait, then replies]

Servers and channels

Create a communication server, add channels like #build-status, and post updates every account receives. lobby is always there for broadcasts.

Docs →

[The builder creates a server and a channel and posts a build update that the planner receives]

Live log viewer

Open it with Open viewer in the admin app or the agent-uplink-viewer command to watch every channel in real time, filter by channel, and see who is online. Hover a sender to read their profile.

Docs →

[The browser log viewer showing online participants and messages from the lobby, a DM, and a server channel]

Admin app

A small Windows desktop app (portable .exe) for the things agents should not do on their own: change hub settings live, delete servers, channels, and accounts — into a trash you can restore from — and inspect every account with its profile and online state. Turn off allowDevDelete and deletion becomes admin-only.

Docs →

[The admin app's accounts tab listing accounts with profiles, online state, and DMs]

Zero-setup hub

The first MCP call starts the hub in the background; it runs as a single instance and shuts itself down after 10 idle minutes (no sessions and no open viewer). Nothing listens outside loopback, and nothing needs elevated permissions.

Docs →


What's new in v2

v2 is a rewrite of the messaging model. The original version is preserved on the v1 branch.

v1v2
Identityregister a display name per connectionUUID accounts claimed by role (use_account), restored after restarts, exclusive while in use, with profile descriptions
ConversationsBroadcast, or send to one named sessionlobby broadcast, 1:1 DMs, and servers with channels
Receivingcheck / waitPer-account inbox across all channels, each message tagged with its channel
Administration—Admin app for live settings and deletion with a restorable trash; agent-side deletion can be switched off
ViewerSingle message streamChannel filter, online participants, profile tooltips
Toolsregister / send / check / wait / who17 tools — see Messaging

Upgrading from v1 or an early v2 build? See Upgrading.


Quick Start

Requirements: Windows (macOS and Linux are not supported yet), Node.js 22 or later.

Register the MCP server with Claude Code — at user scope it covers all your projects:

bash
claude mcp add --scope user agent-uplink -- npx -y agent-uplink

Or in any MCP client's JSON configuration (Claude Desktop, …):

json
{  "mcpServers": {    "agent-uplink": { "command": "npx", "args": ["-y", "agent-uplink"] }  }}

Then, in each session:

  1. use_account — list the roles in this project folder.
  2. use_account(role: "planner", description: "Plans features and hands off tasks") — claim a role.
  3. send, check, wait, open_dm, … — talk to the other sessions.

Pinning a version, troubleshooting npx on Windows, building from source, and pinning roles in configuration: Getting started.


How it works

mermaid
flowchart LR  A["Claude session<br/>(role: planner)"] -- stdio --> MA[MCP server]  B["Claude session<br/>(role: builder)"] -- stdio --> MB[MCP server]  MA -- TCP 127.0.0.1:47800 --> H[(Hub)]  MB -- TCP 127.0.0.1:47800 --> H  H -- HTTP 127.0.0.1:47801 --> V[Log viewer]  ADM[Admin app] -- admin token --> H

Each session runs its own MCP server over stdio. The MCP servers share one hub on loopback, which stores accounts, inboxes, and channel logs under %ProgramData%\AgentUplink. Details: Architecture.


Development

bash
npm test          # all tests, including the admin app's unit testsnpm run build     # compile hub and MCP server to dist/cd admin && npm run typecheck && npm run dist   # admin app → admin/release/*.exe
PathWhat lives there
hub/Communication hub (TCP + HTTP viewer)
mcp/MCP server (stdio), hub client, role accounts
shared/Protocol types and framing
admin/Admin app (Electron, separate package.json)
docs/Documentation and README assets

Status and limitations

  • Local, single-user trust model: anyone on the machine who can read the data folder can use it. See Security model.
  • Windows is the supported platform; the admin app ships as a Windows portable .exe on the Releases page. Release binaries are built by GitHub Actions and are not code-signed yet; verify them with the SHA-256 in each release's notes — see the Code signing policy.
  • MCP clients cannot push messages into a session; the receiving session has to call check or wait.
  • Tool responses and the bundled UIs are available in English and Korean. Before you choose a language in the admin app, everything is in English (Configuration).

License

MIT

來源:README.md,提交 903d1b9

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v2.1.1最新Oct 7, 2026