Skip to content
Config
AGH RuntimeConfig

agh config set

Set one config value through the validated config writer

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

agh config set

Set one config value through the validated config writer

agh config set <path> <value> [flags]

Options

  -h, --help               help for set
      --scope string       Write scope: global or workspace (default "global")
      --workspace string   Workspace root for workspace-scoped writes

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 config set <path> <value> -o json

On this page