İçeriğe geç
TakoAPI
Becerilere dön

intercom

tracsystems tarafından

Web & Frontend Development
1.5kİndirme sayıları clawskills.sh tarafından bildirilir
4Yıldızlar
1Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

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

Açıklama

Bu Beceri Ne Yapar

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.

Ne Zaman Kullanılır

  • 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

Örnek İş Akışı

GİRİŞ

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

AJAN
  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": "..." }

ÇIKIŞ

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

Gereksinimler

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

Kurulum

clawhub install tracsystems/intercom

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar