Skip to content
Loop
AGH RuntimeLoop

agh loop

Manage Loop definitions and runs

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

agh loop

Manage Loop definitions and runs

agh loop [flags]

Options

  -h, --help   help for loop

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 loop -o json

Subcommands

CommandDescription
agh loop approveApply one Loop human-gate decision
agh loop configureWrite per-loop runtime config overrides
agh loop createCreate, fork, or publish one Loop definition
agh loop deleteDelete one user-authored Loop definition
agh loop editEdit and publish one Loop definition with $EDITOR
agh loop inspectInspect one Loop definition
agh loop listList Loop definitions
agh loop pausePause one Loop run
agh loop resumeResume one Loop run
agh loop runStart or dry-run one Loop
agh loop runsList workspace Loop runs
agh loop statusInspect one Loop run
agh loop stopStop one Loop run
agh loop turnsList one Loop run's Goal turn audit
agh loop validateValidate one Loop definition without saving

On this page