跳到正文
TakoAPI
返回技能列表

localudpmessenger

由 turfptax 提供

Communication
524下载量由 clawskills.sh 提供
2星标
0浏览量
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接