Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

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.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:2d96ef4e05e3c8717e368ec5ad004f31fdd6b25105bb2f58587a868c0db74c9f
Đã xuất bản
2026-11-10T10:18:09Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/recipe/compose/a2a-remote:1.0.0
Đích
—
Triển khai
core/ai-agent/a2a-remote:1.0.0

Cung cấp

Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.

TênMẫu
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

Giá trị cục bộ

TênMẫu
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 }}

Ánh xạ values

Chưa khai báo ánh xạ values nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

  • triển khaitriển khaihợp đồng tương thích

    core/ai-agent/a2a-remote:1.0.0

    Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.

Được sử dụng bởi

Không có gì trong danh mục phụ thuộc vào thực thể này.

Tài liệu tham khảo khái niệm Recipe →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư