Component
core/ai-agent/dify-plugin-daemon
The Dify plugin runtime — the service that installs and runs the plugins a Dify installation's model providers and tools are delivered as. Every model call and every tool invocation an application makes is dispatched through it, so an installation with no plugin runtime can edit a workflow but cannot run one. It keeps its own plugin catalogue and installation records in a dedicated database on the PostgreSQL backend wired through the `backend` uses-socket, coordinates through the Redis-compatible cache wired through `cache`, and calls back into the API server over the internal API on the `api` socket to resolve workspace and credential context. Installed plugin packages and their prepared runtime environments live on its own volume, and it verifies each package's signature before running it, so it renders as a single-replica stateful server with a persistent claim. Exports its host, port and protocol to consumers via the uses topology. It serves its own metrics in the Prometheus format at /metrics/ on that port, on by default and asking no key, and its Recipe publishes that address as `metrics_endpoint`.
出處
- 內容摘要
- sha256:235db0a06173e63ea780afee705f161b356137d9bb23b70ec6ded021a2a2ce76
- 發布時間
- 2026-11-10T10:07:46Z
- 簽署身分
- 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:6b10147c2e908f21a543eea128ac8d8c25ebff57f5816ccadcbed892b88011ba
此版本的參照
oci://hub.aggrega.ai/component/core/ai-agent/dify-plugin-daemon:1.0.0開發者參數
開發者在 Aggregate 中設定的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| plugin_database | string | dify_plugin | 否 | Name of the database the runtime keeps its plugin catalogue in. It sits on the same backend as the platform's own database and is separate from it, so an installation that reuses one server for both keeps the two schemas apart. |
| verify_signature | boolean | true | 否 | Whether a plugin package must carry a valid signature before the runtime will install it. Left at the default, an unsigned package is refused, which is what stops arbitrary code entering the installation through the plugin path. Set it false only for an installation that develops its own unsigned plugins. |
| max_package_size | integer (min 1) | 52428800 | 否 | Largest plugin package, in bytes, the runtime accepts for installation. |
| max_execution_timeout | integer (min 1) | 600 | 否 | How long, in seconds, one plugin invocation may run before the runtime stops it. |
操作員資源規格
操作員依各環境調整的基礎架構資源規格。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 5002 | 否 | HTTP listen port the plugin-dispatch API is served on. |
| engine_version | string | 0.6.10-local | 否 | Dify plugin-runtime container image tag. The runtime is released on its own cadence, so this tag moves independently of the API server's. |
| compute | object | — | 否 | — |
| storage | object | — | 否 | — |
| overrides | object (open) | — | 否 | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
輸出契約
此元件透過 uses 拓撲向使用端發布的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| host | string | — | 是 | In-cluster DNS name of the Service fronting the plugin runtime. The API server dials this name to dispatch a model call or a tool invocation. |
| port | integer | — | 是 | TCP port that Service accepts dispatch requests on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default. |
| protocol | string | — | 否 | URL scheme to reach `host` and `port` over, which a consumer composes its base URL on. |
| metrics_endpoint | string | — | 否 | The full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:<port>/metrics/` on the dispatch port. Empty where the component serves none reachable. |
Uses 插槽
此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。
backend
- 選擇器
- component.aggrega.ai/category=datastore
- 注入
- env
經由此插槽的每個連線可填入的槽位
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | 否 | env | 是 | Optional password the runtime presents to the backend this connection reaches, shared with that backend. When attached, supplies the backend password via the credential subsystem; unattached, the Recipe uses the development literal `apppass`, which this catalog publishes, so every Release that leaves the slot unattached shares that password. |
cache
- 選擇器
- component.aggrega.ai/category=datastore
- 注入
- env
經由此插槽的每個連線可填入的槽位
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| server_ca | feature.aggrega.ai/kind=secret | 否 | file | 是 | Optional authority the runtime 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 points the runtime's cache client at the file. 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. |
api
- 選擇器
- component.aggrega.ai/category=ai-agent
- 注入
- env
經由此插槽的每個連線可填入的槽位
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | 否 | env | 是 | Optional credential the runtime presents on every call back into the internal API of the API server this connection reaches, which the server compares against its own. The API server and the task worker hold the same key in their inner_api_key slots, so the credential is attached to all three or to none: attaching it to some of them leaves the rest carrying a different value, which renders cleanly and is refused when the call is made. Unattached, the Recipe uses the pinned development literal `dify-plugin-inner-api-key`, suitable for evaluation only and published in this catalog, so every Release that leaves the slot unattached shares it. |
附加槽位
Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| plugin_daemon_key | feature.aggrega.ai/kind=secret | 否 | env | 是 | Optional credential the runtime requires of every caller, and which the API server and the task worker present on every call they make, each on its own connection to the runtime. The same credential is attached here and on both connections, or on none: attaching it to some of them leaves the rest carrying a different value, which renders cleanly and is refused when the call is made. Unattached, the Recipe uses the pinned development literal `dify-plugin-daemon-server-key`, suitable for evaluation only and published in this catalog, so every Release that leaves the slot unattached shares it. |
自我注入允許清單
env
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 使用使用插槽「backend」
component.aggrega.ai/category=datastore
附加槽位:credential
core/datastore/chroma v1.0.0 core/datastore/cognee v1.0.0 core/datastore/documentdb v1.0.0 core/datastore/elasticsearch v1.0.0 core/datastore/etcd v1.0.0 core/datastore/ferretdb v1.0.0 core/datastore/mariadb v1.0.0 core/datastore/mariadb-operator v1.0.0 core/datastore/memcached v1.0.0 core/datastore/milvus v1.0.0 core/datastore/mysql v1.0.0 core/datastore/mysql-innodb-cluster v1.0.0 core/datastore/mysql-operator v1.0.0 core/datastore/opensearch v1.0.0 core/datastore/pgvector v1.0.0 core/datastore/postgres v1.0.0 core/datastore/qdrant v1.0.0 core/datastore/redis v1.0.0 core/datastore/timescaledb v1.0.0 core/datastore/valkey v1.0.0 core/datastore/weaviate v1.0.0 - 使用使用插槽「cache」
component.aggrega.ai/category=datastore
附加槽位:server_ca
core/datastore/chroma v1.0.0 core/datastore/cognee v1.0.0 core/datastore/documentdb v1.0.0 core/datastore/elasticsearch v1.0.0 core/datastore/etcd v1.0.0 core/datastore/ferretdb v1.0.0 core/datastore/mariadb v1.0.0 core/datastore/mariadb-operator v1.0.0 core/datastore/memcached v1.0.0 core/datastore/milvus v1.0.0 core/datastore/mysql v1.0.0 core/datastore/mysql-innodb-cluster v1.0.0 core/datastore/mysql-operator v1.0.0 core/datastore/opensearch v1.0.0 core/datastore/pgvector v1.0.0 core/datastore/postgres v1.0.0 core/datastore/qdrant v1.0.0 core/datastore/redis v1.0.0 core/datastore/timescaledb v1.0.0 core/datastore/valkey v1.0.0 core/datastore/weaviate v1.0.0 - 使用使用插槽「api」
component.aggrega.ai/category=ai-agent
附加槽位:credential
core/ai-agent/a2a-remote v1.0.0 core/ai-agent/agent-framework v1.0.0 core/ai-agent/agent-framework v1.1.0 core/ai-agent/agenta-api v1.0.0 core/ai-agent/agenta-cron v1.0.0 core/ai-agent/agenta-migrations v1.0.0 core/ai-agent/agenta-runner v1.0.0 core/ai-agent/agenta-services v1.0.0 core/ai-agent/agenta-web v1.0.0 core/ai-agent/agenta-web-mobile v1.0.0 core/ai-agent/agenta-worker-queues v1.0.0 core/ai-agent/agenta-worker-streams v1.0.0 core/ai-agent/anthropic v1.0.0 core/ai-agent/autogen v1.0.0 core/ai-agent/autogpt v1.0.0 core/ai-agent/bedrock v1.0.0 core/ai-agent/bland v1.0.0 core/ai-agent/claude-agent-sdk v1.0.0 core/ai-agent/crewai v1.0.0 core/ai-agent/crewai v1.1.0 core/ai-agent/dify v1.0.0 core/ai-agent/dify v1.1.0 core/ai-agent/dify-sandbox v1.0.0 core/ai-agent/dify-ssrf-proxy v1.0.0 core/ai-agent/dify-web v1.0.0 core/ai-agent/dify-web v1.1.0 core/ai-agent/dify-worker v1.0.0 core/ai-agent/dify-worker v1.1.0 core/ai-agent/dify-worker-beat v1.0.0 core/ai-agent/dify-worker-beat v1.1.0 core/ai-agent/dynamiq v1.0.0 core/ai-agent/flowise v1.0.0 core/ai-agent/flowise v1.1.0 core/ai-agent/gemini v1.0.0 core/ai-agent/google-adk v1.0.0 core/ai-agent/google-adk v1.1.0 core/ai-agent/griptape v1.0.0 core/ai-agent/gumloop v1.0.0 core/ai-agent/haystack v1.0.0 core/ai-agent/langflow v1.0.0 core/ai-agent/langflow v1.1.0 core/ai-agent/langgraph v1.0.0 core/ai-agent/langgraph v1.1.0 core/ai-agent/letta v1.0.0 core/ai-agent/librechat v1.0.0 core/ai-agent/librechat v1.1.0 core/ai-agent/librechat v1.2.0 core/ai-agent/lindy v1.0.0 core/ai-agent/livekit-agent-worker v1.0.0 core/ai-agent/llamaindex v1.0.0 core/ai-agent/mastra v1.0.0 core/ai-agent/metagpt v1.0.0 core/ai-agent/n8n v1.0.0 core/ai-agent/n8n v1.1.0 core/ai-agent/open-webui v1.0.0 core/ai-agent/openai-agents-sdk v1.0.0 core/ai-agent/openclaw v1.0.0 core/ai-agent/openhands v1.0.0 core/ai-agent/phidata v1.0.0 core/ai-agent/promptflow v1.0.0 core/ai-agent/pydantic-ai v1.0.0 core/ai-agent/retell v1.0.0 core/ai-agent/rivet v1.0.0 core/ai-agent/semantic-kernel v1.0.0 core/ai-agent/smolagents v1.0.0 core/ai-agent/vapi v1.0.0 core/ai-agent/vertex-ai v1.0.0
被使用於
使用插槽「runner」
使用插槽「api」
使用插槽「runner」
使用插槽「api」
使用插槽「services」
使用插槽「api」
使用插槽「services」
使用插槽「services」
使用插槽「sandbox」
使用插槽「plugin_daemon」
使用插槽「ssrf_proxy」
使用插槽「sandbox」
使用插槽「plugin_daemon」
使用插槽「ssrf_proxy」
使用插槽「ssrf_proxy」
使用插槽「api」
使用插槽「api」
使用插槽「sandbox」
使用插槽「plugin_daemon」
使用插槽「ssrf_proxy」
使用插槽「sandbox」
使用插槽「plugin_daemon」
使用插槽「ssrf_proxy」
使用插槽「target_agent」
使用插槽「backend」
使用插槽「databases」
使用插槽「etcd」
使用插槽「backend」
使用插槽「backend」
使用插槽「forward_target」
使用插槽「scrape_target」
使用插槽「backend」
使用插槽「database」
適用於
適用於
適用於
實作
實作