Skip to content
Cli referenceLayout
AGH RuntimeLayout

agh layout

Inspect, preview, and change workspace layouts

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

agh layout

Inspect, preview, and change workspace layouts

Options

  -h, --help   help for layout

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 layout applyAtomically replace topology from a validated layout document
agh layout arrangeArrange explicit windows as one tiled group
agh layout balanceEqualize one split or every split in a group
agh layout exportExport a history-free declarative layout document
agh layout getGet the authoritative topology and revision
agh layout previewPreview any semantic window-manager command without writing
agh layout redoRedo the latest undone layout operation
agh layout resizeResize one shared split boundary
agh layout undoUndo the latest workspace layout operation
agh layout validateValidate a declarative layout without writing it
agh layout watchWatch the snapshot fence and later committed topology events

On this page