cli / reference
AGENTS.md369 starsChanged 4 months agoApache-2.0View on GitHub
Auto-generated from packages/cli/src/commands.ts. Do not edit by hand. Regenerate: pnpm --filter bailian-cli run generate:reference. Index: index.md
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- referenceSkill
- bailian-cliSkill
- bailian-finetuneSkill
- bailian-genSkill
- bailian-knowledgeSkill
- bailian-managed-agentSkill
- bailian-memorySkill
- bailian-protocolSkill
- bailian-sandboxSkill
- bailian-web-searchSkill
The file
Files
bl agents commands
Auto-generated from
packages/cli/src/commands.ts. Do not edit by hand. Regenerate:pnpm --filter bailian-cli run generate:reference.
Index: index.md
Commands in this group
| Command | Authentication | Description |
bl agents security alerts | API Key | List Agent security alerts |
bl agents security overview | API Key | Show the Agent security protection overview (last 24 hours) |
Command details
bl agents security alerts
| Field | Value |
| Name | agents security alerts |
| Description | List Agent security alerts |
| Authentication | API Key |
| Usage | bl agents security alerts [flags] |
Flags
| Flag | Type | Required | Description |
--workspace-id <id> | string | no | Workspace ID for API endpoint URL (or set BAILIAN_WORKSPACE_ID) |
--page <n> | number | no | Page number (default: 1) |
--page-size <n> | number | no | Results per page (default: 20) |
--risk-level <high|medium|low> | string | no | Filter by risk level: high, medium, low |
--risk-name <text> | string | no | Filter by risk name |
--status <status> | string | no | Filter by handling status |
--status-list <status> | array | no | Filter by multiple statuses (repeatable) |
--app-name <name> | string | no | Filter by application name |
--asset-type <agent|tool|skill|knowledge_base|memory|channel> | string | no | Filter by asset type: agent, tool, skill, knowledge_base, memory, channel |
--vendor <vendor> | string | no | Filter by vendor |
--order-by <field> | string | no | Sort field (default: check_time) |
--order <asc|desc> | string | no | Sort direction: asc, desc (default: desc) |
--lang <zh|en> | string | no | Response language: zh, en |
--api-key <key> | string | no | API key |
--base-url <url> | string | no | API base URL |
Notes
- Auth: uses DashScope API Key (Bearer token).
--workspace-idcan be set via BAILIAN_WORKSPACE_ID env or config workspace_id.- Filters, pagination and sorting go in the query string; enum flags are validated before any request is sent.
- AgentStudio host: derived from --workspace-id by default; point --base-url / DASHSCOPE_BASE_URL (or
auth login --base-url) at a workspace or pre-release origin such as https://<workspace-id>.cn-beijing.maas.aliyuncs.com/api/v1/agentstudio to override it, and --workspace-id is then not required.
Examples
bl agents security alerts --workspace-id ws-xxxbl agents security alerts --risk-level high --page-size 50bl agents security alerts --asset-type agent --app-name "demo app" --output jsonbl agents security alerts --status-list unhandled --status-list handlingbl agents security overview
| Field | Value |
| Name | agents security overview |
| Description | Show the Agent security protection overview (last 24 hours) |
| Authentication | API Key |
| Usage | bl agents security overview [flags] |
Flags
| Flag | Type | Required | Description |
--workspace-id <id> | string | no | Workspace ID for API endpoint URL (or set BAILIAN_WORKSPACE_ID) |
--api-key <key> | string | no | API key |
--base-url <url> | string | no | API base URL |
Notes
- Auth: uses DashScope API Key (Bearer token).
--workspace-idcan be set via BAILIAN_WORKSPACE_ID env or config workspace_id.- Fixed to the last 24 hours; the AgentStudio region is always cn-beijing and is not configurable.
- AgentStudio host: derived from --workspace-id by default; point --base-url / DASHSCOPE_BASE_URL (or
auth login --base-url) at a workspace or pre-release origin such as https://<workspace-id>.cn-beijing.maas.aliyuncs.com/api/v1/agentstudio to override it, and --workspace-id is then not required.
Examples
bl agents security overview --workspace-id ws-xxxbl agents security overview --workspace-id ws-xxx --output jsonDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

