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.
Source: packages/agent-mux/cli/src/commands/agent.ts:153-183.