Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки