A command-line tool built for AI Agents — invoke Alibaba Cloud Bailian's full-modal AI capabilities from your terminal with a single instruction.
Bailian CLI (npm package
CLI commands are organized by product line: model services, per-product capabilities, and the remaining general commands.
bailian-cli, commands bl / bailian) is a command-line tool built for AI Agents. It exposes Alibaba Cloud Bailian's full-modal capabilities as structured tool calls. Once installed and authenticated, a single natural-language instruction lets your Agent orchestrate 10+ atomic capabilities — text chat, image and video generation, speech synthesis and recognition, knowledge retrieval, long-term memory, and more. It is compatible with mainstream Agent frameworks such as Claude Code, Qwen Code, OpenCode, Cursor, and Codex.
Capabilities
CLI commands are organized by product line: model services, per-product capabilities, and the remaining general commands.
Model Services
Full-modal model calls: text chat, image, video, speech, and vision understanding.
Managed Agent
Manage the Agent lifecycle, sessions, and state as infrastructure-as-code.
Flow Agent
List and invoke published agent apps and workflows.
RAG
Knowledge-base semantic search and RAG Q&A.
Memory
Manage long-term memory and user profiles.
MCP & Skill
Orchestrate MCP services and manage the skill registry.
Other Commands
Web search, fine-tuning and deployment, datasets, usage and quota, config and tools.
Product capabilities (Managed Agent, Flow Agent, RAG, Memory, MCP & Skill), web search, and Token Plan are currently available only to China site (aliyun.com) accounts and are not yet supported for international / global site accounts.
Start here
Installation & Auth
Install the CLI and Skills, configure authentication, and verify.
Quickstart
Onboard in 3 steps and send your Agent its first request.
Changelog
Version changes and newly added capabilities.
Resources
- Playground: try capabilities in the console without installing
- GitHub repository: source, issues, and full documentation