Platform
CLI reference

ccp agent

View as Markdown

Manage AI agents

Usage: ccp agent [OPTIONS] <COMMAND>
ArgumentType or valuesDefaultParser environment variableDescription
--help, -hflag——Print help

ccp agent list

List agents in an organization

Usage: ccp agent list [OPTIONS]

Aliases: ls.

ArgumentType or valuesDefaultParser environment variableDescription
--jsonflagfalse—Emit structured JSON on stdout
--org-idtext——Organization ID (defaults to CCP_ORG_ID or the picker)
--help, -hflag——Print help

ccp agent get

Show an agent's full definition

Usage: ccp agent get [OPTIONS] <AGENT_ID>
ArgumentType or valuesDefaultParser environment variableDescription
--jsonflagfalse—Emit structured JSON on stdout
agent_idtext——Agent ID
--versioninteger——Show a specific historical version
--help, -hflag——Print help

ccp agent versions

List every persisted version of an agent

Usage: ccp agent versions [OPTIONS] <AGENT_ID>
ArgumentType or valuesDefaultParser environment variableDescription
--jsonflagfalse—Emit structured JSON on stdout
agent_idtext——Agent ID
--help, -hflag——Print help

ccp agent delete

Permanently delete an agent and all of its versions and runtime history

Usage: ccp agent delete [OPTIONS] <AGENT_ID>

Aliases: rm.

ArgumentType or valuesDefaultParser environment variableDescription
agent_idtext——Agent ID
--yes, -yflagfalse—Skip the interactive confirmation
--help, -hflag——Print help

Example

ccp agent list

Global options

Set CCP_CONTEXT to choose a named context. An explicit --context takes precedence. See organization selection for organization defaults.

ArgumentType or valuesDefaultParser environment variableDescription
--contexttext——Select a developer context from ~/.ccp/config.toml

On this page