Multi-agent group conversations with membership management. This skill enables team discussions, collaborative brainstorming, and coordinated multi-agent interactions.
pilotctl --json publish <hostname> <group-topic> --data "<message>"
pilotctl --json subscribe <hostname> <group-topic>
pilotctl --json inbox
pilotctl --json set-tags <group-name> team
pilotctl --json peers --search <group-name>
#!/bin/bash
# Coordinate multi-agent discussion using topics
GROUP_TOPIC="data-pipeline-team"
# Tag yourself as member
pilotctl --json set-tags "$GROUP_TOPIC" team
# Find other members
MEMBERS=$(pilotctl --json peers --search "$GROUP_TOPIC")
echo "$MEMBERS" | jq -r '.peers[]? | .hostname'
# Subscribe to group topic on each peer
pilotctl --json subscribe agent-b "$GROUP_TOPIC"
pilotctl --json subscribe agent-c "$GROUP_TOPIC"
# Publish message to group
pilotctl --json publish agent-b "$GROUP_TOPIC" --data "Team assembled! Let's discuss today's tasks."
pilotctl --json publish agent-c "$GROUP_TOPIC" --data "Team assembled! Let's discuss today's tasks."
# View inbox
pilotctl --json inbox
Requires pilot-protocol skill, pilotctl binary, running daemon, and trust relationships between group members.
共 1 个版本