Category: service
Use AgentRun OpenAPI (ROA) to manage runtimes, sandboxes, model services, memory, and credentials.
references/endpoints.md). If unsure, choose the most reasonable region for the task or ask the user.1) Choose region endpoint (agentrun.cn-).
2) Create runtime → publish version → create runtime endpoint.
3) Create sandbox/template if needed.
4) Configure credentials and model services as required.
5) Query resources for troubleshooting.
See references/api_overview.md for the full API list and grouping.
python skills/compute/fc/alicloud-compute-fc-agentrun/scripts/quickstart.py
Environment variables:
AGENTRUN_ENDPOINTALICLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_SECRETOUTPUT_DIR (optional)AGENTRUN_RUNTIME_NAME="my-runtime" \\
AGENTRUN_RUNTIME_ENDPOINT_NAME="my-runtime-endpoint" \\
python skills/compute/fc/alicloud-compute-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)AGENTRUN_RUNTIME_ID="runtime-id" \\
AGENTRUN_RUNTIME_ENDPOINT_ID="endpoint-id" \\
python skills/compute/fc/alicloud-compute-fc-agentrun/scripts/cleanup_runtime.py
Environment variables:
AGENTRUN_ENDPOINTALICLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_SECRETAGENTRUN_RUNTIME_IDAGENTRUN_RUNTIME_ENDPOINT_IDOUTPUT_DIR (optional)See references/sdk.md for SDK acquisition guidance.
If you store any generated files or responses, write them under:
output/compute-fc-agentrun/.
mkdir -p output/alicloud-compute-fc-agentrun
for f in skills/compute/fc/alicloud-compute-fc-agentrun/scripts/*.py; do
python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/alicloud-compute-fc-agentrun/validate.txt
Pass criteria: command exits 0 and output/alicloud-compute-fc-agentrun/validate.txt is generated.
output/alicloud-compute-fc-agentrun/.references/api_overview.mdreferences/endpoints.mdreferences/sdk.mdreferences/sources.md共 2 个版本