Skip to main content
Getting Started

Use the CLI

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

The Bailian CLI lists and invokes agents and workflows published on Bailian directly from the terminal.
App-call CLI capabilities are currently available only to China site (aliyun.com) accounts.

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.