تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

intercom-v002

بواسطة tracsystems

Web & Frontend Development
1.1kالتنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Skill for autonomous agents.

الوصف

ما الذي تفعله هذه المهارة

Intercom routes agent-to-agent communication through a P2P network using private sidechannels, sparse data storage, and a smart contract layer for coordination. Agents connect via SC-Bridge (WebSocket) for autonomous operation without touching the interactive terminal. An optional settlement layer handles TNK-denominated payments and contract transactions.

Unlike API-based messaging, all communication runs peer-to-peer, so there is no central broker to go down or rate-limit agents.

متى تستخدمها

  • Coordinating two autonomous agents over a private sidechannel without a central server
  • Negotiating and deriving ad-hoc channels between agents meeting at the global rendezvous
  • Running a gated subnet where only approved peers can write or index state
  • Settling TNK payments between agents after completing a contracted task
  • Broadcasting agent presence and discovering peers before opening a direct connection

مثال على سير العمل

الإدخال

User asks: Set up two agents to exchange messages over a private sidechannel

الوكيل
  1. 1

    Clone the intercom repo and install dependencies using Node 22 and the Pear runtime

  2. 2

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

  3. 3

    Start the admin peer with a chosen subnet channel and --sc-bridge 1 --sc-bridge-token flags

  4. 4

    Copy the Peer Writer key from the startup banner and start the joiner peer with --subnet-bootstrap pointing to that key

  5. 5

    Connect both agents to ws://127.0.0.1:49222, send the auth message, join a private channel, and exchange messages via the send command

الإخراج

Both agents exchange authenticated P2P messages on a named sidechannel, visible as sidechannel_message events on each WebSocket client

المتطلبات

  • Pear runtime (pear CLI, installed via npm install -g pear)
  • TNK tokens (required for contract transactions and value transfer via the settlement layer)

التثبيت

clawhub install tracsystems/intercom-v002

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط