Documentation Index Fetch the complete documentation index at: https://docs.automagik.dev/llms.txt
Use this file to discover all available pages before exploring further.
Messaging Commands
PG-backed messaging commands between agents. Replaces file-based mailbox with PostgreSQL conversations and messages tables.
Messaging at a Glance
Send Messages
Check Inbox
Broadcast & Chat
$ genie send 'Implement the API endpoints from Group 1' --to engineer
Message sent to engineer.
Conversation: DM with engineer
Timestamp: 2026-03-24T14:30:00Z
$ genie send 'Group 1 complete — all criteria met' --to team-lead
Message sent to team-lead.
Conversation: DM with team-lead
Timestamp: 2026-03-24T14:45:00Z
genie send
Send a direct message to a specific agent via PG conversation.
genie send '<message>' [options]
Flag Description Default --to <agent>Recipient agent name team-lead--from <sender>Sender ID (auto-detected from context) — --team <name>Explicit team context for sender/recipient resolution —
$ genie send 'Group 1 complete — all criteria met' --to team-lead
Message sent to team-lead.
Conversation: DM with team-lead
Timestamp: 2026-03-24T14:30:00Z
$ genie send 'Starting wave 2' --to engineer --from reviewer --team auth-rewrite
Message sent to engineer.
Sender Identity Detection
The sender is auto-detected using this cascade:
GENIE_AGENT_NAME env var (explicit override)
TMUX_PANE → agent registry lookup
TMUX_PANE → native team config match
Fallback: cli
genie broadcast
Send a message to the team conversation.
genie broadcast '<message>' [options]
Flag Description --from <sender>Sender ID (auto-detected from context) --team <name>Team name (auto-detected from context)
$ genie broadcast 'Wave 1 complete. Starting Wave 2.'
Broadcast to team "auth-rewrite":
Message: Wave 1 complete. Starting Wave 2.
Recipients: team-lead, engineer, reviewer
$ genie broadcast 'Deploying hotfix' --team auth-rewrite --from team-lead
Broadcast to team "auth-rewrite":
Message: Deploying hotfix
Recipients: engineer, reviewer, fixer
genie inbox
Check agent inbox for recent messages.
genie inbox list
List conversations with recent messages.
genie inbox list [options] [agent]
$ genie inbox list
CONVERSATION LAST MESSAGE TIME
DM: team-lead "Group 2 ready for review" 2m ago
DM: engineer "Starting Group 3 implementation" 5m ago
Team: auth-rewrite "Wave 1 complete. Starting Wave 2." 8m ago
genie inbox watch
Watch for new messages in real-time.
genie chat
Send to a specific conversation, create threads, or list conversations.
Send to conversation
genie chat send < conversationI d> '<message>'
Read messages in a conversation
genie chat read [options] <conversationId>
Create a thread
genie chat thread < message_i d>
List conversations
genie chat list [--team < nam e> ] [--type dm | team | thread]
$ genie chat list --team auth-rewrite
CONVERSATION TYPE MESSAGES LAST ACTIVITY
auth-rewrite team 42 2m ago
DM: team-lead dm 12 5m ago
Thread: #msg-123 thread 3 8m ago