CLI Reference
Complete reference for SwiftClaw CLI commands
CLI Reference
Complete reference for all SwiftClaw CLI commands.
Installation
npm install -g swiftclaw-cliAuthentication
login
Authenticate with SwiftClaw:
swiftclaw loginlogout
Log out from SwiftClaw:
swiftclaw logoutwhoami
Display current user:
swiftclaw whoamiAgent Management
agents create
Create a new agent:
swiftclaw agents create <name> [options]
Options:
--model <model> AI model (default: gpt-4)
--memory <type> Memory type (persistent|ephemeral)
--workspace <path> Workspace directoryagents list
List all agents:
swiftclaw agents list [options]
Options:
--json Output as JSON
--bindings Show channel bindingsagents delete
Delete an agent:
swiftclaw agents delete <name>Deployment
deploy
Deploy an agent:
swiftclaw deploy [agent] [options]
Options:
--version <version> Deploy specific version
--env <environment> Target environmentrollback
Rollback to previous version:
swiftclaw rollback <agent> [options]
Options:
--version <version> Rollback to specific versionMonitoring
logs
View agent logs:
swiftclaw logs <agent> [options]
Options:
--follow, -f Follow log output
--tail <n> Show last n lines
--since <time> Show logs since timestatus
Check agent status:
swiftclaw status <agent>Development
dev
Run agent locally:
swiftclaw dev [options]
Options:
--port <port> Local port (default: 8000)
--reload Auto-reload on changesinit
Initialize new project:
swiftclaw init <name> [options]
Options:
--template <template> Project template
--language <lang> Python or Node.jsChannel Management
channels add
Add channel binding:
swiftclaw channels add <channel> [options]
Options:
--agent <agent> Agent name
--config <path> Channel config filechannels list
List channel bindings:
swiftclaw channels list [agent]Configuration
config get
Get configuration value:
swiftclaw config get <key>config set
Set configuration value:
swiftclaw config set <key> <value>Use swiftclaw <command> --help for detailed command help.
How is this guide ?
Last updated on