intercom
tracsystems 作
Web & Frontend Development概要
Operate a local Intercom peer (Pear) for P2P agent messaging (sidechannels) + optional contract state.
説明
このスキルでできること
Intercom runs a local Pear peer that routes agent-to-agent communication over P2P using sidechannels. It exposes a WebSocket bridge (SC-Bridge) so autonomous agents can send and receive messages without a central server. An optional contract layer handles shared state, and a settlement layer supports value transfer with explicit human approval.
Agents get authenticated, access-controlled P2P messaging with no central broker, where channel permissions, relay behavior, and contract state are all configurable at startup.
使いどころ
- Sending private messages between two autonomous agents without a central broker
- Creating invite-only channels where only authorized peers receive payloads
- Running a quiet relay node to keep P2P channels reachable across NAT
- Coordinating shared contract state across a subnet of agent peers
- Dynamically opening new agent channels at runtime via the entry rendezvous
ワークフロー例
User asks: Set up a private channel where only my agent can post and other peers can read
- 1
Generate a random SC-Bridge token with openssl rand -hex 32
- 2
Start the owner peer with --sc-bridge 1, --sc-bridge-token, and --sidechannel-owner-write-channels set to the target channel name
- 3
Run /sc_welcome on the owner peer to produce a signed welcome blob
- 4
Start listener peers with --sidechannel-owner and --sidechannel-welcome pointing to the owner pubkey and welcome blob
- 5
Send messages from the owner via SC-Bridge JSON: { "type": "send", "channel": "<name>", "message": "..." }
Owner peer broadcasts messages; listener peers receive them via WebSocket sidechannel_message events; non-owner sends are dropped by all peers
要件
- Pear runtime installed and available on PATH (pear -v must work)
インストール
clawhub install tracsystems/intercomCLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。