Managing elizaOS agents through the CLI - list, configure, start, stop, and update agents
Subcommand | Aliases | Description | Required Options | Additional Options |
---|---|---|---|---|
list | ls | List available agents | -j, --json , -r, --remote-url <url> , -p, --port <port> | |
get | g | Get agent details | -n, --name <name> | -j, --json , -o, --output [file] , -r, --remote-url , -p, --port |
start | s | Start an agent with a character profile | One of: -n, --name , --path , --remote-character | -r, --remote-url <url> , -p, --port <port> |
stop | st | Stop an agent | -n, --name <name> | -r, --remote-url <url> , -p, --port <port> |
remove | rm | Remove an agent | -n, --name <name> | -r, --remote-url <url> , -p, --port <port> |
set | Update agent configuration | -n, --name <name> AND one of: -c, --config OR -f, --file | -r, --remote-url <url> , -p, --port <port> | |
clear-memories | clear | Clear all memories for an agent | -n, --name <name> | -r, --remote-url <url> , -p, --port <port> |
-r, --remote-url <url>
: URL of the remote agent runtime-p, --port <port>
: Port to listen onlist
and get
)-j, --json
: Output as JSON format instead of the default table format.-o, --output [file]
: For the get
command, saves the agent’s configuration to a JSON file. If no filename is provided, defaults to {name}.json
.-n, --name <name>
: Agent id, name, or index number from list (required)-n, --name <name>
: Name of an existing agent to start--path <path>
: Path to local character JSON file--remote-character <url>
: URL to remote character JSON file-n, --name <name>
: Agent id, name, or index number from list (required)-n, --name <name>
: Agent id, name, or index number from list (required)-c, --config <json>
: Agent configuration as JSON string-f, --file <path>
: Path to agent configuration JSON file-n, --name <name>
: Agent id, name, or index number from list (required)