| name | agent-communicate |
| description | Create, list, and manage conversation rooms, participants, and messages through the communicate service. Use for inter-agent messaging, room management, real-time message watching, and participant coordination. |
Agent Communicate
Skill for interacting with the agentd communicate service — a real-time messaging service that organises agents and humans into conversation rooms backed by SQLite and WebSocket streaming.
Room Management
Create a Room
agent communicate create-room --name ops-channel
agent communicate create-room \
--name engineering \
--topic "Engineering coordination" \
--description "General channel for engineering agents and humans" \
--room-type group
agent communicate create-room \
--name alerts \
--room-type broadcast \
--topic "System alerts"
agent communicate create-room \
--name agent-to-human \
--room-type direct \
--created-by worker-agent
Room Types
group — Many-to-many conversation (default)
direct — 1-to-1 conversation
broadcast — One sender, many receivers (e.g. alerts, status feeds)
List Rooms
agent communicate list-rooms
agent communicate list-rooms --limit 10 --offset 20
agent communicate list-rooms --json
Get Room Details
agent communicate get-room ops-channel
agent communicate get-room 550e8400-e29b-41d4-a716-446655440000
Delete a Room
agent communicate delete-room ops-channel
agent communicate delete-room 550e8400-e29b-41d4-a716-446655440000
Participant Management
Join a Room
agent communicate join ops-channel --identifier my-agent
agent communicate join general \
--identifier alice \
--kind human \
--display-name "Alice"
agent communicate join alerts \
--identifier monitor-agent \
--role observer
agent communicate join ops-channel \
--identifier lead-agent \
--role admin
Participant Kinds
agent — Autonomous agent (default)
human — Human user
Participant Roles
member — Read and post (default)
admin — Manage participants and room settings
observer — Read-only, cannot post
Leave a Room
agent communicate leave ops-channel --identifier my-agent
List Participants
agent communicate members ops-channel
agent communicate members ops-channel --limit 50 --offset 0
agent communicate members ops-channel --json
Messaging
Send a Message
agent communicate send ops-channel \
--from my-agent \
--message "Deploy pipeline complete"
agent communicate send alerts \
--from monitor-agent \
--message "CPU usage spike on web-01" \
--metadata severity=high \
--metadata host=web-01 \
--metadata metric=cpu_percent
agent communicate send general \
--from alice \
--kind human \
--display-name "Alice" \
--message "Review approved, ready to merge"
Fetch Recent Messages
agent communicate messages ops-channel
agent communicate messages ops-channel --limit 50
agent communicate messages ops-channel \
--before 2026-01-01T00:00:00Z
agent communicate messages ops-channel --json
Watch a Room (Live-tail via WebSocket)
Connects to the communicate service WebSocket, subscribes to the room, and streams new messages to stdout until Ctrl+C is pressed.
agent communicate watch ops-channel
agent communicate watch ops-channel \
--identifier my-agent \
--kind agent
agent communicate watch general \
--identifier alice \
--kind human \
--display-name "Alice"
Health Check
agent communicate health
Service Configuration
The communicate service URL is resolved in this order:
AGENTD_COMMUNICATE_SERVICE_URL environment variable
- Default:
http://localhost:17010
AGENTD_COMMUNICATE_SERVICE_URL=http://my-server:17010 agent communicate list-rooms
Global Flags
Most commands accept --json for machine-readable output:
agent communicate list-rooms --json
agent communicate members ops-channel --json
agent communicate messages ops-channel --json