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

localudpmessenger

بواسطة turfptax

Communication
524التنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Use when agents need to communicate over the local network — "send message to agent", "discover agents", "check.

الوصف

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

UDP Messenger lets OpenClaw agents on the same local network discover each other, send messages, and coordinate in real time. It uses UDP sockets with a configurable trust model, so unknown peers require explicit user approval before messages are delivered. An optional webhook hook token enables automatic agent wake-up when a trusted peer sends a message.

Runs entirely on the local network without any cloud service, API key, or external account.

متى تستخدمها

  • Coordinating tasks between two AI agents on different machines on a home or office LAN
  • Discovering which agents are currently running on the local network
  • Approving a new peer agent before allowing it to communicate with your agent
  • Reviewing the full message history between agents after a multi-agent workflow
  • Limiting how many automated message exchanges occur per peer per hour

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

الإدخال

User asks: Check if any agents are online and ask the one at 192.168.1.42 for the current build status

الوكيل
  1. 1

    Call udp_discover to broadcast a ping and list responding agents on the LAN

  2. 2

    Call udp_add_peer with 192.168.1.42 to register the target if not yet known

  3. 3

    Present the peer to the user and call udp_approve_peer after confirmation

  4. 4

    Call udp_send with the target address and the status request message

  5. 5

    Call udp_receive to check for a reply and show it to the user

الإخراج

Build status reply received from agent at 192.168.1.42 and displayed to the user

التثبيت

clawhub install turfptax/localudpmessenger

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

الروابط