本页面为机器翻译。阅读英文原文。

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.

来源

官方由本目录认定为官方发布者的签名身份签名。
内容摘要
sha256:6bbde16982bb94a026d4bf66a215f71a5046d7a77418350be8eb2c640120a8fd
发布时间
2026-11-10T10:07:29Z
签名身份
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

签名

  • 官方application/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

此版本的引用

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

开发者参数

开发者在 Aggregate 中设置的值。

名称类型默认值必需描述
queuesstring—否Comma-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)4否How 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.

运维规格

运维人员按环境调整的基础设施规格。

名称类型默认值必需描述
engine_versionstringv0.114.1否Platform 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)INFO否Log verbosity the worker emits.
computeobject—否—
overridesobject (open)—否Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

输出契约

此组件通过 uses 拓扑向使用方发布的值。

未声明输出值。

uses 套接字

此组件用于建立连接的依赖套接字。通过某个套接字接入的每个连接,其目标都必须满足该套接字的标签选择器,且每个连接都可以在该套接字声明的槽位中携带附加项。必需槽位须由 Aggregate 或 Release 通过该套接字接入的每个连接来填充。

backend

选择器
component.aggrega.ai/category=datastore
注入
env

经由此套接字的每个连接可填充的槽位

槽位选择器必需注入敏感描述
credentialfeature.aggrega.ai/kind=secret否env是Password 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

选择器
component.aggrega.ai/category=datastore
注入
env

经由此套接字的每个连接可填充的槽位

槽位选择器必需注入敏感描述
server_cafeature.aggrega.ai/kind=secret否file是Optional 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

选择器
component.aggrega.ai/category=datastore
注入
env

经由此套接字的每个连接可填充的槽位

槽位选择器必需注入敏感描述
server_cafeature.aggrega.ai/kind=secret否file是Optional 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

选择器
component.aggrega.ai/category=ai-agent
注入
env

经由此套接字的每个连接可填充的槽位

槽位选择器必需注入敏感描述
credentialfeature.aggrega.ai/kind=secret否env是Key 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.

附加槽位

Feature 附加到此组件时所用的命名绑定点。槽位的选择器限定哪个 Feature 可以填充该槽位,其 inject 列表则指明 Feature 的内容可以如何交付。必需槽位必须在每个实例上完成绑定,可以通过实例上的附加,也可以通过其上层作用域的附加;敏感槽位则声明为用于处理机密内容。Feature 也可以以任何槽位都未声明的名称进行附加。

槽位选择器必需注入敏感描述
auth_keyfeature.aggrega.ai/kind=secret是env是Required 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=secret是env是Required 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.

自注入允许列表

env

关系

与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。

使用

被使用

Component 概念参考 →

Aggrega 目录 — 收录组件、功能、配方以及渲染它们的插件的开放索引。

基于共享的 Aggrega 设计系统构建。

隐私