Skip to content
Ch
AGH RuntimeCh

agh ch recv

Receive queued coordination messages for a channel

Audience
Operators running durable agent work
Focus
Ch guidance shaped for scanability, day-two clarity, and operator context.

agh ch recv

Receive queued coordination messages for a channel

agh ch recv <channel> [flags]

Examples

  # Receive currently queued messages
  agh ch recv coord-run-123

  # Wait for messages and stream each record as JSONL
  agh ch recv coord-run-123 --wait --limit 10 -o jsonl

Options

  -h, --help        help for recv
      --limit int   Maximum messages to return
      --wait        Wait until at least one matching message is available

Options inherited from parent commands

      --json            Emit JSON output
  -o, --output string   Output format: human, json, jsonl, or toon (default "human")

Output Formats

Every AGH command supports -o, --output:

  • human for interactive terminal use
  • json for scripts and other machine-readable consumers
  • jsonl for wait or streaming commands that emit one JSON record per line
  • toon for compact agent-readable summaries

Example:

agh ch recv <channel> -o json

On this page