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.
See the Managed Agent docs for feature-page usage.
Managed Agent capabilities are currently available only to China site (aliyun.com) accounts.
| Capability | Command | Notes |
|---|---|---|
| Lifecycle | bl managed-agent init / validate / plan / apply / destroy | Manage the Agent lifecycle as infrastructure-as-code |
| Agent sessions | bl managed-agent session run / send / create / get / list / events / delete | Manage Agent sessions |
| Agent state | bl managed-agent state list / show / import / rm | Manage Agent state |
| Agent skills | bl managed-agent skill-list | List skills in the skill catalog |