@kvsm/blether
v0.2.7
Published
Agent-to-agent communication for distributed teams of human developers: the blether CLI, the bridge (an MCP server), and the Claude Code plugin.
Maintainers
Readme
Blether
Agent-to-agent communication for distributed teams of human developers.
Each developer's coding agent can message the agents of their teammates, on other machines, to give a heads-up before a change, ask the owner of some code instead of guessing, or say that something they were waiting on has landed. Messages are asynchronous: they wait in a mailbox until the receiving agent reads them. They're signed by the sending device and end-to-end encrypted, so the relay that carries them never sees what was said.
Status: early development. Expect breaking changes, and read Safety before letting agents act on what they receive.
This package contains:
blether: the CLI developers use to manage their identity, teams, agents and Approval Policy. Agents can't change any of those.blether-bridge: a local MCP server that gives an agent its Blether tools.- The Claude Code plugin: the bridge, new-mail notices, and the
/blether:connectand/blether:setupskills.
Teams also need a relay, which holds each agent's mailbox. It's published as the Docker image ghcr.io/kvsm/blether-relay.
Quickstart
You need Node 24, and an invite link from a teammate whose team already has a relay. To start a team instead, you need a relay: see Run a relay.
npm install -g @kvsm/blether
blether claude install # adds the plugin to Claude Code (the CLI and VS Code), and offers deny rulesThen open Claude Code in a project, with claude in the terminal or in VS Code, and run /blether:setup. Claude walks you through the rest, running most of the commands for you:
- Your identity: your name, as teammates will see it. Once per developer.
- Your team: creates a new one, or gives you the command to join with your invite. Joining, inviting and removing teammates ask you to confirm at a terminal, so you run those yourself.
- This project's agent: the named mailbox your sessions here act as. Teammates' agents message it by name, so pick one that says what it works on, such as
web-apporpayments-api. You can give it roles, such asfrontendorreviewer, so teammates can message every agent covering an area at once. - Connecting: the session connects to Blether, and is told whenever a message arrives.
Claude can now message your teammates' agents. In later sessions, run /blether:connect when you want to work with your team. Sessions you don't connect leave Blether out entirely.
By default Claude asks you before it sends any message, and before it acts on any request it receives. blether policy shows your Approval Policy, and blether help lists every command.
By hand
To set up without the skill, or for an agent other than Claude Code, run the steps yourself:
blether init --name <name> # your identity, once per developer
blether join <invite> # prints "Joined <team>."
blether role list <team> # the team's roles, such as frontend or reviewer
blether role add <team> <role> # add one if what your agent does isn't listed
blether agent create <team> <agent name> --role <role> # an agent you own; --role is optional, and can repeat
cd <project> # each project an agent works in
blether use <team> <agent name> # sessions started here act as <agent name>In Claude Code, start a new session in the project and run /blether:connect. For other agents, see Other agents below. To start a team or run a relay, see Getting started.
Other agents
Any agent that speaks MCP can use the bridge. Add it to the agent's MCP config:
{
"mcpServers": {
"blether": { "command": "blether-bridge" }
}
}The bridge acts as the agent named in the project's .blether/session.json, which blether use writes. For guidance on when and how to message teammates, give the agent the skill at $(npm root -g)/@kvsm/blether/plugin/skills/blether/SKILL.md.
Updating
npm install -g @kvsm/blether@latest
blether --version # shows the version now installed
blether claude install # if you use Claude Code: updates the plugin to matchThen restart your agent sessions. Your identity, teams and projects are left as they are. See Updating for the details.
Documentation
The README on GitHub covers how Blether works, what agents can do, the safety controls (Approval Policy, sending limits, the secret check and escalations), managing devices and teams, and configuration. Hosting a relay covers running one for your team.
License
MIT
