iiRecord
Agentic AI Atlas · amux hooks <agent> add
interaction-primitive:agent-mux-cli-hooks-adda5c.ai
II.
InteractionPrimitive JSON

interaction-primitive:agent-mux-cli-hooks-add

Structured · live

amux hooks <agent> add json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · extensions/interaction-patterns/agent-mux-cli-hooks-gateway-help.yamlCluster · extensions
Record JSON
{
  "id": "interaction-primitive:agent-mux-cli-hooks-add",
  "_kind": "InteractionPrimitive",
  "_file": "extensions/interaction-patterns/agent-mux-cli-hooks-gateway-help.yaml",
  "_cluster": "extensions",
  "attributes": {
    "displayName": "amux hooks <agent> add",
    "kind": "cli-subcommand",
    "surface": "cli",
    "parentBin": "amux",
    "subcommandVerb": "hooks add",
    "flags": [
      "--handler:1:builtin|command|script (default builtin)",
      "--target:1:hook target (default log)",
      "--id:1:explicit hook id",
      "--priority:1:sort order (lower = earlier; default 100)",
      "--global:0:write to global scope (default project)"
    ],
    "subcommandExitCodes": [
      "0:success:hook added",
      "2:usage-error:missing hookType"
    ],
    "description": "Register a hook entry (project or global) for an agent. Source:\npackages/agent-mux/cli/src/commands/hooks.ts:131-162.\n"
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "agent-ui-impl:agent-mux.ui@current",
      "to": "interaction-primitive:agent-mux-cli-hooks-add",
      "kind": "supports_interaction_primitive",
      "attributes": {
        "attributes": {
          "mechanism": "cli-subcommand"
        }
      }
    },
    {
      "from": "package:a5c-ai-agent-mux-cli",
      "to": "interaction-primitive:agent-mux-cli-hooks-add",
      "kind": "exposes_subcommand",
      "attributes": {}
    }
  ]
}