II.
InteractionPrimitive overview
Reference · liveinteraction-primitive:adapters-cli-agent-add
adapters agent add overview
Copy a sub-agent file or folder into a harness's agents directory. Source: packages/adapters/cli/src/commands/agent.ts:153-183.
Attributes
displayName
adapters agent add
kind
cli-subcommand
surface
cli
parentBin
adapters
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/adapters/cli/src/commands/agent.ts:153-183.
Outgoing edges
None.
Incoming edges
exposes_subcommand1
- package:a5c-ai-adapters-cli·PackageSurfaceAdapters CLI
supports_interaction_primitive1
- agent-ui-impl:adapters.ui@current·AgentUIImpladapters UI (current) — multi-surface