Recipe
agentgateway
agentgateway for local development via Docker Compose, synthesized from the Workload kind by the compose provider: one service running the project's image, pinned by digest, from one configuration file mounted from a compose config. Nothing is published to the host; provides.host is the compose service name. Each model wired to the models socket is one entry of that file, named by the connection's alias and sent to the endpoint and model name the model publishes. A connection's credential is the value it publishes as AI_PROXY_<ALIAS>_API_KEY on the inject pipe, written into the service's environment as it was delivered — a Compose variable reference such as ${OPENAI_API_KEY} lands as that reference, a literal as itself — and the entry names the variable, never the value. The file attaches no UI to the data-plane port. It realizes none of the AI Features the Component's labels admit, so attaching one halts the build naming its type, and it halts on infra.callers: this target holds no Secret to read the callers' keys from. Reach for it under Docker Compose; reach for `agentgateway-chart` on Kubernetes. The image carries no shell or client to run a check from, so the service declares no healthcheck. The gateway's metrics are always on, on port 15020, which checks no caller and which any peer on the compose network reaches. With `values.metrics_enabled` true their address is published as provides.metrics_endpoint; false, that key is empty.
来源
- 内容摘要
- sha256:da6875461dfadef345dd1e4e151d51eefad37d40d8b927caf632fc65b2bc943b
- 发布时间
- 2026-11-10T10:18:12Z
- 签名身份
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
签名
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:41ebff8f46a64c02d1b0973e9156a11c3cc5452769546d04740270112d0f2c50
此版本的引用
oci://hub.aggrega.ai/recipe/compose/agentgateway:1.0.0- 目标
- —
- 实现
- core/gateway/agentgateway:1.0.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .infra.http_port }} |
| protocol | http |
| endpoint | {{ with optional .values "model" "" }}http://{{ $.context.instance_id }}:{{ $.infra.http_port }}/v1{{ end }} |
| model | {{ optional .values "model" "" }} |
| metrics_endpoint | {{ if .values.metrics_enabled }}http://{{ .context.instance_id }}:15020/metrics{{ end }} |
Workload
Workload · form: stateless · containers: main
局部变量
| 名称 | 模板 |
|---|---|
| image | cr.agentgateway.dev/agentgateway:v1.6.0@sha256:9d3e6044ddcdc0878b1787f77bd401252b95e22684203fb5e874c4c42d2ed90c |
| config_name | {{ .context.instance_id }}-config |
| config_path | /config/config.yaml |
| connection_variable_prefix | AI_PROXY_ |
| credential_variable_suffix | _API_KEY |
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/gateway/agentgateway:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。