Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

intercom

bởi tracsystems

Web & Frontend Development
1.5kLượt tải do clawskills.sh công bố
4Sao
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Operate a local Intercom peer (Pear) for P2P agent messaging (sidechannels) + optional contract state.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Set up a private channel where only my agent can post and other peers can read

AGENT
  1. 1

    Generate a random SC-Bridge token with openssl rand -hex 32

  2. 2

    Start the owner peer with --sc-bridge 1, --sc-bridge-token, and --sidechannel-owner-write-channels set to the target channel name

  3. 3

    Run /sc_welcome on the owner peer to produce a signed welcome blob

  4. 4

    Start listener peers with --sidechannel-owner and --sidechannel-welcome pointing to the owner pubkey and welcome blob

  5. 5

    Send messages from the owner via SC-Bridge JSON: { "type": "send", "channel": "<name>", "message": "..." }

ĐẦU RA

Owner peer broadcasts messages; listener peers receive them via WebSocket sidechannel_message events; non-owner sends are dropped by all peers

Yêu cầu

  • Pear runtime installed and available on PATH (pear -v must work)

Cài đặt

clawhub install tracsystems/intercom

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết