agentleFS
modelstudioaimodelstudioai/cli/skills/bailian-cli/reference/agents.md

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

The file

Files
agents.md

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

CommandAuthenticationDescription
bl agents security alertsAPI KeyList Agent security alerts
bl agents security overviewAPI KeyShow the Agent security protection overview (last 24 hours)

Command details

bl agents security alerts

FieldValue
Nameagents security alerts
DescriptionList Agent security alerts
AuthenticationAPI Key
Usagebl agents security alerts [flags]

Flags

FlagTypeRequiredDescription
--workspace-id <id>stringnoWorkspace ID for API endpoint URL (or set BAILIAN_WORKSPACE_ID)
--page <n>numbernoPage number (default: 1)
--page-size <n>numbernoResults per page (default: 20)
--risk-level <high|medium|low>stringnoFilter by risk level: high, medium, low
--risk-name <text>stringnoFilter by risk name
--status <status>stringnoFilter by handling status
--status-list <status>arraynoFilter by multiple statuses (repeatable)
--app-name <name>stringnoFilter by application name
--asset-type <agent|tool|skill|knowledge_base|memory|channel>stringnoFilter by asset type: agent, tool, skill, knowledge_base, memory, channel
--vendor <vendor>stringnoFilter by vendor
--order-by <field>stringnoSort field (default: check_time)
--order <asc|desc>stringnoSort direction: asc, desc (default: desc)
--lang <zh|en>stringnoResponse language: zh, en
--api-key <key>stringnoAPI key
--base-url <url>stringnoAPI base URL

Notes

  • Auth: uses DashScope API Key (Bearer token).
  • --workspace-id can 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-xxx
bl agents security alerts --risk-level high --page-size 50
bl agents security alerts --asset-type agent --app-name "demo app" --output json
bl agents security alerts --status-list unhandled --status-list handling

bl agents security overview

FieldValue
Nameagents security overview
DescriptionShow the Agent security protection overview (last 24 hours)
AuthenticationAPI Key
Usagebl agents security overview [flags]

Flags

FlagTypeRequiredDescription
--workspace-id <id>stringnoWorkspace ID for API endpoint URL (or set BAILIAN_WORKSPACE_ID)
--api-key <key>stringnoAPI key
--base-url <url>stringnoAPI base URL

Notes

  • Auth: uses DashScope API Key (Bearer token).
  • --workspace-id can 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-xxx
bl agents security overview --workspace-id ws-xxx --output json

Download now (ZIP)

Does 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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.