Diese Seite wurde maschinell übersetzt. Englisches Original lesen.

Component

core/ai-agent/agenta-worker-streams

The stream-consuming worker tier of an agent workspace — the process that drains the platform's continuous streams and writes what they carry into the relational backend. Three families of stream reach it: the spans an instrumented application or an agent run emits, the platform's own internal events, and the transcript records of an agent session. It reads its work from the stream side of the queue wired through the `queue` socket, writes to the relational backend wired through `backend` using the two database names given on that edge, and uses the cache wired through `cache` for the same read-caching the rest of the platform does. Its `streams` value selects which families one container runs; left unset it runs all three, which is what a single-container installation wants. An Aggregate that needs one family scaled apart from the others declares a second instance of this same component with a value naming just that family — the stream names and consumer groups are unchanged by the split, so two instances share the work rather than duplicating it. Wire here because trace and session ingestion happens off the request path. With nothing running this tier the platform accepts spans and session records into the streams and never drains them, so the console's traces stay empty while nothing reports an error — which is why this is a component of its own and not an optional extra. It serves no port and nothing connects to it, so it publishes no provides contract. Realized on Kubernetes via its Helm Recipe, which synthesizes the tier as a stateless Deployment with no Service, running the platform image under the stream-consumer entry point.

Herkunft

OffiziellSigniert von einer Signaturidentität, die dieser Katalog als offiziellen Herausgeber anerkennt.
Inhalts-Digest
sha256:bf3f8e4de581d48ff15094c39173367362f157624093eb39f6b2e114583d32a8
Veröffentlicht
2026-11-10T10:07:30Z
Signaturidentität
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signatur

  • Offiziellapplication/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:449efce671658525cd980717242e96fcfe7402bb73c127edc51ac9ec5fe848cf

Referenz zu dieser Version

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

Entwicklerparameter

Werte, die der Entwickler im Aggregate festlegt.

NameTypStandardwertErforderlichBeschreibung
streamsstring—neinComma-separated list of stream families this container runs, drawn from spans, events and records. Left unset it runs all three, which is what a single-container installation wants; naming a subset is how one family is scaled apart from the others.

Dimensionierung durch den Operator

Infrastrukturdimensionierung, die der Operator pro Umgebung anpasst.

NameTypStandardwertErforderlichBeschreibung
engine_versionstringv0.114.1neinPlatform API container image tag. This tier runs the same image as the control-plane API under a different entry point, so a Release moves both together.
log_levelstring (DEBUG | INFO | WARNING | ERROR | CRITICAL)INFOneinLog verbosity the worker emits.
computeobject—nein—
overridesobject (open)—neinProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

Ausgabevertrag

Werte, die diese Komponente über die uses-Topologie an Konsumenten veröffentlicht.

Keine Ausgabewerte deklariert.

uses-Sockets

Die Abhängigkeits-Sockets, über die sich diese Komponente verbindet. Das Ziel jeder über einen Socket verdrahteten Verbindung muss dessen Label-Selektor erfüllen, und jede Verbindung kann in den Slots, die der Socket deklariert, eine Anbindung tragen. Einen erforderlichen Slot muss jede Verbindung füllen, die das Aggregate oder das Release über den Socket verdrahtet.

backend

Selektor
component.aggrega.ai/category=datastore
Injektion
env

Slots, die jede Verbindung über diesen Socket füllen kann

SlotSelektorErforderlichInjektionSensibelBeschreibung
credentialfeature.aggrega.ai/kind=secretneinenvjaPassword the worker authenticates to the relational backend this connection reaches with, delivered as an env secret reference and substituted into the connection URL at run time. The same credential is attached to the control-plane API's backend connection, because both reach the same server. Unattached, the Recipe emits the development literal `apppass`, the default the standard-library relational Recipes leave in place; this catalog publishes it, so every Release that leaves the slot unattached shares that password.

cache

Selektor
component.aggrega.ai/category=datastore
Injektion
env

Slots, die jede Verbindung über diesen Socket füllen kann

SlotSelektorErforderlichInjektionSensibelBeschreibung
server_cafeature.aggrega.ai/kind=secretneinfilejaOptional authority the platform's Redis client checks the cache's certificate against while the cache publishes protocol valkey-tls or redis-tls, where the image does not already trust the authority that signs it. Its Secret holds ca.crt. The Recipe mounts the whole Secret read-only and names the file in the connection's URL. The build halts on a server_ca publishing no Secret name, and on one wired to a cache served without TLS. Fill it with core/referenced-secret.

queue

Selektor
component.aggrega.ai/category=datastore
Injektion
env

Slots, die jede Verbindung über diesen Socket füllen kann

SlotSelektorErforderlichInjektionSensibelBeschreibung
server_cafeature.aggrega.ai/kind=secretneinfilejaOptional authority the platform's Redis client checks the queue's certificate against while the queue publishes protocol valkey-tls or redis-tls, where the image does not already trust the authority that signs it. Its Secret holds ca.crt. The Recipe mounts the whole Secret read-only and names the file in the connection's URL. The build halts on a server_ca publishing no Secret name, and on one wired to a queue served without TLS. Fill it with core/referenced-secret.

Anbindungs-Slots

Benannte Bindungspunkte, an denen ein Feature an diese Komponente angebunden wird. Der Selektor eines Slots schränkt ein, welches Feature ihn füllen darf, und seine inject-Liste benennt, wie das Feature sein Material liefern darf. Ein erforderlicher Slot muss auf jeder Instanz gebunden sein, durch eine Anbindung an der Instanz oder in einem darüberliegenden Geltungsbereich, und ein sensibler Slot ist für den Umgang mit geheimem Material deklariert. Ein Feature kann auch unter einem Namen angebunden werden, den kein Slot deklariert.

SlotSelektorErforderlichInjektionSensibelBeschreibung
auth_keyfeature.aggrega.ai/kind=secretjaenvjaRequired key the platform signs its own internal tokens with. It carries the same value as the control-plane API's slot. There is no default: the build halts when nothing fills this slot.
crypt_keyfeature.aggrega.ai/kind=secretjaenvjaRequired key stored credentials are encrypted under. The worker decrypts them where a drained record references one, so it carries the same value as the control-plane API's slot. There is no default: the build halts when nothing fills this slot.

Zulassungsliste für Selbstinjektion

env

Beziehungen

Typisierte Kanten zu und von anderen veröffentlichten Entitäten. Eine Referenz ohne veröffentlichtes Ziel wird als unterbrochene Kante statt als Link dargestellt.

Verwendet

Verwendet von

Konzeptreferenz zu Component →

Der Aggrega-Katalog — ein offener Index von Komponenten, Funktionen, Rezepten und den Plugins, die sie rendern.

Erstellt mit dem gemeinsamen Aggrega-Designsystem.

Datenschutz