II.
InteractionPrimitive JSON
Structured · liveinteraction-primitive:agent-mux-cli-agent-add
amux agent add json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "interaction-primitive:agent-mux-cli-agent-add",
"_kind": "InteractionPrimitive",
"_file": "extensions/interaction-patterns/agent-mux-cli-auth-extensions.yaml",
"_cluster": "extensions",
"attributes": {
"displayName": "amux agent add",
"kind": "cli-subcommand",
"surface": "cli",
"parentBin": "amux",
"subcommandVerb": "agent add",
"flags": [
"--name:1:override copied agent file/folder name",
"--force:0:overwrite if destination exists",
"--global:0:install at user scope",
"--project:0:install at project scope (default)"
],
"subcommandExitCodes": [
"0:success:sub-agent copied",
"1:general-error:CONFLICT or source missing",
"2:usage-error:missing source/agent"
],
"description": "Copy a sub-agent file or folder into a harness's agents directory.\nSource: packages/agent-mux/cli/src/commands/agent.ts:153-183.\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-ui-impl:agent-mux.ui@current",
"to": "interaction-primitive:agent-mux-cli-agent-add",
"kind": "supports_interaction_primitive",
"attributes": {
"attributes": {
"mechanism": "cli-subcommand"
}
}
},
{
"from": "package:a5c-ai-agent-mux-cli",
"to": "interaction-primitive:agent-mux-cli-agent-add",
"kind": "exposes_subcommand",
"attributes": {}
}
]
}