Questa pagina è stata tradotta automaticamente. Leggi l’originale in inglese.

Component

core/ai-agent/livekit-agent-worker

A LiveKit agent worker — the resident process that joins a realtime room as a participant and runs the agent's own code there: the speech pipeline, or the realtime model, that holds the conversation with whoever else is in the room. It registers with the media server and runs one agent session for each job it is handed; it serves no application traffic, so no other component addresses it. Wire here when the conversation inside the cluster's own rooms is to be carried by software it runs and by agent code written for it, rather than handed to a hosted agent platform. Upstream publishes the agent framework as a language package rather than as a container image, and this component pins no image because there is none to pin. The image is a required operational value carrying no default, so using this component means building an image from the framework together with the agent code, publishing it where the cluster can pull it, and naming that reference in the Release. Nothing renders until that reference is supplied. Consumers receive the dispatch name the worker registers under; the worker publishes no host and no port. Realized by a Helm Recipe that synthesizes a Deployment over the supplied image and declares no Service and no volume for state. The connection to the media server needs no `inject:` block; one it writes delivers further names, as variables or files. The worker serves Prometheus metrics only where the agent's own code gives it a metrics port, which no environment variable or setting here reaches, so it publishes no metrics address, and a worker is not a target the catalog's Prometheus scrapes. The component's own `inject:` block takes `env` and `file` entries.

Provenienza

UfficialeFirmato da un’identità di firma che questo catalogo riconosce come editore ufficiale.
Digest del contenuto
sha256:648713c0f2d09a679fa04c037752a2a9f7fa500508eea246e7ebfb4fda644066
Pubblicato
2026-11-10T10:08:23Z
Identità di firma
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Firma

  • Ufficialeapplication/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:ffeddc53edfaf2158dbf9960cf1f25eeaaa0b3a74f99d29b1aceefefe716cbad

Riferimento a questa versione

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

Parametri dello sviluppatore

Valori che lo sviluppatore imposta nell’Aggregate.

NomeTipoPredefinitoObbligatorioDescrizione
agent_namestring—noDispatch name the worker registers under. Naming it turns on explicit dispatch — the server then hands this worker only the rooms a dispatch rule or an access token names it in, so several agents can serve different rooms of one media server. Leaving it unset keeps automatic dispatch, where the worker is offered every room the server opens, which is the shape a Release running a single agent wants. The name reaches the worker as a default the framework reads on startup, so an agent whose own code names itself keeps the name its code sets and this field has no effect on it.

Dimensionamento dell’operatore

Dimensionamento dell’infrastruttura che l’operatore regola per ogni ambiente.

NomeTipoPredefinitoObbligatorioDescrizione
imagestring—sìContainer image reference the worker runs, including its tag or digest. It carries no default and the catalog pins nothing, because the agent framework is published as a language package rather than as a container image — an image for this component is built from that framework together with the agent code written for it, published where the cluster can pull it, and named here. A build that omits it halts.
log_levelstring (debug | info | warn | error)infonoWorker log verbosity.
computeobject—no—
overridesobject (open)—noProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

Contratto di output

Valori che questo componente pubblica verso i consumatori attraverso la topologia uses.

NomeTipoPredefinitoObbligatorioDescrizione
agent_namestring—noDispatch name the worker registered under, carried through from the value the Aggregate declared. A consumer names it when it asks for an agent to be sent into a room, which is how the request reaches this worker rather than another.

Socket uses

I socket di dipendenza attraverso cui questo componente si connette. La destinazione di ogni connessione collegata attraverso un socket deve soddisfare il suo selettore di etichette, e ogni connessione può portare un aggancio negli slot che il socket dichiara. Uno slot obbligatorio deve essere riempito da ogni connessione che l’Aggregate o la Release collega attraverso il socket.

media_server

Selettore
component.aggrega.ai/category=messaging, component.aggrega.ai/type=server
Iniezione
env, file

Slot che ogni connessione attraverso questo socket può riempire

SlotSelettoreObbligatorioIniezioneSensibileDescrizione
credentialfeature.aggrega.ai/kind=secretsìenvsìSigning secret paired with the api_key identifier this connection carries. Attach the same credential the media server holds: the worker authenticates to that server with this pair, so two different secrets leave the worker unable to register.

Slot di aggancio

Punti di associazione con nome in cui una Feature si aggancia a questo componente. Il selettore di uno slot limita quale Feature può riempirlo e la sua lista inject indica come può essere consegnato il materiale della Feature. Uno slot obbligatorio deve essere associato su ogni istanza, da un aggancio sull’istanza o a un ambito superiore, e uno slot sensibile è dichiarato per gestire materiale segreto. Una Feature può anche agganciarsi con un nome che nessuno slot dichiara.

Nessuno slot di aggancio dichiarato.

Elenco consentito di auto-iniezione

env, file

Relazioni

Archi tipizzati da e verso altre entità pubblicate. Un riferimento senza una destinazione pubblicata viene mostrato come arco interrotto anziché come link.

Usa

Usato da

Riferimento al concetto Component →

Il catalogo Aggrega — un indice aperto di componenti, funzionalità, ricette e dei plugin che li renderizzano.

Realizzato con il design system condiviso di Aggrega.

Privacy