HQ uses Supabase tables as durable queues. Everything the UI tells a gateway to do — and everything agents do in the background — flows through these queues.Documentation Index
Fetch the complete documentation index at: https://docs.yourhq.ai/llms.txt
Use this file to discover all available pages before exploring further.
The two queues
Commands
agent_commands — consumed by the runner. Handles lifecycle and operations: provision, update, remove, provider auth, gateway restart, and pairing approval.Inbox
agent_inbox_items — consumed by agents. Represents background work from task assignments, comment @-mentions, CRM automation rules, and other workspace events.How it flows
FOR UPDATE SKIP LOCKED) so parallel daemons on different gateways never steal each other’s work. See Command lifecycle for the full state machine.