Skip to main content

CLI Reference

Clawrium provides the clawctl command-line interface for managing your AI agent fleet.

Installation​

uv tool install clawrium

Or run without installing:

uvx --from clawrium clawctl --help

Command Structure​

clawctl <command> [options]
clawctl <group> <command> [options]

Root Commands​

CommandDescription
clawctl service initInitialize Clawrium and check dependencies
clawctl agent describeShow fleet status across all hosts
clawctl agent createInstall an agent on a host

Command Groups​

GroupDescription
clawctl applyDeclarative fleet reconciliation via manifest
clawctl hostManage hosts in your fleet
clawctl agentManage agent lifecycle (create, configure, start, chat, doctor)
clawctl agent registryBrowse available agent types
clawctl agent secretManage secrets for agent instances

clawctl service init​

Initialize Clawrium configuration directory and check dependencies.

clawctl service init

Creates the configuration directory at ~/.config/clawrium/ (or $XDG_CONFIG_HOME/clawrium/ if set) and verifies that all required dependencies are available.

Example​

$ clawctl service init
Clawrium initialized!
Config directory: /home/user/.config/clawrium

┏━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Dependency ┃ Status ┃ Version/Path ┃ Action Required ┃
┡━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ ansible │ OK │ 2.15.0 │ - │
│ ssh │ OK │ /usr/bin/ssh │ - │
│ python │ OK │ 3.11.0 │ - │
└───────────────┴─────────┴────────────────┴──────────────────────────┘

Exit Codes​

CodeMeaning
0All dependencies found
1One or more dependencies missing

clawctl agent describe​

Show fleet status across all hosts.

clawctl agent describe [--host HOST]

Displays agent instances grouped by agent type with live health checks. Shows name, version, host, and status for each installed agent.

Options​

OptionShortDescription
--host-HFilter to specific host (hostname or alias)

Example​

$ clawctl agent describe
zeroclaw
┏━━━━━━━━━━┳━━━━━━━━━┳━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Host ┃ Version ┃ User ┃ Status ┃ Installed ┃
┡━━━━━━━━━━╇━━━━━━━━━╇━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━┩
│ pi-lab │ 0.1.0 │ zc │ running │ 2026-04-01 │
│ nuc-01 │ 0.1.0 │ zc │ degraded │ 2026-03-28 │
└──────────┴─────────┴──────┴──────────┴────────────┘

Filter to a specific host:

$ clawctl agent describe --host pi-lab

Status Values​

StatusMeaning
runningAgent is healthy and operational
degradedAgent is running but missing required secrets
stoppedAgent service is not running
not installedAgent record exists but service not found
install failedInstallation did not complete successfully
installing...Installation in progress

clawctl agent create​

Install an agent on a host.

clawctl agent create [--type AGENT_TYPE] [--host HOST] [--yes]

Without flags, prompts for agent type and host selection interactively. With --type and --host flags, runs directly for scripting.

Options​

OptionShortDescription
--type-tAgent type to install (e.g., zeroclaw)
--host-HTarget host (hostname or alias)
--yes-ySkip confirmation prompt

Interactive Example​

$ clawctl agent create

Available agent types:
1. zeroclaw (v0.1.0) - Zero-config Claude assistant
2. openclaw (v0.2.0) - OpenAI-powered assistant

Select agent type: 1

Available hosts:
1. pi-lab (aarch64, 4.0GB)
2. nuc-01 (x86_64, 16.0GB)

Select host: 1

╭─────────────────────────────────────────╮
│ Installation Summary │
├─────────────────────────────────────────┤
│ Agent Type: zeroclaw │
│ Version: 0.1.0 │
│ Host: pi-lab │
│ Architecture: aarch64 │
│ Memory: 4.0GB │
╰─────────────────────────────────────────╯

Proceed with installation? [y/N]: y

Success! zeroclaw v0.1.0 installed on pi-lab

Non-Interactive Example​

$ clawctl agent create --type zeroclaw --host pi-lab --yes

Exit Codes​

CodeMeaning
0Installation successful
1Installation failed or cancelled