Esta página foi traduzida automaticamente. Ler o original em inglês.

Component

core/ai-agent/agenta-worker-queues

The queue-consuming worker tier of an agent workspace — the process that runs the platform's discrete background jobs. Four families of job reach it: the outbound webhooks an installation has configured, the triggers that start a background agent when something happens in a connected application, the asynchronous turns of an agent session, and the evaluation runs a team asks for over a set of test cases. It takes work from the queue wired through the `queue` socket, reads and writes the platform's model in the relational backend wired through `backend` using the two database names given on that edge, uses the cache wired through `cache`, and reaches the model-facing service wired through `services` because a job that runs an agent turn or scores an evaluation needs a model call made. Its `queues` value selects which families one container runs; left unset it runs all four, and an Aggregate that needs one family scaled apart declares a second instance naming just that family. Wire here because background work is what makes an agent workspace more than a chat window: a background agent that runs on a schedule or on an event, and an evaluation over a test set, both exist only on this tier. With nothing running it, such a request is accepted and never performed. 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 queue-consumer entry point.

Proveniência

OficialAssinado por uma identidade de assinatura que este catálogo reconhece como editor oficial.
Digest do conteúdo
sha256:6bbde16982bb94a026d4bf66a215f71a5046d7a77418350be8eb2c640120a8fd
Publicado
2026-11-10T10:07:29Z
Identidade de assinatura
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Assinatura

  • Oficialapplication/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:f9a9aaf39d18ec7f7f11b26549591b8ee04d448192c9b0f9c8ccd5530a344e36

Referência nesta versão

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

Parâmetros do programador

Valores que o programador define no Aggregate.

NomeTipoPredefiniçãoObrigatórioDescrição
queuesstring—nãoComma-separated list of job families this container runs, drawn from webhooks, triggers, interactions and evaluations. Left unset it runs all four, which is what a single-container installation wants; naming a subset is how one family is scaled apart from the others.
concurrencyinteger (min 1)4nãoHow many jobs one container runs at once. Raising it raises throughput and the container's memory ceiling together, so it is sized with compute.memory.

Dimensionamento do operador

Dimensionamento da infraestrutura que o operador ajusta por ambiente.

NomeTipoPredefiniçãoObrigatórioDescrição
engine_versionstringv0.114.1nãoPlatform 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)INFOnãoLog verbosity the worker emits.
computeobject—não—
overridesobject (open)—nãoProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

Contrato de saída

Valores que este componente publica para os consumidores através da topologia uses.

Nenhum valor de saída declarado.

Sockets uses

Os sockets de dependência através dos quais este componente se liga. O destino de cada ligação estabelecida através de um socket tem de satisfazer o respetivo seletor de etiquetas, e cada ligação pode transportar um acoplamento nos slots que o socket declara. Cada ligação que o Aggregate ou a Release estabelece através do socket tem de preencher os slots obrigatórios.

backend

Seletor
component.aggrega.ai/category=datastore
Injeção
env

Slots que cada ligação através deste socket pode preencher

SlotSeletorObrigatórioInjeçãoSensívelDescrição
credentialfeature.aggrega.ai/kind=secretnãoenvsimPassword 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

Seletor
component.aggrega.ai/category=datastore
Injeção
env

Slots que cada ligação através deste socket pode preencher

SlotSeletorObrigatórioInjeçãoSensívelDescrição
server_cafeature.aggrega.ai/kind=secretnãofilesimOptional 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

Seletor
component.aggrega.ai/category=datastore
Injeção
env

Slots que cada ligação através deste socket pode preencher

SlotSeletorObrigatórioInjeçãoSensívelDescrição
server_cafeature.aggrega.ai/kind=secretnãofilesimOptional 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.

services

Seletor
component.aggrega.ai/category=ai-agent
Injeção
env

Slots que cada ligação através deste socket pode preencher

SlotSeletorObrigatórioInjeçãoSensívelDescrição
credentialfeature.aggrega.ai/kind=secretnãoenvsimKey the worker presents on its internal calls to the model-facing service this connection reaches. Both ends carry the same value. Unattached, the Recipe emits the pinned development literal `dev-agenta-internal-change-me`, suitable for evaluation only and published in this catalog, so every Release that leaves the slot unattached shares it.

Slots de acoplamento

Pontos de vinculação com nome nos quais uma Feature se acopla a este componente. O seletor de um slot restringe qual a Feature que o pode preencher, e a respetiva lista inject indica como o material da Feature pode ser entregue. Um slot obrigatório tem de estar vinculado em cada instância, por um acoplamento na instância ou num âmbito acima dela, e um slot sensível é declarado para tratar material secreto. Uma Feature também se pode acoplar com um nome que nenhum slot declara.

SlotSeletorObrigatórioInjeçãoSensívelDescrição
auth_keyfeature.aggrega.ai/kind=secretsimenvsimRequired 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=secretsimenvsimRequired key stored model-provider credentials are encrypted under. The worker decrypts them to make a model call, 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.

Lista de autorizações de autoinjeção

env

Relações

Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.

Usa

Usado por

Referência do conceito Component →

O catálogo Aggrega — um índice aberto de componentes, funcionalidades, receitas e dos plugins que os renderizam.

Criado com o sistema de design partilhado do Aggrega.

Privacidade