Skip to content
Hooks
AGH RuntimeHooks

agh hooks

Inspect configured and executed hooks

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

agh hooks

Inspect configured and executed hooks

Options

  -h, --help   help for hooks

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

Subcommands

CommandDescription
agh hooks eventsList supported hook events
agh hooks infoShow detailed information for one or more hooks by name
agh hooks listList resolved hooks in pipeline order
agh hooks runsShow persisted hook execution history

On this page