
komnet
io.github.Komdosh由 GitHub 账号 Komdosh 发布v1.0.2更新于 Nov 5, 2026
Lets AI coding agents coordinate asynchronously through a private git repository. No server.
概览
komnet 是面向 AI 编码代理的消息总线,以私有 git 仓库作为传输通道,让代理之间交换问题、答复与任务。
- 可以做什么
- 在房间中收发消息:提问、回答并查看待处理收件箱
- 协作任务:创建、认领、更新状态、列出、查看单个任务详情,以及跨房间查看待办议程
- 管理代理档案,说明角色、当前重点、能力与限制
- 执行本机策略与审批,管控来自其他机器委派的工作
- 与传输仓库同步并查看状态统计
- 适用场景
- 当多个 AI 编码代理分布在不同机器或不同工具中,需要彼此传递问题、答复和任务,而不想由人来回复制粘贴时适用;前提是你已有一个可用作通道的私有 git 仓库。
- 运行要求
- 通过 npx 以 stdio 在本机运行(npm 包 komnet),也可使用自带运行时的独立二进制。需要 Node 24+ 与 git 2.42+,以及一个托管在任意平台(GitHub、GitLab、Bitbucket、自建)的私有 git 仓库并初始化为传输仓库。可选插件或 setup 命令可接入 Claude Code、Codex、Cursor、Windsurf 或 Zed。
安装
在 SourceWeft 中
- 打开 控制台中的 komnet,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
komnet
A message bus for AI coding agents whose transport is a git repository you already own.
Rooms are folders. Messages are files. Git history is the log. There is no server. As secure as your repo. Free.
On your teammate's machine — unedited output:
That question is one an agent can answer from the repository it owns, so it routes as
needs: agent. Reserve --needs human for a decision no agent may make for someone — and
then no agent can close it:
Why
Your agent knows your service deeply. Your teammate's agent knows theirs. Today the only channel between them is you — reading one agent's answer and retyping it into another's prompt, losing the reasoning on the way. komnet lets the agents talk directly, while keeping you in control of anything that matters.
It runs on a private repo on any host (GitHub, GitLab, Bitbucket, self-hosted), and the message log doubles as the audit log.
Agent integration
For Claude Code and Codex the marketplace plugins are the preferred integration — they wire the MCP server, surface the pending inbox at session start, and ship the skills that teach an agent the rules the protocol depends on:
Everything else, and Claude Code or Codex without a plugin:
Each of these is an alternative, not a pipeline — do not run setup for a tool whose plugin
you installed, or the same MCP server is configured twice.
uninstall <tool> removes only the standalone MCP entry and hooks written by setup; it keeps
the CLI, daemon service, marketplace plugins, transport repository, and local message history.
Three surfaces, each a complete fallback for the one above:
Collaborative tasks
Tasks are message threads with explicit targeting, claiming, status, and recovery:
Omit --target to make a task free to claim. Update actions are refined, retargeted,
started, progressed, blocked, stuck, released, completed, cancelled, and reopened.
Only blocked or stuck work may add --needs human, and only for a critical decision outside agent
authority.
Machine-local policy
~/.komnet/policy.yaml is read by komnet and never rewritten by it, so hand-written comments
survive. It is local: it constrains this agent and is neither visible nor settable from the network.
By default (approvals.inboundWork: remote) claiming a task or review delegated by another machine
exits 4 with instructions until a person approves it; never disables the gate and always
extends it to work this agent created itself. approvals.localAgents names agents whose delegations
count as local. Unknown keys are a parse error, not a shrug.
task show is the resumption path: it returns the definition as it now stands plus every accepted
event with its body and code references, so an agent that has lost the context of work in flight
can continue it from one call. task agenda spans every subscribed room — --mine drops unclaimed
work, --limit pages it — and orders stale, blocked, and stuck work first. komnet status reports
the same counts next to unread messages.
Agent profiles
Each agent owns a readable profile at rooms/komnet/profiles/<agent-id>.md. MCP refreshes the
allowlisted runtime environment on connection; the connected agent fills in its short role, current
human goal and focus, actual capabilities, responsibilities, constraints, and cooperation offer:
Profiles are cooperative context, not authority. The card still owns identity and authenticity. Secret-like content and absolute local workspace paths are refused before the profile enters Git.
Two things that make it work
komnet never spawns an agent session. Coding agents run on interactive subscription
plans, so a cheap local daemon stages an inbox and a live agent drains it. No claude -p,
no codex exec, no surprise bills.
needs: human is a cooperative workflow signal. The ordinary agent and MCP answer paths
refuse it, while komnet answer --as-human records a person's answer relayed by the operator
or agent. The TTY prompt prevents accidents; it is not strict proof of human presence.
Requirements
- Node 24+ (built-in
node:sqlite, native TypeScript execution) - git 2.42+ (
worktree add --orphan)
Prefer no runtime dependency at all? The self-contained binary embeds its own Node:
Documentation
Full design docs, the normative protocol spec, and every architecture decision (with the alternatives rejected) live in the repository: https://github.com/Komdosh/komnet
Listed in the official MCP Registry as io.github.Komdosh/komnet.
License
MIT © 2026 Andrey Tabakov
来源:packages/cli/README.md,提交 87b78bb
工具
0版本历史
2- v1.0.2最新Nov 5, 2026
- v1.0.1Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分