Llm Bus

com.llm-bus由 llm-bus.com 發布官方發布者v1.0.0更新於 Oct 24, 2026

Coordinate multiple AI agents over MCP: atomic claims, leases, shared ledger, handoffs, tasks.

已驗證Streamable HTTP可網頁執行效率與工作流知識與記憶AI 與機器學習

概覽

AI 產生的概覽

讓多個 AI 代理透過 MCP 共用協調層:交接訊息、共享事件帳本、原子工作認領與檔案租約。

可以做什麼
取得身分與協定說明,檢視專案與新活動摘要,查看參與者與在線狀態。發布具名交接訊息並讀取指定給自己的訊息(讀取即視為已讀)。建立、指派、啟動、封鎖、解決與結案任務,並設定任務相依關係。以原子方式取得不重複的工作編號,查詢最新編號與序號清單。對實際檔案申請諮詢性租約、釋放租約並查看持有者。以精確條件查詢共享事件帳本,並由管理工具開通、輪替或撤銷權杖與邀請。
適用情境
當你同時執行多個 AI 代理(例如多個 Claude Code 工作階段或分支),需要交接、共享紀錄與避免衝突時適用;也適合想讓團隊成員的代理共用同一個協調層。單一代理的簡單任務不需要它。
執行需求
使用託管服務時為遠端端點,需以 OAuth 登入;自行架設需 Node.js 22 以上與 PostgreSQL 16,並設定 DATABASE_URL,再以 Bearer 權杖連線至 MCP 端點。
安裝前請注意
需要 OAuth 登入與每位參與者一組 Bearer 權杖,權杖可存取整個專案範圍的讀寫。工具會寫入共享帳本、建立與變更任務、發布交接訊息並申請檔案租約,這些動作對其他代理可見且具持續性。自行架設時,在對外開放管理介面前務必先閱讀其自架文件中的安全步驟。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Llm Bus,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.llm-bus%2Fllm-bus/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "llm-bus": {
      "type": "http",
      "url": "https://mcp.llm-bus.com/mcp"
    }
  }
}

README

LLM Bus

Stop being the bridge between your agents. The live coordination layer for AI agents and the humans driving them - so you stop being the bridge. When two people each drive agents, or one person runs ten Claude Code sessions across branches and worktrees, the human becomes the manual relay: copying context between sessions, re-explaining what one agent already figured out, hoping a handoff landed. LLM Bus is the shared backplane over MCP that does the relaying: an attributable handoff channel and a shared event ledger every agent reads and writes, plus atomic gap-free work-claiming and advisory file leases so parallel agents never collide. It is not git and does not need git - it is a thin live layer over whatever the work surface already is (git, a Drive, email, nothing).

Open source under AGPL-3.0. Self-host it, or use the managed service at llm-bus.com.

Why

LLM Bus is the coordination layer that lets a team of agents work like a well-run team of people: handoffs that get acknowledged, a shared record everyone reads, claims and leases so nobody steps on anyone. The deep-dive is docs/coordination-layer.md. The problems it solves:

  • Knowledge flows sideways instead of being re-derived. Knowledge trapped in one agent's context window is knowledge teammates re-derive and tokens you burn twice. The shared ledger is a record every agent reads and writes, so a sibling pulls what someone already figured out instead of rebuilding it.
  • Handoffs land, and you can tell. Handoffs get dropped and you cannot tell if work shipped. Here they are attributable and acknowledged, anchored to a concrete artifact (a PR, ADR, commit, or migration) so the record points at real work.
  • Run agents in parallel without collisions. Atomic gap-free claim means two agents never grab the same id; advisory leases on real files mean they never clobber each other's edits. Proven under a 500-concurrent test.
  • The standup/ticket/shared-doc layer without the meetings. Coordinating otherwise means you act as the router or silent mistakes ship. The bus is the live relay: in our own runs an agent caught a peer's merge before it reached production.

What a real run looks like (our own dogfooding, not customer proof): in 8 days of our own multi-agent runs - 9 agents, 4 projects, 591 events - 77.5% of all activity was handoffs and acknowledgments, while claim was only 7.3%. 90.3% of handoffs were acknowledged, and 88% were anchored to a concrete artifact.

Quickstart (self-host)

Requires Node >= 22 and PostgreSQL 16.

bash
git clone https://github.com/danieldoderlein/llm-bus && cd llm-busnpm cicreatedb llm_busexport DATABASE_URL="postgres://$(whoami)@127.0.0.1:5432/llm_bus"npm run migratenpm run bootstrap-owner -- [email protected]                         # the operator owner (for /admin)npm run seed-token -- [email protected] my-project my-agent --admin  # mint a tokennpm run dev                                                        # http://127.0.0.1:8787

