Skip to main content

Use the CLI

List and invoke published agent and workflow apps from the terminal with the Bailian CLI.

This topic covers common commands and examples for invoking applications. For CLI installation and configuration, see Bailian CLI.

Commands

CapabilityCommandNotesCommon options
App listbl app listBrowse Bailian apps—
App callsbl app callInvoke agents and workflows published on Bailian--app-id app ID, --prompt input

Example

bl app list                                              # Browse published apps
bl app call --app-id <app-id> --prompt "Draft an outline for this week's ops report"
Append --help to any command for full parameter details. See the Flow Agent command reference for more commands.