LobeHub
LobeHub
LobeHub CLI

LobeHub CLI

Install @lobehub/cli, run lh, and use LobeHub from any terminal.

Package @lobehub/cli · CLI binary lh

npm i -g @lobehub/cli

Power of LobeHub, in your terminal

Manage agents, generations, files, and model providers from the terminal — install @lobehub/cli, then use the lh command.
lh agent

Agent

Run agents from the shell: create, edit, pin, knowledge bases — the Rich command set angle for day-to-day workflows.

lh gen

Generate

Text, image, video, TTS, and ASR from one command family — outputs you can drive from CI or quick local runs.

lh file

File

Upload, list, and wire files into agents without a browser — developer-first file ops you can script and pipe.

lh provider

Provider

List, configure, test, and toggle model providers — repeatable infra-style control from the terminal.

Ready for agent use

Expose LobeHub as a tool other agents can call. Standard input and output, predictable exit codes, no UI required — just plug it into the orchestration of your choice.
Ready for agent use