Agent Swarm Network
БесплатноБез исполняемых скриптовНе проверенAgent communication protocol skill. Provides: inter-agent messaging, context snapshot/restore, event-driven collaboration, model dispatch notifications…
от modbender★ 21 звезда на GitHubОб этом скилле
Agent Swarm Network — Agent Communication Skill
A unified communication backbone for every AI tool in the OpenClaw ecosystem (OpenClaw / Antigravity / Codex).
Analogy: This network = the Agent's nervous system. OpenClaw = the Agent's brain.
Acknowledgments
This Skill is built on top of Pilot Protocol by @TeoSlayer. Pilot Protocol provides the core daemon, encrypted tunnels, NAT traversal, and peer-to-peer addressing that this Skill leverages. Huge thanks to the Pilot Protocol team for building the Internet of Agents.
Permissions & Privacy
This Skill executes local CLI commands and writes files to the ~/.pilot/ directory. Full transparency:
| Permission | What | Why |
|---|---|---|
| CLI Exec | ~/.pilot/bin/pilotctl |
All agent operations go through this binary |
| File Write | ~/.pilot/inbox/ |
Context snapshots and incoming messages land here |
| File Write | ~/.pilot/received/ |
Received files from peer agents |
| File Read | ~/.pilot/inbox/ |
Reading snapshots for context restoration |
| File Read | ~/.pilot/received/ |
Reading transferred files |
| Network | Local Unix socket | Daemon communication (localhost only) |
| Network | UDP tunnels (encrypted) | Agent-to-agent communication (AES-256-GCM) |
| Script Exec | ~/.pilot/context-snapshot.sh |
Context snapshot helper script |
| Script Exec | ~/.pilot/pilot-publish.sh |
Event publishing helper script |
| Process | Daemon lifecycle | Start/stop/status of the pilotctl daemon |
Privacy Note: All inter-agent traffic is encrypted end-to-end using X25519 key exchange + AES-256-GCM. Agents are private by default and require mutual trust handshake before communication. No data passes through relay servers. The rendezvous registry defaults to localhost (
127.0.0.1:9000) — no peer-discovery metadata leaves the machine unless you explicitly changeregistry_urlto a remote address. Snapshots are unencrypted JSON; you must secure the~/.pilot/directory (chmod 700).
Prerequisites
| Tool | Purpose | Required? |
|---|---|---|
| Pilot Protocol | Core daemon + CLI (pilotctl) |
✅ Required |
| OpenClaw | Skill host + Agent orchestration | ✅ Required |
Configuration
Edit config.json after installation:
{
"pilotctl_path": "~/.pilot/bin/pilotctl",
"daemon_start_script": "~/.pilot/start-local.sh",
"snapshot_script": "~/.pilot/context-snapshot.sh",
"publish_script": "~/.pilot/pilot-publish.sh",
"inbox_path": "~/.pilot/inbox/",
"received_path": "~/.pilot/received/",
"agent_hostname": "keke-agent"
}
| Field | Description | Default |
|---|---|---|
pilotctl_path |
Path to the pilotctl binary | ~/.pilot/bin/pilotctl |
daemon_start_script |
Script to start the daemon | ~/.pilot/start-local.sh |
snapshot_script |
Context snapshot helper script | ~/.pilot/context-snapshot.sh |
publish_script |
Event publish helper script | ~/.pilot/pilot-publish.sh |
inbox_path |
Directory for incoming messages/snapshots | ~/.pilot/inbox/ |
received_path |
Directory for received files | ~/.pilot/received/ |
agent_hostname |
This agent's hostname on the Pilot network | keke-agent |
First-time Setup
- Install Pilot Protocol securely: We strongly recommend building from source to eliminate supply-chain risk. Clone
https://github.com/TeoSlayer/pilotprotocol, audit the source, compile viago build, and place the binary at~/.pilot/bin/pilotctl. - Secure your directories:
chmod 700 ~/.pilot - Start the daemon:
~/.pilot/start-local.sh - Verify:
~/.pilot/bin/pilotctl --json daemon status
Global Rules
- All
pilotctlcommands use the full path:~/.pilot/bin/pilotctl - Always append the
--jsonflag for structured output - Check the returned
statusfield:ok= success,error= failure - On failure, read the
hintfield for remediation guidance
⚠️ Single-Node Mode (Current State)
Currently running with only one node (keke-agent). Cannot send network messages to self (publish/send-message will return connection_failed).
Single-Node Workarounds
| Operation | Multi-node Command | Single-node Alternative |
|---|---|---|
| Publish event | pilotctl publish keke-agent topic --data ... |
~/.pilot/pilot-publish.sh topic '{"key":"val"}' |
| Send to inbox | pilotctl send-message keke-agent --data ... |
Write file directly to ~/.pilot/inbox/ |
| Context snapshot | pilotctl send-message ... |
~/.pilot/context-snapshot.sh |
| Read inbox | pilotctl inbox → read ~/.pilot/inbox/ |
Same (read directory directly) |
| Check status | pilotctl info |
✅ Works normally |
| Set ta |
Установить Agent Swarm Network в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Agent Swarm Network?
Agent communication protocol skill. Provides: inter-agent messaging, context snapshot/restore, event-driven collaboration, model dispatch notifications, sub-agent management, task routing, file transfer, and network diagnostics. Invoke this Skill when cross-session context persistence, multi-agent coordination, or context overflow handling is needed. Built on top of Pilot Protocol (https://github.com/TeoSlayer/pilotprotocol).
Как установить скилл Agent Swarm Network?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Agent Swarm Network запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic