Esta página foi traduzida automaticamente. Leia o original em inglês.

Component

core/ai-agent/google-adk

An agent built on Google's Agent Development Kit (ADK), run in-cluster as an application image the Release supplies. ADK is a library an application is built around, so the catalog pins no image; the build halts naming `infra.image` until a Release sets it. It runs as a server on `infra.port`, 8000 by default like ADK's own API server: the REST API of `adk api_server` or of an application built on ADK's `get_fast_api_app()`, with `/list-apps`, session routes under `/apps/`, `/run` and `/run_sse`. The image listens on every interface, not `adk api_server`'s default 127.0.0.1, and receives the port as PORT, which ADK's container guide reads. ADK documents those endpoints as unauthenticated, for a trusted network, and the component publishes them on the cluster network alone, as host, port, endpoint and protocol; attaching core/public-ingress or core/http-route halts the build until `infra.routes_authenticated` affirms the application authenticates them. The `model` socket takes a model, never a gateway, carrying `model.aggrega.ai/api: gemini`, such as `core/ai-model/gemini`, and delivers the connection's credential, by reference, as GOOGLE_API_KEY, which ADK's Gemini client sends to the Gemini API; it reads no address or model name from its environment, so the agent's code names the model. Each tool wired to the optional `tools` socket, such as an HTTP Model Context Protocol server, reaches the application as AGGREGA_TOOL_<ALIAS>_URL, beside any credential its connection carries. An `inject:` block on any connection, or on the component itself, delivers names the application reads, as variables or files, a tools connection's in place of the tool's address and header.

Versão

1.0.01.1.0

Procedência

OficialAssinado por uma identidade de assinatura que este catálogo reconhece como publicador oficial.
Digest do conteúdo
sha256:470a7b93ce8c33794c567c2e558534494cab8a99dc2ec7552332d4f4b1c4af28
Publicado
2026-11-10T10:08:04Z
Identidade de assinatura
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Assinatura

  • Oficialapplication/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:9cd240323783fd241fd67f875fe0b79a6fd1dd465d9a7f7899e715b7f8890ef8

Referência nesta versão

oci://hub.aggrega.ai/component/core/ai-agent/google-adk:1.0.0

Parâmetros do desenvolvedor

Valores que o desenvolvedor define no Aggregate.

Estende BaseComponents#/schemas/BaseAgentParameter

Dimensionamento do operador

Dimensionamento de infraestrutura que o operador ajusta por ambiente.

NomeTipoPadrãoObrigatórioDescrição
imagestring—nãoContainer image running the application built on ADK, serving its API on infra.port on every interface.
portinteger (min 1024, max 65535)8000nãoPort the application's server listens on, delivered to it as PORT, and the port the component publishes.
routes_authenticatedbooleanfalsenãoOperator affirmation that the application authenticates every request its routes take. While false, its default, a core/public-ingress or core/http-route attachment on this component halts the build, because ADK's endpoints otherwise answer any caller. An attachment is matched by those two Feature names, so one of a Feature that extends either under another name is not refused, though it may publish the routes as well. It changes nothing this component renders.

Contrato de saída

Valores que este componente publica para os consumidores pela topologia uses.

NomeTipoPadrãoObrigatórioDescrição
hoststring—simDNS name a caller reaches the application's server at: the Service's name on Kubernetes, the service's name on the compose network. A caller that composes its own address dials this name; one that does not reads `endpoint` instead.
portinteger—simTCP port the application's server is reached on, following infra.port.
endpointstring—simBase URL of the application's server, with the host and the port already composed. ADK's REST routes, such as /list-apps and /run, sit under it.
protocolstring—nãoURL scheme to reach `host` and `port` over, for a caller composing its own address rather than reading `endpoint`.

Sockets uses

Os sockets de dependência pelos quais este componente se conecta. O destino de cada conexão ligada por um socket deve satisfazer o seletor de rótulos dele, e cada conexão pode carregar um acoplamento nos slots que o socket declara. Cada conexão que o Aggregate ou a Release liga pelo socket deve preencher os slots obrigatórios.

model

Seletor
component.aggrega.ai/category=ai-model, model.aggrega.ai/api=gemini
Injeção
env, file

Slots que cada conexão por este socket pode preencher

SlotSeletorObrigatórioInjeçãoSensívelDescrição
credentialfeature.aggrega.ai/kind=secretnãoenvsimOptional credential the agent presents to the model this connection reaches. When attached, the Recipe delivers it to the application as GOOGLE_API_KEY (a Kubernetes secretKeyRef on helm, the inject pipe on compose); unattached, the application runs without an injected key.

tools

Seletor
component.aggrega.ai/category=ai-tool, tool.aggrega.ai/transport=http
Injeção
env, file

Slots que cada conexão por este socket pode preencher

SlotSeletorObrigatórioInjeçãoSensívelDescrição
credentialfeature.aggrega.ai/kind=secretnãoenvsimOptional credential the agent presents to the tool this connection reaches, under the request header the tool publishes as credential_header: as Bearer <credential> under Authorization, and as the whole value of any other header. When attached, the Recipe delivers it as AGGREGA_TOOL_<ALIAS>_CREDENTIAL (a Kubernetes secretKeyRef on helm, the inject pipe on compose), on a connection writing an inject block too, and, on one writing none, the header as AGGREGA_TOOL_<ALIAS>_CREDENTIAL_HEADER where the tool publishes one.
endpointfeature.aggrega.ai/kind=secretnãoenvsimOptional whole address of the tool this connection reaches, the part carrying its key included, for a server that reads its key from its own address. When attached, the Recipe delivers it as AGGREGA_TOOL_<ALIAS>_URL in place of the endpoint the tool publishes: a Kubernetes secretKeyRef on helm, so the key reaches no rendered file, and the inject pipe on compose, written as delivered.

Slots de acoplamento

Pontos de vinculação nomeados nos quais uma Feature se acopla a este componente. O seletor de um slot restringe qual Feature pode preenchê-lo, e sua lista inject indica como o material da Feature pode ser entregue. Um slot obrigatório deve estar vinculado em cada instância, por um acoplamento na instância ou em um escopo acima dela, e um slot sensível é declarado para lidar com material secreto. Uma Feature também pode se acoplar com um nome que nenhum slot declara.

Nenhum slot de acoplamento declarado.

Lista de permissões de autoinjeção

env, file

Relações

Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é exibida como uma aresta quebrada em vez de um link.

Usa

Usado por

Referência do conceito Component →

O catálogo Aggrega — um índice aberto de componentes, funcionalidades, receitas e dos plugins que os renderizam.

Criado com o sistema de design compartilhado do Aggrega.

Privacidade