CLI reference
ccp agent
Manage AI agents
Usage: ccp agent [OPTIONS] <COMMAND>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --help, -h | flag | — | — | Print help |
ccp agent list
List agents in an organization
Usage: ccp agent list [OPTIONS]Aliases: ls.
| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --json | flag | false | — | Emit structured JSON on stdout |
| --org-id | text | — | — | Organization ID (defaults to CCP_ORG_ID or the picker) |
| --help, -h | flag | — | — | Print help |
ccp agent get
Show an agent's full definition
Usage: ccp agent get [OPTIONS] <AGENT_ID>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --json | flag | false | — | Emit structured JSON on stdout |
| agent_id | text | — | — | Agent ID |
| --version | integer | — | — | Show a specific historical version |
| --help, -h | flag | — | — | Print help |
ccp agent versions
List every persisted version of an agent
Usage: ccp agent versions [OPTIONS] <AGENT_ID>| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --json | flag | false | — | Emit structured JSON on stdout |
| agent_id | text | — | — | Agent ID |
| --help, -h | flag | — | — | 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.
| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| agent_id | text | — | — | Agent ID |
| --yes, -y | flag | false | — | Skip the interactive confirmation |
| --help, -h | flag | — | — | Print help |
Example
ccp agent listGlobal options
Set CCP_CONTEXT to choose a named context. An explicit --context takes precedence. See organization selection for organization defaults.
| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --context | text | — | — | Select a developer context from ~/.ccp/config.toml |