Task
agh task create
Create a task
- Audience
- Operators running durable agent work
- Focus
- Task guidance shaped for scanability, day-two clarity, and operator context.
agh task create
Create a task
agh task create [flags]Options
--as-agent Create using the current AGH-managed agent session identity
--auto-enqueue-on-ready Auto-enqueue the run once blocking dependencies complete
--channel string Optional network channel binding
--description string Task description
-h, --help help for create
--id string Explicit task ID
--identifier string Human-friendly task identifier
--metadata string Optional metadata JSON
--owner-kind string Optional owner kind
--owner-ref string Optional owner reference
--priority string Task priority: low, medium, high, or urgent
--scope string Task scope: global or workspace
--title string Task title
--workspace string Workspace path, name, or ID (required when --scope=workspace)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:
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 task create -o json