返回顶部
a

aliyun-fc-agentrun阿里云FC代理运行

Use when managing Function Compute AgentRun resources via OpenAPI (runtime, sandbox, model, memory, credentials), including creating runtimes/endpoints, querying status, and troubleshooting AgentRun workflows.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
80
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

aliyun-fc-agentrun

类别:服务

函数计算 AgentRun(OpenAPI)

使用 AgentRun OpenAPI(ROA)管理运行时、沙箱、模型服务、内存和凭证。

前提条件

  • - 通过 RAM 用户获取 AccessKey(最小权限原则)。
  • 选择正确的区域端点(参见 references/endpoints.md)。如不确定,请选择最合理的区域或询问用户。
  • 使用 OpenAPI Explorer 或官方 SDK 以避免手动签名(ROA 需要 SignatureV1)。

工作流程

1) 选择区域端点(agentrun.cn-.aliyuncs.com)。
2) 创建运行时 → 发布版本 → 创建运行时端点。
3) 按需创建沙箱/模板。
4) 按需配置凭证和模型服务。
5) 查询资源以进行故障排查。

API 分组

完整 API 列表及分组请参见 references/api_overview.md。

脚本快速入门

bash
python skills/compute/fc/aliyun-fc-agentrun/scripts/quickstart.py

环境变量:

  • - AGENTRUNENDPOINT
  • ALICLOUDACCESSKEYID
  • ALICLOUDACCESSKEYSECRET
  • OUTPUTDIR(可选)

运行时流程脚本

bash
AGENTRUNRUNTIMENAME=my-runtime \
AGENTRUNRUNTIMEENDPOINT_NAME=my-runtime-endpoint \
python skills/compute/fc/aliyun-fc-agentrun/scripts/runtime_flow.py

环境变量:

  • - AGENTRUNENDPOINT
  • ALICLOUDACCESSKEYID
  • ALICLOUDACCESSKEYSECRET
  • AGENTRUNRUNTIMENAME
  • AGENTRUNRUNTIMEENDPOINTNAME
  • AGENTRUNRUNTIMEDESC(可选)
  • OUTPUT_DIR(可选)

清理脚本

bash
AGENTRUNRUNTIMEID=runtime-id \
AGENTRUNRUNTIMEENDPOINT_ID=endpoint-id \
python skills/compute/fc/aliyun-fc-agentrun/scripts/cleanup_runtime.py

环境变量:

  • - AGENTRUNENDPOINT
  • ALICLOUDACCESSKEYID
  • ALICLOUDACCESSKEYSECRET
  • AGENTRUNRUNTIMEID
  • AGENTRUNRUNTIMEENDPOINTID
  • OUTPUT_DIR(可选)

SDK 说明

SDK 获取指南请参见 references/sdk.md。

输出策略

如需存储生成的任何文件或响应,请写入以下目录:
output/compute-fc-agentrun/。

验证

bash
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 pycompileok > output/aliyun-fc-agentrun/validate.txt

通过标准:命令退出码为 0 且已生成 output/aliyun-fc-agentrun/validate.txt 文件。

输出与证据

  • - 将产物、命令输出和 API 响应摘要保存至 output/aliyun-fc-agentrun/ 目录。
  • 在证据文件中包含关键参数(区域/资源 ID/时间范围)以确保可重现性。

参考资料

  • - API 概览与操作列表:references/api_overview.md
  • 区域端点:references/endpoints.md
  • SDK 指南:references/sdk.md
  • - 来源列表:references/sources.md

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 aliyun-fc-agentrun-1775881562 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 aliyun-fc-agentrun-1775881562 技能

通过命令行安装

skillhub install aliyun-fc-agentrun-1775881562

下载

⬇ 下载 aliyun-fc-agentrun v1.0.0(免费)

文件大小: 6.9 KB | 发布时间: 2026-4-12 08:55

v1.0.0 最新 2026-4-12 08:55
Initial release of aliyun-fc-agentrun skill:

- Provides management for Alibaba Cloud Function Compute AgentRun resources using OpenAPI (ROA).
- Supports workflows to create and manage runtimes, endpoints, sandboxes, model services, and credentials.
- Includes quickstart, runtime flow, and cleanup scripts with environment variable configuration.
- Guides users on region and endpoint selection, OpenAPI/SDK usage, and output directory structure.
- Adds validation and reproducibility guidelines for evidence and artifact storage.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部