Skip to main content

Agents CLI

Manage agents

These commands connect to a running CodeBolt server. All subcommands inherit the global codebolt command options --port <number>, --host <string>, and --json.

Subcommands​

SubcommandDescriptionArgsOptions
listList installed agents00
runningList currently running agents00
localList locally installed agents00
featuredList featured agents from the registry00
recommendedList recommended agents00
configGet agent config by name10
startStart an agent02
stopStop a running agent01

list​

List installed agents

codebolt command agents list

Arguments​

This command takes no positional arguments.

Options​

This command takes no options.

running​

List currently running agents

codebolt command agents running

Arguments​

This command takes no positional arguments.

Options​

This command takes no options.

local​

List locally installed agents

codebolt command agents local

Arguments​

This command takes no positional arguments.

Options​

This command takes no options.

List featured agents from the registry

codebolt command agents featured

Arguments​

This command takes no positional arguments.

Options​

This command takes no options.

List recommended agents

codebolt command agents recommended

Arguments​

This command takes no positional arguments.

Options​

This command takes no options.

config​

Get agent config by name

codebolt command agents config <name>

Arguments​

ArgumentDescription
<name>Agent name

Options​

This command takes no options.

start​

Start an agent

codebolt command agents start [options]

Arguments​

This command takes no positional arguments.

Options​

FlagsRequiredDescription
--id <agentId>YesAgent ID
--name <name>NoAgent name

stop​

Stop a running agent

codebolt command agents stop [options]

Arguments​

This command takes no positional arguments.

Options​

FlagsRequiredDescription
--id <agentId>YesAgent ID