本页面为机器翻译。阅读英文原文。

Recipe

a2a-remote

An agent another party runs over the Agent2Agent (A2A) protocol, reached at the address infra.endpoint names, as a reference realization for local development via Docker Compose: no service is defined for it and nothing runs. The address reaches a consuming service through the injection context rather than through a service definition, because compose has no counterpart to an in-cluster alias. provides.endpoint is the address as written, protocol is its scheme, agent_card_url is where the agent's card is read, and credential_header is the request header the agent reads a caller's credential from, Authorization unless infra.credential_header names another. token_url, oidc_discovery_url and scopes are where and for what a caller obtains a token under the card's OAuth 2.0 or OpenID Connect scheme, as infra names them, and empty where it names none. No credential is held here: a consumer that needs one holds it on its own connection to the agent and presents it under that header, because the credential belongs to the consumer rather than to the address. infra.endpoint is the address without any part that carries a key, at least a scheme and a host. An address carrying a user name or password is refused, for infra.endpoint and infra.agent_card_url alike. infra.token_url and infra.oidc_discovery_url, where set, are each refused unless they are an https URL naming a host with no user name or password, since OAuth 2.0 sends a client secret only over TLS. Reach for this realization under Docker Compose; helm/a2a-remote is the same reference on Kubernetes.

来源

官方由本目录认定为官方发布者的签名身份签名。
内容摘要
sha256:2d96ef4e05e3c8717e368ec5ad004f31fdd6b25105bb2f58587a868c0db74c9f
发布时间
2026-11-10T10:18:09Z
签名身份
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:ea68f737c4d613c6c88acfaa19c01156f4e81cb41607b733bb9044a538d20dde

此版本的引用

oci://hub.aggrega.ai/recipe/compose/a2a-remote:1.0.0
目标
—
实现
core/ai-agent/a2a-remote:1.0.0

提供

此配方为使用方接入的确定性指针模板。

名称模板
endpoint{{ .locals.endpoint }}
agent_card_url{{ .locals.agent_card_url }}
protocol{{ .locals.scheme }}
credential_header{{ .infra.credential_header }}
token_url{{ optional .infra "token_url" "" }}
oidc_discovery_url{{ optional .infra "oidc_discovery_url" "" }}
scopes{{ optional .infra "scopes" "" }}

Workload

Workload · form: reference

局部变量

名称模板
endpoint{{ optional .infra "endpoint" "" }}
scheme{{ (urlParse .locals.endpoint).scheme }}
port{{ $u := urlParse .locals.endpoint }}{{ $p := regexFind ":[0-9]+
quot; $u.host | trimPrefix ":" }}{{ if $p }}{{ $p }}{{ else if eq $u.scheme "http" }}80{{ else }}443{{ end }}
agent_card_url{{ $c := optional .infra "agent_card_url" "" }}{{ if $c }}{{ $c }}{{ else }}{{ $u := urlParse .locals.endpoint }}{{ $u.scheme }}://{{ $u.host }}/.well-known/agent-card.json{{ end }}

值映射

未声明值映射。

关系

与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。

使用

被使用

目录中没有任何内容依赖此实体。

Recipe 概念参考 →

Aggrega 目录 — 收录组件、功能、配方以及渲染它们的插件的开放索引。

基于共享的 Aggrega 设计系统构建。

隐私