Halaman ini diterjemahkan oleh mesin. Baca versi asli dalam bahasa Inggris.

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.

Asal-usul

ResmiDitandatangani oleh identitas penandatangan yang diakui katalog ini sebagai penerbit resmi.
Digest konten
sha256:17af94a055b8d65143e7fee39c6fd1175ab797755eff9c1f3490361acacfda2c
Dipublikasikan
2026-11-10T10:07:28Z
Identitas penandatangan
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Tanda tangan

  • Resmiapplication/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

Referensi pada versi ini

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

Parameter pengembang

Nilai yang ditetapkan pengembang di Aggregate.

NamaTipeBawaanWajibDeskripsi
mobile_redirect_enabledbooleanfalsetidakSend 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_embeddingbooleanfalsetidakAllow this console to be rendered inside a frame on another site. Left off, a browser refuses to frame it.

Penentuan ukuran oleh operator

Ukuran infrastruktur yang disesuaikan operator untuk setiap lingkungan.

NamaTipeBawaanWajibDeskripsi
portinteger (min 1024, max 65535)3000tidakPort 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—tidakExternally 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.1tidakConsole container image tag. It tracks the same release as the rest of the platform, so a Release moves them together.
computeobject—tidak—
overridesobject (open)—tidakProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

Kontrak keluaran

Nilai yang dipublikasikan komponen ini kepada konsumen melalui topologi uses.

NamaTipeBawaanWajibDeskripsi
hoststring—yaIn-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—yaTCP 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—yaFull 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—tidakURL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`.

Soket uses

Soket dependensi yang menjadi jalur koneksi komponen ini. Target setiap koneksi yang dihubungkan melalui sebuah soket harus memenuhi selektor labelnya, dan setiap koneksi dapat membawa lampiran pada slot yang dideklarasikan soket tersebut. Slot wajib harus diisi oleh setiap koneksi yang dihubungkan oleh Aggregate atau Release melalui soket tersebut.

api

Selektor
component.aggrega.ai/category=ai-agent
Injeksi
env

Soket ini tidak mendeklarasikan slot lampiran, sehingga koneksi melaluinya tidak membawa lampiran.

services

Selektor
component.aggrega.ai/category=ai-agent
Injeksi
env

Soket ini tidak mendeklarasikan slot lampiran, sehingga koneksi melaluinya tidak membawa lampiran.

auth_core

Selektor
component.aggrega.ai/category=security
Injeksi
env

Slot yang dapat diisi oleh setiap koneksi melalui soket ini

SlotSelektorWajibInjeksiSensitifDeskripsi
credentialfeature.aggrega.ai/kind=secrettidakenvyaAPI 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.

Slot lampiran

Titik pengikatan bernama tempat sebuah Feature dilampirkan ke komponen ini. Selektor sebuah slot membatasi Feature mana yang dapat mengisinya, dan daftar injeksinya menyebutkan cara materi Feature dapat dikirimkan. Slot wajib harus terikat pada setiap instans, melalui lampiran pada instans tersebut atau pada cakupan di atasnya, dan slot sensitif dideklarasikan untuk menangani materi rahasia. Sebuah Feature juga dapat dilampirkan dengan nama yang tidak dideklarasikan oleh slot mana pun.

SlotSelektorWajibInjeksiSensitifDeskripsi
auth_keyfeature.aggrega.ai/kind=secretyaenvyaRequired 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=secretyaenvyaRequired 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.

Daftar izin injeksi mandiri

env

Relasi

Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.

Menggunakan

Digunakan oleh

Referensi konsep Component →

Katalog Aggrega — indeks terbuka berisi komponen, fitur, resep, dan plugin yang merendernya.

Dibangun dengan sistem desain Aggrega yang digunakan bersama.

Privasi