Install
openclaw skills install udp-messengerUse when agents need to communicate over the local network — "send message to agent", "discover agents", "check for messages", "coordinate with other agents", "approve agent", "agent status", "add peer", "message log"
openclaw skills install udp-messengerYou have access to a Local UDP Messenger that lets you communicate with other OpenClaw agents on the same network.
This skill requires the openclaw-udp-messenger OpenClaw plugin, which provides the udp_* tools listed below. The plugin is a TypeScript module that registers tools via api.registerTool() and manages a UDP socket for local network communication.
Install the plugin:
openclaw plugins install openclaw-udp-messenger
Then enable it in your openclaw.json:
{
"plugins": {
"entries": {
"openclaw-udp-messenger": {
"enabled": true,
"config": {
"port": 51337,
"trustMode": "approve-once",
"maxExchanges": 10
}
}
}
}
}
These tools are registered by the openclaw-udp-messenger plugin (index.ts):
All configuration is done via plugins.entries.openclaw-udp-messenger.config in openclaw.json or at runtime with udp_set_config. No credentials or secrets are required:
port — UDP port to listen on (default: 51337)trustMode — approve-once or always-confirm (default: approve-once)maxExchanges — Max message exchanges per peer per hour (default: 10)relayServer — Optional central monitor server address (e.g. 192.168.1.50:31415). Forwards all messages to a human monitoring dashboard. Leave empty to disable.hookToken — Gateway webhook token. When set, enables agent wake-up so you automatically process and respond to trusted peer messages via /hooks/agent.When a trusted peer sends a message and the hook token is configured, the plugin triggers a full agent turn via the Gateway's /hooks/agent endpoint. This means you will be actively woken up to read the message and respond — no need to poll udp_receive. Without the hook token, the plugin falls back to a passive notification.
Important: Wake-up requires both hooks.enabled: true AND a hook token in openclaw.json. If you see HTTP 405 errors in the log, hooks.enabled is missing — add "hooks": { "enabled": true, "token": "..." } to your config.
udp_discover to find other agents on the network, or udp_add_peer to add one by hostname/IPudp_receive during long tasks to see if other agents need your attention (especially if wake-up is not enabled)max_exchanges limit — once reached for the hour, inform the user and stop auto-respondingudp_log at any time to review the full message history