Skip to main content
Capabilities

Managed Agent

Bailian CLI command reference for managing the Agent lifecycle, sessions, and state as infrastructure-as-code.

Manage Managed Agents from the terminal as infrastructure-as-code: define and deploy the Agent lifecycle, run and manage sessions, maintain state, and inspect the skill catalog.
Managed Agent capabilities are currently available only to China site (aliyun.com) accounts.
Append --help to any command for full parameter details, e.g. bl managed-agent apply --help.
See the Managed Agent docs for feature-page usage.
CapabilityCommandNotes
Lifecyclebl managed-agent init / validate / plan / apply / destroyManage the Agent lifecycle as infrastructure-as-code
Agent sessionsbl managed-agent session run / send / create / get / list / events / deleteManage Agent sessions
Agent statebl managed-agent state list / show / import / rmManage Agent state
Agent skillsbl managed-agent skill-listList skills in the skill catalog
bl managed-agent session run --prompt "Analyze the Q3 sales trend in sales.csv"