awesome-templates
agents-cli/template.yaml
无中文版
agents-cli/template.yaml
name: agents-cli
version: "1.0.0"
description: "Agents API for Codex and Qwen Code. The image does not preinstall either CLI."
author: "alibaba-agent-sandbox"
tags:
- agents-api
- codex
- qwen-code
- self-hosted
base: python:3.12-slim
capabilities:
- shell
- files
- ports
ports:
- 9000
# Endpoint rules are the only switch. `"*"` closes every endpoint (shell, files, and
# the rest of the Agents API) and the exact rules below open the six routes this
# template serves. An exact endpoint rule also opens an endpoint of an opt-in group.
server:
endpoints:
"*":
enabled: false
agents_sessions_create:
enabled: true
agents_sessions_get:
enabled: true
agents_sessions_list:
enabled: true
agents_sessions_events_create:
enabled: true
agents_sessions_items_list:
enabled: true
agents_runtimes_list:
enabled: true
resources:
cpu: 1
memory: 1024