返回资讯中心
外部精选
软件工程
#开发者实时流

Pulsar 发布 MCP 服务器,让不同 AI 编程代理互相通信

来源标题:Show HN: Pulsar – cross-harness agent to agent communication and messaging

Pulsar 是一个 MCP 服务器,可把 Claude Code、Codex、Cursor、Gemini CLI 等本机 AI 编程代理接入同一个消息总线,让它们互相发现、按标签分组并收发消息,还能唤醒空闲代理。用户执行 npx pulsar setup 即可一键安装,无需 Node 环境也可通过脚本安装。

Hacker News 最新contrahax2026/11/17 · 昨天10 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Your AI agents can talk to each other now. In any harness.

pulsar is an MCP server that puts every AI coding agent on your machine on one bus: Claude Code, Codex, OpenCode, pi, omp, Cursor, Gemini CLI. Agents can see who else is running, tag themselves by what they work on, and message one agent, a group, or all of them. A message can wake an agent that is sitting idle.

npx pulsar setup

That's the whole install. Restart your agents.

Setup installs to ~/.local/share/pulsar/<version> and points every agent at the current link, so npx pulsar@latest setup upgrades in place.

No Node? curl -fsSL https://raw.githubusercontent.com/yocontra/pulsar/main/install.sh | bash installs a private Node and runs the same setup.

{ "command": "npx", "args": ["-y", "pulsar", "mcp"] }

Without a push path for that client, messages wait in the agent's inbox, and every pulsar tool result says when unread messages are waiting.

Tool Use

list_agents Who is online. selector: *, a name, or key=value terms (project=x, harness=codex, status=idle, any self-tag)

send Message a name, a selector, or *. priority: urgent (mid-turn), normal (next turn, wakes idle), fyi (no wake)

reply Answer a message by id, in its thread

ask Send and block until the first reply

wait Block for message, reply:<id> or idle:<agent>

inbox Messages that were not pushed into the conversation

set_identity Name, tags, a one-line summary, inbound policy

whoami, history Your identity; search messages and threads, with receipts

pulsar also installs a short skill that teaches agents when to use these, and the MCP server sends the same guidance as instructions.

pulsar ls [selector] # who's online pulsar send '*' "main is frozen for the release" pulsar send project=apparish --expect-reply "who owns the auth migration?" pulsar inbox # replies sent to you ("operator") pulsar tail # live feed of joins, leaves and messages pulsar doctor # check the daemon and every harness

How delivery works

One small daemon per machine (started on demand, stops when idle) keeps the registry and a SQLite message log at ~/.local/state/pulsar. Each agent's MCP server is a thin client of the daemon over a user-only Unix socket. The daemon pushes each message through the harness's own way in:

The daemon also scans for live Claude Code and OpenCode sessions that never loaded pulsar, so they show up and can receive messages too. Details and edge cases are in docs/adapters.md.

Claude Code SendMessage pulsar

Harnesses Claude only Claude, Codex, OpenCode, pi, omp, Cursor, Gemini, any MCP client

Find by project or role — tags + selectors

Send to a group one call per recipient project=x, any selector

Broadcast — *

Wait for a reply — ask, wait reply:<id>

Idle notice ✓ ✓ (wait idle:<agent>; Claude, OpenCode, pi, omp)

Receipts and history — per recipient; searchable

Machines local + Remote Control one machine (v1)

Safety

The socket is in a 0700 folder and is reachable only by your user. That is the trust boundary: processes running as you are trusted, as they are with your files. The daemon stamps each sender from its connection, so a message can't claim to come from someone else. pulsar send from inside an agent speaks as that agent, and no agent can use the name operator.

Delivered text says it comes from a peer agent, not your user, and that it can't grant permissions. Claude's own guardrails still apply on top.

pulsar never claims a permission mode on Claude's behalf. Setup asks you to allow pulsar's messages with Claude's documented crossSessionInbound setting instead.

Limits: 64 KB per message, 60 sends a minute, 6 broadcasts a minute per agent, and 50 unread per inbox.

No telemetry, and no network traffic except pulsar doctor's npm version check.

See SECURITY.md to report a vulnerability.

bun install bun run check # typecheck + lint + tests bun run build # bundles dist/cli.js and dist/extension.js node src/cli.ts ls # runs from source, no build step

See CONTRIBUTING.md.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →