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

Component

core/ai-agent/agent-framework

An agent built on Microsoft Agent Framework, run in-cluster as an application image the Release supplies. Agent Framework is a library an application is built around: it serves nothing itself, and an application that serves HTTP does so through a web server of its own. So there is no upstream image to pin: the catalog supplies none, and until a Release sets `infra.image` the build halts naming the container image and renders nothing. Deploying it gives that application as a worker wired to a model serving the OpenAI API. It opens no port, so the component publishes no address for an application that serves HTTP. The Recipe delivers the model's endpoint as OPENAI_BASE_URL, its model name as OPENAI_MODEL and the connection's credential as OPENAI_API_KEY. These are the variables Agent Framework's Python OpenAI clients read, each taking OPENAI_MODEL where its own model variable is unset; a .NET application reads its configuration in its own code, where the same variables are available to it. Agent Framework installs no telemetry exporter, so it sends its OpenTelemetry data nowhere unless the application's code configures one. Each tool wired into the optional `tools` socket, such as a Model Context Protocol server reached over HTTP, reaches the application under variables named for the connection's alias, its address as AGGREGA_TOOL_<ALIAS>_URL, which the application hands to its MCP tool in its own code. An `inject:` block on a connection, or on the component itself, delivers the names the application reads, as variables or files: on a tools connection in place of the tool's address and header, elsewhere beside the variables Agent Framework reads.

Versão

1.0.01.1.0

Proveniência

OficialAssinado por uma identidade de assinatura que este catálogo reconhece como editor oficial.
Digest do conteúdo
sha256:cd2cd529cf88f9dbffe22d40a02b9ad5773f9b3cda88bce4ad85d6edd9974320
Publicado
2026-11-10T10:07:11Z
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:7b8c82e9884652530847a06e3eb06ae423f8ccb7a909fb8fdbaba638b41c03b9

Referência nesta versão

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

Parâmetros do programador

Valores que o programador define no Aggregate.

Estende BaseComponents#/schemas/BaseAgentParameter

Dimensionamento do operador

Dimensionamento da infraestrutura que o operador ajusta por ambiente.

NomeTipoPredefiniçãoObrigatórioDescrição
imagestring—nãoContainer image running the application built on Microsoft Agent Framework.

Contrato de saída

Valores que este componente publica para os consumidores através da topologia uses.

Nenhum valor de saída declarado.

Sockets uses

Os sockets de dependência através dos quais este componente se liga. O destino de cada ligação estabelecida através de um socket tem de satisfazer o respetivo seletor de etiquetas, e cada ligação pode transportar um acoplamento nos slots que o socket declara. Cada ligação que o Aggregate ou a Release estabelece através do socket tem de preencher os slots obrigatórios.

model

Seletor
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api=openai
Injeção
env, file

Slots que cada ligação através deste 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 OPENAI_API_KEY (a Kubernetes secretKeyRef on helm, the inject pipe on compose); unattached, no key is injected, and Agent Framework's Python OpenAI clients raise an error at construction unless the application's code passes one.

tools

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

Slots que cada ligação através deste 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 com nome nos quais uma Feature se acopla a este componente. O seletor de um slot restringe qual a Feature que o pode preencher, e a respetiva lista inject indica como o material da Feature pode ser entregue. Um slot obrigatório tem de estar vinculado em cada instância, por um acoplamento na instância ou num âmbito acima dela, e um slot sensível é declarado para tratar material secreto. Uma Feature também se pode acoplar com um nome que nenhum slot declara.

Nenhum slot de acoplamento declarado.

Lista de autorizações de autoinjeção

env, file

Relações

Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.

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 partilhado do Aggrega.

Privacidade