Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

5.2 KB
Raw Blame
.\" Code generated by `npm run man:generate`; DO NOT EDIT.
.\" Manual command details come from the Commander command tree.
.TH LH 1 "" "@lobehub/cli 0.0.78" "User Commands"
.SH NAME
lh \- LobeHub CLI \- manage and connect to LobeHub services
.SH SYNOPSIS
.B lh
[\fIOPTION\fR]...
[\fICOMMAND\fR]
.br
.B lobe
[\fIOPTION\fR]...
[\fICOMMAND\fR]
.br
.B lobehub
[\fIOPTION\fR]...
[\fICOMMAND\fR]
.SH DESCRIPTION
lh is the command\-line interface for LobeHub. It provides authentication, device gateway connectivity, content generation, resource search, and management commands for agents, files, models, providers, plugins, knowledge bases, threads, topics, and related resources.
.PP
For command-specific manuals, use the built-in manual command:
.PP
.RS
.B lh man
[\fICOMMAND\fR]...
.RE
.SH COMMANDS
.TP
.B tool\-worker
Internal command for isolated tool execution
.TP
.B login
Log in to LobeHub via browser (Device Code Flow) or configure API key server
.TP
.B logout
Log out and remove stored credentials
.TP
.B completion
Output shell completion script
.TP
.B man
Show a manual page for the CLI or a subcommand
.TP
.B connect
Connect to the device gateway and listen for tool calls
.TP
.B disconnect
Disconnect from the device gateway (alias for `connect stop`)
.TP
.B device
Manage connected devices
.TP
.B status
Check if gateway connection can be established
.TP
.B doctor
Diagnose this machine: runtime, endpoints, credentials, scope, device and agent readiness
.TP
.B doc
Manage documents
.TP
.B search
Search across local resources or the web
.TP
.B read
Read a LobeHub link as plain text via the API (e.g. a shared topic: https://lobehub.com/share/t/<id>), bypassing the Cloudflare\-protected web page
.TP
.B recall
Recall what happened around a topic: matching messages, conversations, goals and pages in one time window
.TP
.B kb
Manage knowledge bases, folders, documents, and files
.TP
.B meeting
Read recorded meetings
.TP
.B memory
Manage user memories
.TP
.B agent
Manage agents
.TP
.B agent\-group
Manage agent groups
.TP
.B agent\-signal
Inspect and trigger Agent Signal source events
.TP
.B bot
Manage bot integrations
.TP
.B channel
Read the current Agent run’s Channel conversation, and message Agents in other Channels
.TP
.B generate
Generate content (text, image, video, speech) Alias: gen.
.TP
.B goal
Run long\-horizon Goal Graphs
.TP
.B file
Manage files
.TP
.B artifact
Publish local pages as artifacts
.TP
.B hetero
Run heterogeneous agent CLIs (Amp / Claude Code / CodeBuddy / Codex / GitHub Copilot / Cursor / Factory Droid / Devin / Grok Build / Kimi Code / OpenCode / Pi / Qoder / TRAE CLI / DeepSeek Harness) and stream their output
.TP
.B skill
Manage agent skills
.TP
.B session\-group
Manage agent session groups
.TP
.B task
Manage agent tasks
.TP
.B thread
Manage message threads
.TP
.B topic
Manage conversation topics
.TP
.B trace
Inspect and replay recorded agent execution traces
.TP
.B message
Manage messages
.TP
.B model
Manage AI models
.TP
.B notify
Send a callback message to a topic and trigger the agent to process it
.TP
.B notification
Manage notification delivery settings (email, IM, inbox, push)
.TP
.B provider
Manage AI providers
.TP
.B project
Manage goal\-oriented projects
.TP
.B dashboard
Manage dashboards (boards of monitoring widgets)
.TP
.B widget
Build monitoring widgets: sandboxed scripts rendered as dashboard cards
.TP
.B legacy\-plugin
Manage legacy 1.0 plugins (user_installed_plugins) Alias: plugin.
.TP
.B connector
Manage MCP connectors (user connectors and their synced tools) Alias: mcp.
.TP
.B webhook
Manage custom webhooks: URLs any system calls to wake an agent (MCP Events subscriptions are under lh automation) Alias: webhooks.
.TP
.B automation
Manage automations: MCP Events subscriptions that run an agent on a connector event (an agent creates them in a conversation) Alias: automations.
.TP
.B workspace
Manage workspaces and the workspace scope commands run under Alias: ws.
.TP
.B user
Manage user account and settings
.TP
.B acceptance
Delivery acceptances: the cross\-round review loop (checks, feedback, decision)
.TP
.B whoami
Display current user information
.TP
.B usage
View usage statistics
.TP
.B eval
Manage evaluation workflows
.TP
.B migrate
Migrate data from external tools (OpenClaw, ChatGPT, Claude, etc.)
.TP
.B update
Update the LobeHub CLI to the latest published version
.SH OPTIONS
.TP
.B \-V, \-\-version
output the version number
.TP
.B \-h, \-\-help
display help for command
.SH FILES
.TP
.I ~/.lobehub/credentials.json
Encrypted access and refresh tokens.
.TP
.I ~/.lobehub/settings.json
CLI settings such as server and gateway URLs.
.TP
.I ~/.lobehub/daemon.pid
Background daemon PID file.
.TP
.I ~/.lobehub/daemon.status
Background daemon status metadata.
.TP
.I ~/.lobehub/daemon.log
Background daemon log output.
.PP
The base directory can be overridden with the
.B LOBEHUB_CLI_HOME
environment variable.
.SH EXAMPLES
.TP
.B lh login
Start interactive login in the browser.
.TP
.B lh connect \-\-daemon
Start the device gateway connection in the background.
.TP
.B lh search \-q "gpt\-5"
Search local resources for a query.
.TP
.B lh generate text "Write release notes"
Generate text from a prompt.
.TP
.B lh man generate
Show the built\-in manual for the generate command group.
.SH SEE ALSO
.BR lobe (1),
.BR lobehub (1)