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

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.

Asal-usul

ResmiDitandatangani oleh identitas penandatangan yang diakui katalog ini sebagai penerbit resmi.
Digest konten
sha256:6bbde16982bb94a026d4bf66a215f71a5046d7a77418350be8eb2c640120a8fd
Dipublikasikan
2026-11-10T10:07:29Z
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:f9a9aaf39d18ec7f7f11b26549591b8ee04d448192c9b0f9c8ccd5530a344e36

Referensi pada versi ini

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

Parameter pengembang

Nilai yang ditetapkan pengembang di Aggregate.

NamaTipeBawaanWajibDeskripsi
queuesstring—tidakComma-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)4tidakHow 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.

Penentuan ukuran oleh operator

Ukuran infrastruktur yang disesuaikan operator untuk setiap lingkungan.

NamaTipeBawaanWajibDeskripsi
engine_versionstringv0.114.1tidakPlatform 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)INFOtidakLog verbosity the worker emits.
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.

Tidak ada nilai keluaran yang dideklarasikan.

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.

backend

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

Slot yang dapat diisi oleh setiap koneksi melalui soket ini

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

Slot yang dapat diisi oleh setiap koneksi melalui soket ini

SlotSelektorWajibInjeksiSensitifDeskripsi
server_cafeature.aggrega.ai/kind=secrettidakfileyaOptional 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
Injeksi
env

Slot yang dapat diisi oleh setiap koneksi melalui soket ini

SlotSelektorWajibInjeksiSensitifDeskripsi
server_cafeature.aggrega.ai/kind=secrettidakfileyaOptional 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

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

Slot yang dapat diisi oleh setiap koneksi melalui soket ini

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

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. There is no default: the build halts when nothing fills this slot.
crypt_keyfeature.aggrega.ai/kind=secretyaenvyaRequired 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.

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