CLI Reference
The luluclaw CLI lets you manage your AI assistants entirely from the terminal. Install it with npm and you are ready to go.
Installation
Requires Node.js 18 or later.
npm install -g luluclawOr run without installing:
npx luluclaw helpAuthentication
Interactive login
Run luluclaw login to authenticate interactively. Your session is stored at ~/.luluclaw/config.json with 0600 file permissions and auto-refreshes silently.
CI/CD and automation
For non-interactive environments, use environment variables or flags:
# Environment variables
export LULUCLAW_TOKEN="your-session-token"
export LULUCLAW_TENANT="your-tenant-id"
export LULUCLAW_AGENT="your-agent-id"
luluclaw deploy
# Or inline flags
luluclaw deploy --token "..." --tenant "..." --agent "..."Auth
luluclaw signupalias: register
Opens luluclaw.com/sign-up in your browser.
luluclaw signupluluclaw loginalias: auth
Interactive sign-in. Prompts for email, tenant ID, and password.
luluclaw loginSetup
luluclaw setupalias: onboard
Guided wizard to create and deploy a new bot. Walks through channel selection, model choice, and deployment.
luluclaw setupluluclaw agentsalias: bots, list
List all agents in your workspace with their status. If you have multiple agents, select which one to use as the default.
luluclaw agentsOperations
luluclaw start
Start your active bot.
luluclaw startluluclaw stop
Stop your active bot.
luluclaw stopluluclaw restart
Restart your active bot. Use after deploying workspace changes.
luluclaw restartluluclaw statusalias: whoami
Show workspace and session status including plan, agent, and connection info.
luluclaw statusluluclaw logsalias: log
Tail your bot's runtime logs.
luluclaw logs # last 80 lines
luluclaw logs --lines 200 # last 200 lines
luluclaw logs --stderr # stderr streamDevelopment
luluclaw deployalias: push
Push local .md files to your bot's workspace. Reads all markdown files from the current directory (or a specified path) and uploads them.
luluclaw deploy # push .md files from current directory
luluclaw deploy ./docs # push from a specific directoryluluclaw chat
Interactive terminal chat with your bot. Messages stream in real-time via SSE.
luluclaw chat
# Type messages, press Enter to send
# /quit to exitluluclaw config
View or edit your bot's customization (system prompt).
luluclaw config # show current config
luluclaw config show # same as above
luluclaw config set-prompt # open editor to write new system promptluluclaw exportalias: download
Download your bot's entire workspace as a ZIP file.
luluclaw export # saves as agent-workspace.zip
luluclaw export -o my-backup.zip # custom filenameUtility
luluclaw upgradealias: update
Check for and install the latest version of the CLI from npm.
luluclaw upgradeluluclaw help
Show the help screen with all available commands.
luluclaw helpConfiguration
The CLI stores its state at ~/.luluclaw/config.json. This file has 0600 permissions (owner read/write only) and contains your session token, tenant ID, active agent ID, and credentials for silent token refresh.
You can safely delete this file to reset all CLI state. Run luluclaw login to re-authenticate.