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

Component

core/ai-agent/agenta-web

The browser console of an agent workspace — the front end a team builds its agents on. It is where an agent is described in chat, its tools and skills are connected, its permissions are set, its version history is compared, and the trace of a finished run is read. It is a server-rendered front end and holds no state. Each page it renders is assembled from the control-plane API wired through the `api` socket and the model-facing service wired through `services`, and the two are separate sockets because they are separate services with separate addresses: agent definitions and traces come from the first, a playground completion from the second. Sign-in runs against the authentication core wired through `auth_core`, which the front end addresses by that core's own base URL. Wire here for the human surface. It carries no data of its own, so it is the one tier of the platform that can be scaled or restarted without consequence, and an Aggregate that only needs the API — automation driving the platform from outside — can leave it out. Exports its host, port, endpoint and protocol to consumers via the uses topology, which is what the ingress tier routes the browser path to. Realized on Kubernetes via its Helm Recipe, which synthesizes the front end as a stateless Deployment behind a ClusterIP Service on its HTTP port. Two kinds of address are emitted separately and deliberately: the in-cluster Service names it calls while rendering a page, and the external base URL the browser itself calls, which the operator supplies because a Service name does not resolve outside the cluster.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:17af94a055b8d65143e7fee39c6fd1175ab797755eff9c1f3490361acacfda2c
發布時間
2026-11-10T10:07:28Z
簽署身分
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:909b18db4cb215f839167d32e492fc4f7bc55d4b2539f116ba04b03b5a0a38ea

此版本的參照

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

開發者參數

開發者在 Aggregate 中設定的值。

名稱型別預設必填描述
mobile_redirect_enabledbooleanfalse否Send a visitor arriving on a small screen to the mobile front end instead of rendering the full console. Turn it on only where core/ai-agent/agenta-web-mobile is also deployed and routed, since the console cannot tell whether it is.
allow_embeddingbooleanfalse否Allow this console to be rendered inside a frame on another site. Left off, a browser refuses to frame it.

操作員資源規格

操作員依各環境調整的基礎架構資源規格。

名稱型別預設必填描述
portinteger (min 1024, max 65535)3000否Port the front end serves on; the ingress tier connects here. Most operators should omit this and let the Recipe assign the default (3000).
external_base_urlstring—否Externally reachable base URL of the whole platform, as a browser reaches it through the ingress tier — for example https://agenta.example.com. The browser calls this rather than any in-cluster Service name, which does not resolve outside the cluster. The compiler cannot know a cluster's external hostname, so this carries no default and the Kubernetes realization halts at build until it is set.
engine_versionstringv0.114.1否Console container image tag. It tracks the same release as the rest of the platform, so a Release moves them together.
computeobject—否—
overridesobject (open)—否Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

輸出契約

此元件透過 uses 拓撲向使用端發布的值。

名稱型別預設必填描述
hoststring—是In-cluster DNS name of the Service serving the browser console. The ingress tier points its upstream at this name rather than at any of the platform's API tiers.
portinteger—是TCP port that Service serves the console on. It follows the port an operator set in the Release, so the ingress tier reads it rather than assuming a default.
endpointstring—是Full in-cluster base URL of the console, with the host and the port already composed. It is the upstream a gateway forwards browser traffic to, not the address a browser types.
protocolstring—否URL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`.

Uses 插槽

此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。

api

選擇器
component.aggrega.ai/category=ai-agent
注入
env

此插槽未宣告任何附加槽位,因此經由它的連線不帶任何附加項目。

services

選擇器
component.aggrega.ai/category=ai-agent
注入
env

此插槽未宣告任何附加槽位,因此經由它的連線不帶任何附加項目。

auth_core

選擇器
component.aggrega.ai/category=security
注入
env

經由此插槽的每個連線可填入的槽位

槽位選擇器必填注入敏感描述
credentialfeature.aggrega.ai/kind=secret否env是API key presented to the authentication core this connection reaches. Where a key is attached to the core, the same one is attached here. Unattached, no key is sent.

附加槽位

Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。

槽位選擇器必填注入敏感描述
auth_keyfeature.aggrega.ai/kind=secret是env是Required key the platform signs its own internal tokens with. It carries the same value as the control-plane API's slot, because the tokens this front end presents are the ones that service verifies. There is no default: the build halts when nothing fills this slot.
crypt_keyfeature.aggrega.ai/kind=secret是env是Required key stored credentials are encrypted under. It carries the same value as the control-plane API's slot. There is no default: the build halts when nothing fills this slot.

自我注入允許清單

env

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

Component 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權