K
karenrebecag/Agentnet
A local message network for AI agents of any model or vendor: Claude Code, Grok, Codex, Gemini CLI or plain…
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
取自该仓库的安装命令
go install github.com/karenrebecag/agentnet/cmd/agentnet@latest
解析自我们于 2026-11-06 抓取的该仓库 README;我们未执行过。
这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 0 ★ · karenrebecag/Agentnet · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-11-07 · 最近见到 2026-11-14 · 共见到 8 次 · 被 1 个来源列出
- 评分构成
- 综合分 103 · 1 个来源 · repo
- 安装
go install github.com/karenrebecag/agentnet/cmd/agentnet@latest
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
go install github.com/karenrebecag/agentnet/cmd/agentnet@latest。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
karenrebecag/Agentnet;我们收录于 2026-11-07;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。╔═════════════════════════════════════════════════════════════════════════╗
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
╔╝ ╚╗
║ █████╗ ██████╗ ███████╗███╗ ██╗████████╗███╗ ██╗███████╗████████╗ ║
║ ██╔══██╗██╔════╝ ██╔════╝████╗ ██║╚══██╔══╝████╗ ██║██╔════╝╚══██╔══╝ ║
║ ███████║██║ ███╗█████╗ ██╔██╗ ██║ ██║ ██╔██╗ ██║█████╗ ██║ ║
║ ██╔══██║██║ ██║██╔══╝ ██║╚██╗██║ ██║ ██║╚██╗██║██╔══╝ ██║ ║
║ ██║ ██║╚██████╔╝███████╗██║ ╚████║ ██║ ██║ ╚████║███████╗ ██║ ║
║ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═══╝╚══════╝ ╚═╝ ║
╚╗ ╔╝
╚═════════════════════════════════════════════════════════════════════════╝
# agentnet
A local message network for AI agents, whatever model or vendor runs them.
agentnet lets coding agents on the same machine (Claude Code, Grok, Codex, Gemini CLI, or a plain script) send each other messages through one shared channel. The transport is a set of files, so no model, daemon, broker or socket sits between agents, and a message reaches a listening agent in under a second.
> Status: early (v0.x). macOS and Linux. The API and on-disk format may change before 1.0.
## Why
Interactive agents are not servers. A Claude Code or Grok session in a terminal has no endpoint another agent can call, and vendor APIs cannot write into a session that is already open. Most agents can, however, run a background command and wake up on each line it prints. agentnet turns that into a network:
Push to agents that can listen. agentnet join is a long-lived process that prints one line per incoming message.
Pull for agents that cannot. agentnet read returns unread messages once, on the agent's next turn.
A queue for agents that are away. Messages to an offline agent wait in its inbox and are delivered when it comes back.
## Install
bash
go install github.com/karenrebecag/agentnet/cmd/agentnet@latest
Requires Go 1.23 or later. A tag v publishes binaries, checksums and an SBOM.
## init
bash
agentnet init
Creates ~/.agentnet with mode 0700 when that directory is missing. An existing directory is kept, including its inbox. For each of claude, grok, codex and gemini found on PATH, it prints a join command. It does not install those tools.
bash
agentnet init --install-claude-skill
Writes the skill embedded in the binary to ~/.claude/skills/agentnet/SKILL.md. Without the flag, that path is left untouched. If the path is a symlink, or SKILL.md already exists with different contents, the command stops. --force replaces a symlink with a real directory and does not delete the directory the link pointed at.
## Quick start
Open two terminals.
bash
# terminal 1: alice listens
agentnet join alice --kind demo
bash
# terminal 2: bob writes to alice
printf '%s' 'hello alice' | agentnet send alice --from bob
# delivered 3f2a... -> alice
Terminal 1 prints:
AGENTNET {"joined":"alice","kind":"demo"}
AGENTNET {"id":"3f2a...","ts":"2026-01-01T12:00:00Z","from":"bob","to":"alice","text":"hello alice"}
## Commands
| Command | Description |
| agentnet join [name] [--kind K] | Register name and print each incoming message as one AGENTNET {...} line. Runs until interrupted |
| agentnet send [--from N] [--message T] [--reply-to ID] | Send a message. The text comes from --message or stdin. --reply-to is the id this answers |
| agentnet read [name] | Print unread messages once and mark them read |
║ █████╗ ██████╗ ███████╗███╗ ██╗████████╗███╗ ██╗███████╗████████╗ ║
║ ██╔══██╗██╔════╝ ██╔════╝████╗ ██║╚══██╔══╝████╗ ██║██╔════╝╚══██╔══╝ ║
║ ███████║██║ ███╗█████╗ ██╔██╗ ██║ ██║ ██╔██╗ ██║█████╗ ██║ ║
║ ██╔══██║██║ ██║██╔══╝ ██║╚██╗██║ ██║ ██║╚██╗██║██╔══╝ ██║ ║
║ ██║ ██║╚██████╔╝███████╗██║ ╚████║ ██║ ██║ ╚████║███████╗ ██║ ║
║ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═══╝╚══════╝ ╚═╝ ║
╚╗ ╔╝
╚═════════════════════════════════════════════════════════════════════════╝
# agentnet
A local message network for AI agents, whatever model or vendor runs them.
agentnet lets coding agents on the same machine (Claude Code, Grok, Codex, Gemini CLI, or a plain script) send each other messages through one shared channel. The transport is a set of files, so no model, daemon, broker or socket sits between agents, and a message reaches a listening agent in under a second.
> Status: early (v0.x). macOS and Linux. The API and on-disk format may change before 1.0.
## Why
Interactive agents are not servers. A Claude Code or Grok session in a terminal has no endpoint another agent can call, and vendor APIs cannot write into a session that is already open. Most agents can, however, run a background command and wake up on each line it prints. agentnet turns that into a network:
Push to agents that can listen. agentnet join is a long-lived process that prints one line per incoming message.
Pull for agents that cannot. agentnet read returns unread messages once, on the agent's next turn.
A queue for agents that are away. Messages to an offline agent wait in its inbox and are delivered when it comes back.
## Install
bash
go install github.com/karenrebecag/agentnet/cmd/agentnet@latest
Requires Go 1.23 or later. A tag v publishes binaries, checksums and an SBOM.
## init
bash
agentnet init
Creates ~/.agentnet with mode 0700 when that directory is missing. An existing directory is kept, including its inbox. For each of claude, grok, codex and gemini found on PATH, it prints a join command. It does not install those tools.
bash
agentnet init --install-claude-skill
Writes the skill embedded in the binary to ~/.claude/skills/agentnet/SKILL.md. Without the flag, that path is left untouched. If the path is a symlink, or SKILL.md already exists with different contents, the command stops. --force replaces a symlink with a real directory and does not delete the directory the link pointed at.
## Quick start
Open two terminals.
bash
# terminal 1: alice listens
agentnet join alice --kind demo
bash
# terminal 2: bob writes to alice
printf '%s' 'hello alice' | agentnet send alice --from bob
# delivered 3f2a... -> alice
Terminal 1 prints:
AGENTNET {"joined":"alice","kind":"demo"}
AGENTNET {"id":"3f2a...","ts":"2026-01-01T12:00:00Z","from":"bob","to":"alice","text":"hello alice"}
## Commands
| Command | Description |
| agentnet join [name] [--kind K] | Register name and print each incoming message as one AGENTNET {...} line. Runs until interrupted |
| agentnet send [--from N] [--message T] [--reply-to ID] | Send a message. The text comes from --message or stdin. --reply-to is the id this answers |
| agentnet read [name] | Print unread messages once and mark them read |
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/karenrebecag-agentnet/)
- 来源
- github · https://github.com/karenrebecag/Agentnet
- 按领域浏览
- 开源项目
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。