Changelog
Version history of the Bailian CLI
2.10.0 | 2026-11-13
- Added
bl flow-agentcommand group to manage Bailian applications through the console gateway.bl flow-agent create/get/update/publish/delete/copy/versionsmanage agents and workflows;deleteis a high-risk operation requiring--yes.bl flow-agent workflow get/save/publish/exportmanage the workflow canvas;savereplaces the entire draft with optimistic locking, andpublishnormalizes triggers following the console editor logic. - Agent configuration updates read the current draft first, then merge
--model/--instructions/--config-json/--config-file. bl flow-agent list --type workflowlists workflows using the console exclusion filter.bl app call/bl app listare deprecated; usebl flow-agent call/bl flow-agent listinstead. These commands will be removed in a future release.
2.9.0 | 2026-11-12
- Added application control-plane commands to manage Bailian applications through the console gateway.
bl app create/get/update/publish/delete/copy/versionsmanage agents and workflows;deleteis a high-risk operation requiring--yes.bl app workflow get/save/publish/exportmanage the workflow canvas. - Added
bl app list --type workflowto list workflows using the console exclusion filter. bl omnidefault model changed toqwen3.8-omni-flash(wasqwen3.5-omni-plus).- Fix free-quota model operations with tighter confirmation gates and error handling; restore operations remain behind the confirmation gate.
- Fix API key fallback to preserve explicit
--configprofile configuration and append--confighints for named profiles.
2.8.6 | 2026-11-12
- Added
bl dataset groupswith paging and name filtering; addedbl dataset versionto list versions by--dataset-group-idor get a single version by--dataset-id, with optional--include-statusfor status details. - Added
bl file url --file-keyto resolve a Console business file key to a download URL without downloading the file. - Added
bl deploy instanceswith paging, keyword, and model service ID filtering. - Fix Console response handling to correctly parse nested success and failure responses, preserving server error messages, error codes, and request IDs instead of misinterpreting valid workspace lists as empty.
- Fix workspace parameter validation to reject explicitly blank
--workspace-idvalues instead of silently falling back to another configured workspace.
2.8.5 | 2026-11-10
- Fix fine-tune job creation to query the authoritative hyper-parameter configuration before upload and only validate user-specified overrides with explicit constraints; on query or validation failure, skip upload and submission, and no longer fill or trim unspecified parameters locally.
- Fix deployment deletion so that an explicit deployment plan takes precedence over residual PTU feature fields; refuse to submit the delete request when the plan type cannot be reliably determined.
- Fix
bl text chatto accept--enable-thinking=falsewhile preserving the original behavior of omitting the flag or passing it bare; stop sendingthinking_budgetwhen thinking is disabled. - Fix model invocation examples to return code samples only for exact model matches, without falling back to other variants in the same family.
- Fix dataset upload help by removing the unsupported
evaluationpurpose example; the default remainsfine-tune.
2.8.4 | 2026-11-06
- Added
bl finetune paramsto query the training hyper-parameter configuration of a base model, with--training-type,--param-type, and--mtu-spec-codefilters plus--modality/--reasoning-modedynamic training options. - Added
bl finetune metricsto query the training metrics of a fine-tune job, with explicit paging via--page/--page-size.
2.8.3 | 2026-11-06
bl search webadds a model search mode (--mode model) and now uses it by default: the model answers through Chat Completions withenable_search.--mode mcpstill calls the DashScope MCP WebSearch service.bl text chatadds--enable-searchfor built-in web search; it is enabled by default for qwen3.8-max and can be turned off with--enable-search false.- Profiles can declare credentials per search mode (
model/mcp), and the CLI selects the matching profile credential when switching search modes.
2.8.2 | 2026-11-04
- Internal maintenance: improved CLI usage statistics.
2.8.1 | 2026-11-04
- Added Linux ARM64 binary packages (glibc) for standalone installation and binary updates.
- Fixed asynchronous concurrent image generation and editing tasks not preserving all returned images, including tasks with different response formats.
- Fixed prematurely closed Chat Completions streams being treated as successful; structured output now preserves complete
tool_callsand returnsfinish_reason. - Prevented pending telemetry requests from delaying CLI exit and preserved queued events when telemetry initialization fails.
2.8.0 | 2026-11-03
- The CLI can be invoked through
aliyun bl, with help, examples, recovery hints, and structured commands adapted to that entry point. - Added AK/SK authentication with
BAILIAN_ACCESS_KEY_ID,BAILIAN_ACCESS_KEY_SECRET, and optionalBAILIAN_SECURITY_TOKEN. When a console token is missing or expired, the CLI can obtain one automatically with AK/SK. - Added
bl cmodel base-models/import/get/list/watch/deleteto import custom models from OSS, list supported base models, track import jobs, and query or delete imported models. The import API is currently available in the Beijing region only. - JSON mode returns complete business results; warnings, diagnostics, and errors are written separately to stderr as JSONL.
- Quiet mode hides only progress and informational messages while preserving complete results, warnings, and errors;
DASHSCOPE_QUIET=1is supported. Scripts that extracted IDs, paths, or answers from quiet output must read JSON fields instead. - AK/SK resolution order is command parameters, Bailian environment variables, Bailian configuration, then Alibaba Cloud environment variables.
- Model recommendations disable thinking;
--no-thinkingremains accepted for compatibility. - Interactive login, local UI, Pipeline event streams, and streaming speech output now validate their supported formats: native interactive modes and Pipeline JSONL events use text output, and streaming speech JSON output requires
--out. - Fixed speech recognition JSON output dropping the complete response and transcription; empty transcriptions still return task information.
- Managed Agent SDK warnings are preserved in quiet and JSON modes.
- Available updates are still shown when cached version results are used.
- Avoided duplicate error messages and improved request diagnostics for model recommendations and fine-tuning fee queries.
2.7.2 | 2026-10-30
bl image generate,bl image edit,bl video generate,bl speech synthesize, andbl speech recognizeadd--model auto, which routes AIGC models automatically through Bailian's self-developed MCP.- Replaced the hand-rolled SSE MCP client with the official MCP SDK.
2.7.1 | 2026-10-29
bl usage token-plannow displays every quota window returned by the API; JSON output addshasQuotaDatato distinguish missing quota data from a normal result.
2.7.0 | 2026-10-29
- Added
bl parsex parse submit/resultfor document and media parsing, result queries, and Markdown output. - Added
bl parsex extract submit/resultto extract fields with a JSON Schema from documents or existing parse results, including source citations. bl config shownow shows the effective sources of the API Key and Base URL and warns when they come from different configuration sources.- Fixed
bl auth loginrejecting valid workspace API keys on MaaS endpoints. - API Key validation now preserves service and network errors instead of reporting every failure as an invalid key.
2.6.2 | 2026-10-28
- Business results from
bl alert,bl monitor, andbl lognow default to JSON even when the Profile specifies text. Scripts that rely on text output must pass--output textor setDASHSCOPE_OUTPUT=text. - Telemetry commands resolve the console identity of the selected workspace automatically and share it across preflight, business requests, asynchronous polling, and follow-up requests. This fixes ineffective
--workspace-idfiltering and incorrect cross-workspace results. - Audit logs now normalize timestamps, models, request IDs, workspace IDs, and usage fields, fixing missing fields, NaN timestamps, and malformed counts, and reject audit results from a mismatched workspace.
log audit countandlog inference countuse thetotalCountfrom the corresponding list API, fixing zero counts for non-empty lists.- Inference counts preserve multiple-model and multiple-API-key filters by deduplicating and querying single-value combinations. Asynchronous polling is supported, and totals are emitted only after every query succeeds.
- Dry-run shows the workspace identity resolution plan and actual count request combinations without sending business requests.
2.6.1 | 2026-10-28
- Added
bl batch convert/create/list/get/cancel/downloadfor CSV-to-JSONL conversion, Chat or Embedding task creation, progress tracking, cancellation, and result/error downloads with optional CSV export. bl text chat --batchsends one non-streaming request, separate from asynchronous file-based batch tasks, with request timeouts of 60–3600 seconds.bl advisor recommendadds--top,--model,--no-agent,--trace,--think, and--no-thinking.- Model recommendations upgrade intent analysis, routing, candidate recall, scoring, and ranking. Interactive terminals support Agent clarification and multi-step recommendations while preserving the existing recommendation JSON envelope.
- Removed legacy recommendation library interfaces (BREAKING), including
getModels,recallCandidates,recallSemantic, andrankModels. Library consumers must adapt to the new recommendation engine; legacy types are exported asLegacyIntentProfile,LegacyModelProfile, andLegacyRecommendResult. - Temporary file uploads now select the upload service from the active model endpoint, fixing Singapore and Prime video uploads incorrectly using Beijing. Official temporary uploads support only Beijing and Singapore; unsupported regions and Token Plan fail explicitly.
- Fixed fetch/dispatcher incompatibility and proxy initialization on Node.js 26.
- Nested business errors are recognized correctly, and non-JSON error bodies and request IDs are preserved instead of treating error responses as successful results.
2.6.0 | 2026-10-27
- Added
bl knowledge initto upload a sample, create a knowledge base and retrieval service, and verify retrieval, with recovery and resource reuse. - Added
bl knowledge doc syncandbl knowledge doc importfor local directories and existing files. - Added audio/video knowledge bases, parser configuration, streaming uploads, image-only search, and online search filters.
- Added
--introspectfor a machine-readable command schema and thebailian-knowledgeskill; Knowledge Studio CLI provides the corresponding capabilities. - Structured knowledge Q&A output separates the final answer, phases, tools, sources, and usage; quiet mode emits only the final answer.
- Knowledge-base creation now includes billing notices, resource records, and cleanup guidance.
- Reject blank required inputs in knowledge commands.
- When chunk batch deletion fails, report completed, unconfirmed, and unexecuted batches separately.
2.5.1 | 2026-10-23
- Console login supports
--no-browserto print the login URL manually and--token-stdinto import and validate console credentials from standard input. - Commands can declare the calling Agent, Skill name, and Skill version; undeclared callers are recorded as unknown.
- Fixed login completion when the browser callback returns quickly, and report a timeout when no credentials are received.
- Fixed region selection when refreshing console credentials; the refreshed request is validated before credentials are saved.
2.5.0 | 2026-10-20
New Memory management commands:
bl memory node show: Show the details of a single memory nodebl memory skill export: Export a skill memory nodebl memory profile list/show/update/delete: List, show, update, and delete profile schemas
bl memory search now supports recall across multiple memory fragment rules (--project-ids) and choosing the pro or lite plan with --plan-version; bl memory add and bl memory update support skill memory metadata; bl memory add supports profile-only extraction (--extract-mode profile_only).
Breaking changes to the Memory commands:
- Memory commands now use a workspace-specific endpoint. Provide the workspace ID with
--workspace-id, theBAILIAN_WORKSPACE_IDenvironment variable, or theworkspace_idconfig field. - Commands that accept a memory library flag replace
--memory-library-idwith--library-id. bl memory updateandbl memory deleteno longer accept--user-id; deleting a memory node requires--yes.bl memory addnow submits an async extraction task and waits up to 120 seconds by default;--wait 0submits without waiting. JSON consumers need to readevent_idandevents; a submission receipt does not mean extraction is complete.
Fixed completion detection in bl memory add: an empty event list or a missing event ID is no longer reported as complete, and partial task failures return a non-zero exit code.
For usage, see Memory.
2.4.0 | 2026-10-19
- Managed Agent adds Memory Store, memory content, and historical version management, and supports mounting memory into Sessions.
- Added workspace-level Webhook management: create, update, enable or disable, test, reset the signing secret, and inspect delivery events.
- Agent creation supports default Environment and Vault bindings and MCP market servers through
--environment,--vault, and--mcp. - Session creation, Session runs, and Deployment creation accept repeatable
--environment_variables KEY=VALUE.
2.3.3 | 2026-10-19
- Fixed model API requests failing in the binary CLI, including speech and video generation.
- Fixed long-running core API requests timing out before the configured
--timeout; added streaming idle protection and release connections when streams end. - Fixed console login URLs losing query parameters when opening the browser on Windows.
- After console login or when running
bl auth status, clearly indicate when a model API key is missing.
2.3.2 | 2026-10-16
bl updatenow exits with a non-zero status when an upgrade fails or the latest version cannot be determined, so scripts and agents can detect the failure.
2.3.1 | 2026-10-16
- Requests configured with a timeout longer than 300 seconds are no longer interrupted by the default response-header timeout.
2.3.0 | 2026-10-14
- Added Pi support:
bl config agentandbl mcp connect/bl mcp disconnectaccept--agent pi. - Global flags can precede the full command path, for example
bl --config token-plan auth status; command-specific and credential flags must follow the path. - Help and version queries validate supplied flags. Unknown flags, missing values, and invalid values return usage exit code 2, with parser messages in the configured Profile language.
--timeoutnow sets the transfer timeout when uploading local files to temporary OSS storage.
2.2.2 | 2026-10-14
- Added
bl finetune compress templates/create/list/get/watch/logs/cancel/deletefor quantizing supported full-parameter fine-tuned models, including dry-run previews, status polling, logs, and safe delete confirmation. bl config agentandbl mcp connect/bl mcp disconnectnow support Pi, writing its native configuration while preserving existing settings.- Global flags can precede or follow the command. Both forms select the Profile for that invocation only and do not change
active_config. - Added
bl decisionfor TypeSafe System One requests against workspace-specific endpoints, withchoice/noul/scorevalidation, JSON and text output, training-sample reuse, Beijing/Singapore routing, and dry-run previews. - Only flags defined for a command are accepted. Unknown flags, missing values, and invalid values return usage exit code 2.
- Local file uploads to temporary OSS storage honor
--timeoutinstead of a fixed 120-second limit.
2.2.1 | 2026-10-12
bl config agent --agent hermesnow writes to the location Hermes actually reads:$HERMES_HOME/config.yaml, or the platform-native default (%LOCALAPPDATA%\hermeson Windows,~/.hermeselsewhere).
2.2.0 | 2026-10-12
bl usage token-planreports a single monthly quota (usage percentage and reset time) instead of the previous 5-hour and 1-week windows.
2.1.0 | 2026-09-28
bl finetune text create now accepts advanced parameters for job name, priority, LoRA, evaluation, checkpoint saving, dataset split, and data augmentation; bl finetune get returns expanded job metadata and hyperparameters.
Fixed Skill installation on Windows: legacy path length limits are handled, and installed Skills update in place when running agents keep directories open.
2.0.1 | 2026-09-22
New throughput reservation capacity management:
bl deploy capacity list: List throughput reservation capacity instancesbl deploy capacity get: Get a throughput reservation capacity instancebl deploy capacity create: Purchase an additional capacity instance for a ModelCodebl deploy capacity scale: Scale the absolute capacity of one reservation instancebl deploy capacity renew: Renew a prepaid capacity instance, optionally changing capacitybl deploy capacity delete: Release a capacity instance without deleting its ModelCodebl deploy capacity unsubscribe: Build the Aliyun billing console unsubscribe link for a prepaid capacity instancebl deploy overflow: Set the overflow strategy for a throughput reservation ModelCodebl deploy operation get: Query a throughput reservation capacity operation oncebl deploy operation wait: Wait for a capacity operation and refresh confirmed capacity
bl text chat and bl video generate add --prime to call through a workspace-scoped endpoint in Prime mode, with --workspace-id to specify the workspace.
2.0.0 | 2026-09-22
New native MCP registration commands:
bl mcp connect: Register a Bailian MCP server in an Agent's native configuration; supports streamable-http and SSE, targets a single Agent or--agent all(Codex, Claude Code, Cursor, Qoder, Qwen Code, Gemini, OpenCode, and more), and never overwrites non-CLI-managed entriesbl mcp disconnect: Remove an MCP registration previously managed by the CLI; registrations changed after connect are left untouched and reported as conflicts
Skill installs and updates extend to WorkBuddy, Trae CLI, and DeepSeek DSH; bl skill init, bl skill add, bl skill update, and bl skill remove support --dry-run previews.
1.28.0 | 2026-09-20
New agent security commands: bl agents security overview for a protection overview of the last 24 hours, and bl agents security alerts for the alert list, filterable by risk level, asset type, status, and more.
1.27.0 | 2026-09-18
New bl monitor, bl log, and bl alert command groups for model call volumes, token usage, call logs, and alert configuration; new bl model search to search the model catalog by relevance, and bl model code to get SDK example code.
1.26.0 | 2026-09-17
Simplified authentication: console login is the recommended default and can create a standard API key automatically when needed; API keys are validated before saving, and the CLI selects an available region automatically. Existing standard API keys and Token Plan subscription keys now log in uniformly with bl auth login --api-key.
1.25.0 | 2026-09-14
Token Plan harness entitlement quota lookup (bl token-plan harness-quota).
1.24.0 | 2026-09-11
Sandbox instance and template lifecycle commands.
1.23.0 | 2026-09-10
ASR instant hot words (--vocabulary) and contextual enhancement (--context); speech vocabulary management commands.
1.22.0 | 2026-09-08
Managed Agent project Build / Publish flow changes: project init now scaffolds into the ./managed-agent subdirectory by default, project build no longer asks for confirmation, and Publish still requires explicit confirmation.
1.21.0 | 2026-09-07
Managed Agent local directory projects, project version management, and Workbench.
1.20.0 | 2026-09-03
Managed Agent AgentStudio resource operations (Agent, Environment, Skill, Vault, Deployment, Session, File).
1.19.0 | 2026-09-01
High-risk operations require confirmation — blocked without --yes (exit code 7); --dry-run previews.
1.18.0 | 2026-08-27
Profile API key auto-fallback; default video model upgraded to Wan3.0.
1.17.0 | 2026-08-18
Managed Agent native Deployments; CLI available in Chinese and English.
1.16.0 | 2026-08-17
Knowledge base full-lifecycle management commands.
1.15.0 | 2026-08-14
Subscription plan usage views (bl usage token-plan, bl usage coding-plan).
1.14.0 | 2026-08-04
Node.js-free binary install and version-pinned updates.
For issues or ideas, open one on GitHub. See the full record of Bailian CLI feature updates, improvements, and fixes in CHANGELOG.md.