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 publishes no address to its peers; on Docker Compose the application is published on 127.0.0.1 only where `infra.published_port` asks. 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.
版本
出處
- 內容摘要
- sha256:93ddafa81f794698c6abf3fa95299386dd7e0143ab21edf3a8db6c90f543b709
- 發布時間
- 2026-11-15T08:08:49Z
- 簽署身分
- 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:245b7ba0094807751162139101a04af90ded8a0ba772d96add6c73b79e472e62
此版本的參照
oci://hub.aggrega.ai/component/core/ai-agent/agent-framework:1.1.0開發者參數
開發者在 Aggregate 中設定的值。
擴充 BaseComponents#/schemas/BaseAgentParameter
操作員資源規格
操作員依各環境調整的基礎架構資源規格。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| image | string | — | 否 | Container image running the application built on Microsoft Agent Framework. |
| port | integer (min 1024, max 65535) | 8000 | 否 | Port the application listens on inside its container. The Recipes deliver nothing for it, since the application's own code picks its port; it names that port, which infra.published_port forwards to on Docker Compose. |
| published_port | integer (min 1024, max 65535) | — | 否 | Port published on the host's loopback address, 127.0.0.1, on Docker Compose, forwarding to infra.port inside the container; any process on this machine can reach it there. Unset, nothing is published. Kubernetes realizations refuse it; reach the application there with kubectl port-forward. |
輸出契約
此元件透過 uses 拓撲向使用端發布的值。
未宣告任何輸出值。
Uses 插槽
此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。
model
- 選擇器
- component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api=openai
- 注入
- env, file
經由此插槽的每個連線可填入的槽位
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | 否 | env | 是 | Optional 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
- 選擇器
- component.aggrega.ai/category=ai-tool, tool.aggrega.ai/transport=http
- 注入
- env, file
經由此插槽的每個連線可填入的槽位
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | 否 | env | 是 | Optional 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. |
| endpoint | feature.aggrega.ai/kind=secret | 否 | env | 是 | Optional 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. |
附加槽位
Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。
未宣告任何附加槽位。
自我注入允許清單
env, file
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 使用使用插槽「model」
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api=openai
附加槽位:credential
core/ai-model/docker-model-runner v1.0.0 core/ai-model/litellm v1.0.0 core/ai-model/nvidia-api v1.0.0 core/ai-model/nvidia-nim v1.0.0 core/ai-model/ollama v1.0.0 core/ai-model/openai v1.0.0 core/ai-model/openai-compatible v1.0.0 core/ai-model/openai-embedding v1.0.0 core/ai-model/tei v1.0.0 core/ai-model/tgi v1.0.0 core/ai-model/vllm v1.0.0 core/gateway/agentgateway v1.0.0 core/gateway/apisix v1.0.0 core/gateway/envoy-gateway v1.0.0 core/gateway/higress v1.0.0 core/gateway/kong v1.0.0 core/gateway/kong-enterprise v1.0.0 core/gateway/litellm v1.0.0 core/gateway/traefik-hub v1.0.0 - 使用使用插槽「tools」
component.aggrega.ai/category=ai-tool, tool.aggrega.ai/transport=http
附加槽位:credential, endpoint
- $ref擴充結構描述(values)
BaseComponents#/schemas/BaseAgentParameter
被使用於
使用插槽「runner」
使用插槽「api」
使用插槽「runner」
使用插槽「api」
使用插槽「services」
使用插槽「api」
使用插槽「services」
使用插槽「services」
使用插槽「sandbox」
使用插槽「plugin_daemon」
使用插槽「ssrf_proxy」
使用插槽「sandbox」
使用插槽「plugin_daemon」
使用插槽「ssrf_proxy」
使用插槽「api」
使用插槽「ssrf_proxy」
使用插槽「api」
使用插槽「api」
使用插槽「sandbox」
使用插槽「plugin_daemon」
使用插槽「ssrf_proxy」
使用插槽「sandbox」
使用插槽「plugin_daemon」
使用插槽「ssrf_proxy」
使用插槽「target_agent」
使用插槽「scrape_target」
適用於
適用於
適用於
實作
實作