本頁面由機器翻譯。閱讀英文原文。

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

Locals

名稱範本
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 設計系統建置。

隱私權