Aliyun Fc Agentrun
简介
Aliyun Fc Agentrun
原始描述
Use when managing Function Compute AgentRun resources via OpenAPI (runtime, sandbox, model, memory, credentials), including creating runtimes/endpoints, quer...
通过你的 Agent 添加
安装目录:aliyun-fc-agentrun/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: aliyun-fc-agentrun description: Use when managing Function Compute AgentRun resources via OpenAPI (runtime, sandbox, model, memory, credentials), including creating runtimes/endpoints, querying status, and troubleshooting AgentRun workflows. version: 1.0.0
Category: service
Function Compute AgentRun (OpenAPI)
Use AgentRun OpenAPI (ROA) to manage runtimes, sandboxes, model services, memory, and credentials.
Prerequisites
- AccessKey via RAM user (least privilege).
- Select the correct regional endpoint (see
references/endpoints.md). If unsure, choose the most reasonable region for the task or ask the user.
- Use OpenAPI Explorer or official SDK to avoid manual signing (ROA requires SignatureV1).
Workflow
- Choose region endpoint (
agentrun.cn-<region>.aliyuncs.com).
- Create runtime → publish version → create runtime endpoint.
- Create sandbox/template if needed.
- Configure credentials and model services as required.
- Query resources for troubleshooting.
API Groups
references/endpoints.md). If unsure, choose the most reasonable region for the task or ask the user.- Choose region endpoint (
agentrun.cn-<region>.aliyuncs.com). - Create runtime → publish version → create runtime endpoint.
- Create sandbox/template if needed.
- Configure credentials and model services as required.
- Query resources for troubleshooting.
API Groups
See references/api_overview.md for the full API list and grouping.
Script quickstart
python skills/compute/fc/aliyun-fc-agentrun/scripts/quickstart.py
python skills/compute/fc/aliyun-fc-agentrun/scripts/quickstart.py
Environment variables:
AGENTRUN_ENDPOINTALICLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_SECRETOUTPUT_DIR(optional)
Runtime flow script
AGENTRUN_RUNTIME_NAME="my-runtime" \\
AGENTRUN_RUNTIME_ENDPOINT_NAME="my-runtime-endpoint" \\
python skills/compute/fc/aliyun-fc-agentrun/scripts/runtime_flow.py
AGENTRUN_RUNTIME_NAME="my-runtime" \\
AGENTRUN_RUNTIME_ENDPOINT_NAME="my-runtime-endpoint" \\
python skills/compute/fc/aliyun-fc-agentrun/scripts/runtime_flow.py
Environment variables:
AGENTRUN_ENDPOINTALICLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_SECRETAGENTRUN_RUNTIME_NAMEAGENTRUN_RUNTIME_ENDPOINT_NAMEAGENTRUN_RUNTIME_DESC(optional)OUTPUT_DIR(optional)
Cleanup script
AGENTRUN_RUNTIME_ID="runtime-id" \\
AGENTRUN_RUNTIME_ENDPOINT_ID="endpoint-id" \\
python skills/compute/fc/aliyun-fc-agentrun/scripts/cleanup_runtime.py
AGENTRUN_RUNTIME_ID="runtime-id" \\
AGENTRUN_RUNTIME_ENDPOINT_ID="endpoint-id" \\
python skills/compute/fc/aliyun-fc-agentrun/scripts/cleanup_runtime.py
Environment variables:
AGENTRUN_ENDPOINTALICLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_SECRETAGENTRUN_RUNTIME_IDAGENTRUN_RUNTIME_ENDPOINT_IDOUTPUT_DIR(optional)
SDK Notes
See references/sdk.md for SDK acquisition guidance.
Output Policy
If you store any generated files or responses, write them under:
output/compute-fc-agentrun/.
Validation
mkdir -p output/aliyun-fc-agentrun
for f in skills/compute/fc/aliyun-fc-agentrun/scripts/*.py; do
python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/aliyun-fc-agentrun/validate.txt
mkdir -p output/aliyun-fc-agentrun
for f in skills/compute/fc/aliyun-fc-agentrun/scripts/*.py; do
python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/aliyun-fc-agentrun/validate.txt
Pass criteria: command exits 0 and output/aliyun-fc-agentrun/validate.txt is generated.
Output And Evidence
- Save artifacts, command outputs, and API response summaries under
output/aliyun-fc-agentrun/.
- Include key parameters (region/resource id/time range) in evidence files for reproducibility.
References
-
API overview and operation list: references/api_overview.md
-
Regional endpoints: references/endpoints.md
-
SDK guidance: references/sdk.md
-
Source list: references/sources.md
output/aliyun-fc-agentrun/.-
API overview and operation list:
references/api_overview.md -
Regional endpoints:
references/endpoints.md -
SDK guidance:
references/sdk.md -
Source list:
references/sources.md
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。