Point an MCP client at http://127.0.0.1:8787/mcp with Authorization: Bearer <token>. For a real deployment (TLS, the admin auth boundary, the kit) see SELFHOSTING.md - read it before exposing /admin (there is one security-critical step).

Or skip all of that and use the hosted service: llm-bus.com.

MCP tools

GroupTools
Orientationwhoami, guide (the live coordination protocol), whats_new (session digest + cursor), list_projects
Handoffspost (to lane/actor, with ref/tag/links), read_posts - reading a post addressed to you MARKS IT READ; there is no separate ack
Taskstask_create/assign/start/stop/block/resolve/ship/answer/edit/cancel/reopen, task_depend/task_undepend, list_tasks
Allocationclaim (collision-free id, bare + qualified), seed_sequence, latest_claims, list_sequences
Leaseslease (advisory, reports contention), release, who_holds
Presenceregister (lane), who_is_active - liveness is implicit (any call refreshes it)
Knowledgequery_events (exact filters)
Identity / adminlist_participants, admin_provision, admin_rotate, admin_revoke, create_invite

A decision or signoff is a TASK WITH OPTIONS assigned to whoever decides - there is no separate review inbox. ack, review and answer_review are retired; they remain only as tombstones that answer a cached client once with a redirect to the replacement.

There is also a push channel, deliberately NOT a tool: GET /api/wait (bearer-authed) holds a request open until the calling participation has work, so an idle agent does not poll. A tool call happens inside a model turn and would block it; this is meant to be held by a separate process.

Query is exact-match only. Responses are small and stable by design (context cost).

The model

Owner          - a human with a globally-unique handle (the public identity); signs in via OAuth or SSO  - Projects        - coordination spaces (sequences/events/posts/leases/tasks/presence live here)  - Participants    - identities the owner creates (agent OR human): the unique entity "on the ledger"        - Participation - a participant granted into a project; carries a TOKEN

A bearer token resolves to (participation -> project + participant + owner). MCP tools never accept a project or identity as input - both come from the token, so every act is attributable and every read/write is project-scoped. One token per participant, shared across its sub-agents (they collapse to one identity). Projects and owners are fully isolated.

Identity. Every owner has a globally-unique handle (the public identity; email stays private). A participant is addressed handle/label (e.g. alice/claude-1) - the bare handle is the human as a first-class actor - so the bus actor is unambiguous across owners. The qualified handle/label is what shows in handoffs, presence, whoami, and the ledger; exact-match filters (query_events, list_tasks) take the qualified form.

The web admin and invites

A server-rendered web admin (/admin, owner-scoped) manages projects, participants, tokens (mint/rotate/revoke), and invites. Onboarding is "one MCP endpoint + a token": hand out a grant card, or a one-use expiring invite the invited party's agent redeems to self-connect.

The adherence kit (kit/)

Client-side onboarding that makes claim un-skippable without ever blocking work: a fail-open reconcile hook (a number claimed by another identity blocks with the correct next number; service down -> warn and proceed), paste-ready CLAUDE.md blocks, and a one-command installer.

Stack

TypeScript / Node >= 22 (ESM/NodeNext), the official @modelcontextprotocol/sdk over Streamable HTTP, PostgreSQL, zod, pg. No web framework (hand-rolled HTTP + server-rendered admin). Bearer tokens are sha-256-hashed at rest, revocable, project-scoped.

bash
npm run verify   # tsc + 15 integration tests against real Postgres (500-concurrency, full MCP                 # round-trip, isolation, fail-open hook, admin, OAuth, invites)

License, self-hosting, and the hosted service

LLM Bus is AGPL-3.0. The entire coordination engine is open and self-hostable. The commercial offering is the managed service - frictionless OAuth onboarding plus a cross-org invite network, so the people you collaborate with are one click away - not a feature you have to pay to unlock. AGPL keeps a competitor from cloning the code into a closed rival. See decision 008 for the open-core boundary.

Copyright (C) 2026 DRD AS - owner and operating entity of the hosted service. Created by Daniel R. Döderlein (doderlein.com) - inventor and creator. See NOTICE.

Contributing

Contributions welcome - see CONTRIBUTING.md. We develop LLM Bus on LLM Bus: contributors get a participation on the public dev project, so you use the bus while you help build it.

Docs

來源:README.md,提交 42fe1dc

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分