Agent Swarm Network
by @sarahmirrand001-oss
Agent communication protocol skill. Provides: inter-agent messaging, context snapshot/restore, event-driven collaboration, model dispatch notifications, sub-...
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
1. 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 via go build, and place the binary at ~/.pilot/bin/pilotctl.
2. Secure your directories: chmod 700 ~/.pilot
3. Start the daemon: ~/.pilot/start-local.sh
4. Verify: ~/.pilot/bin/pilotctl --json daemon status
| Problem | Diagnostic Command | Solution |
|---------|--------------------|----------|
| Daemon not running | pilotctl daemon status | ~/.pilot/start-local.sh |
| Registry unreachable | pilotctl info (check peers) | Verify rendezvous server is running |
| Messages not sending | pilotctl connections | Check trust state with target |
| Inbox overflowing | pilotctl inbox | pilotctl inbox --clear |
clawhub install agent-swarm-network