Skip to main content
Get Started

Bailian CLI

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 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.
The CLI itself is free and open source; you are billed by actual usage of each model and application service, and new users get a free quota. Source and full docs are on the GitHub repository.

Capabilities

CLI commands are organized by product line: model services, per-product capabilities, and the remaining general commands.
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

Resources