Cli referenceDesktop
agh desktop create
Create a persistent virtual desktop
- Audience
- Operators running durable agent work
- Focus
- Desktop guidance shaped for scanability, day-two clarity, and operator context.
agh desktop create
Create a persistent virtual desktop
agh desktop create [flags]Options
--actor-id string Optional actor identifier
--after string Insert after this desktop ID
--client string Connected presentation client ID
--focus-owner string Window that owns a focus desktop
-h, --help help for create
--id string Stable desktop ID; generated when omitted
--name string Desktop name
--origin string Command origin label (default "cli")
--purpose string Desktop purpose: standard or focus (default "standard")
--revision uint Expected workspace revision
--workspace string Workspace IDOptions 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:
humanfor interactive terminal usejsonfor scripts and other machine-readable consumersjsonlfor wait or streaming commands that emit one JSON record per linetoonfor compact agent-readable summaries
Example:
agh desktop create -o json