Component
core/ai-agent/dify-sandbox
The Dify code sandbox — the isolated execution service that runs the Python and JavaScript of a workflow's code nodes. The API server and the task worker hand it a snippet over HTTP and receive the result; the snippet never runs inside either of them, which is what keeps a workflow author's code out of the platform's own process. It holds an authentication key that its callers present, so a workload that merely reaches its port cannot execute code through it, and its own outbound traffic leaves through the forward proxy wired on the `ssrf_proxy` uses-socket rather than going out directly. Keeps no state between calls — each execution is independent and its working directory is discarded — so it renders as a stateless server. Exports its host, port and protocol to consumers via the uses topology.
Köken
- İçerik özeti
- sha256:457e2d21d1c0853760d64559febbcee389ac554df89109de937f5e6556c05981
- Yayımlanma
- 2026-11-10T10:07:50Z
- İmzalama kimliği
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
İmza
- 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:6fae2a03c5a52639882ca1ca355bcf880c9bed148ddd77f11d550e63e7fdd840
Bu sürümdeki referans
oci://hub.aggrega.ai/component/core/ai-agent/dify-sandbox:1.0.0Geliştirici parametreleri
Geliştiricinin Aggregate'te ayarladığı değerler.
| Ad | Tip | Varsayılan | Zorunlu | Açıklama |
|---|---|---|---|---|
| enable_network | boolean | true | hayır | Whether executed code may make network calls at all. Left at the default, calls are permitted and leave through the wired forward proxy, which is what lets a code node fetch a URL while still being unable to reach a private address. Set it false to refuse network access outright, which suits an installation whose code nodes only transform data they were given. |
| worker_timeout | integer (min 1) | 15 | hayır | How long, in seconds, one execution may run before the sandbox stops it. |
| python_packages | array | — | hayır | Extra Python package requirements the sandbox installs before it accepts work, each written as one requirement line. Left unset, executed code sees the sandbox's built-in package set only. |
Operatör boyutlandırması
Operatörün her ortam için ayarladığı altyapı boyutlandırması.
| Ad | Tip | Varsayılan | Zorunlu | Açıklama |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 8194 | hayır | HTTP listen port the execution API is served on. |
| engine_version | string | 0.2.15 | hayır | Dify sandbox container image tag. The sandbox is released on its own cadence, so this tag moves independently of the API server's. |
| compute | object | — | hayır | — |
| overrides | object (open) | — | hayır | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
Çıktı sözleşmesi
Bu bileşenin uses topolojisi üzerinden tüketicilere yayımladığı değerler.
| Ad | Tip | Varsayılan | Zorunlu | Açıklama |
|---|---|---|---|---|
| host | string | — | evet | In-cluster DNS name of the Service fronting the code sandbox. The API server and the worker dial this name to have a snippet executed away from their own process. |
| port | integer | — | evet | TCP port that Service accepts execution requests on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default. |
| protocol | string | — | hayır | URL scheme to reach `host` and `port` over, which a consumer composes its base URL on. |
Uses soketleri
Bu bileşenin üzerinden bağlandığı bağımlılık soketleri. Bir soket üzerinden kurulan her bağlantının hedefi, soketin etiket seçicisini karşılamalıdır ve her bağlantı, soketin bildirdiği yuvalarda bir ek taşıyabilir. Aggregate'in veya Release'in soket üzerinden kurduğu her bağlantı, zorunlu bir yuvayı doldurmakla yükümlüdür.
ssrf_proxy
- Seçici
- component.aggrega.ai/category=ai-agent
- Enjeksiyon
- env
Bu soket hiçbir ekleme yuvası bildirmez, bu nedenle üzerinden geçen bir bağlantı hiçbir ek taşımaz.
Ekleme yuvaları
Bir Feature'ın bu bileşene eklendiği adlandırılmış bağlama noktaları. Bir yuvanın seçicisi, onu hangi Feature'ın doldurabileceğini sınırlar ve inject listesi, Feature'ın malzemesinin nasıl iletilebileceğini belirtir. Zorunlu bir yuva, her örnekte, örnek üzerindeki veya onun üstündeki bir kapsamdaki bir ek aracılığıyla bağlanmalıdır, hassas bir yuva ise gizli malzemeyi işlemek üzere bildirilmiştir. Bir Feature, hiçbir yuvanın bildirmediği bir ad altında da eklenebilir.
| Yuva | Seçici | Zorunlu | Enjeksiyon | Hassas | Açıklama |
|---|---|---|---|---|---|
| code_execution_key | feature.aggrega.ai/kind=secret | hayır | env | evet | Optional execution key the sandbox checks on every request it receives. Each service that calls the sandbox presents the same key, as the credential on the connection it reaches the sandbox through, so the sandbox and its callers hold one value. Unattached, the Recipe uses the pinned development literal `dify-sandbox`, suitable for evaluation only and published in this catalog, so every Release that leaves the slot unattached shares it. |
Kendi kendine enjeksiyon izin listesi
env
İlişkiler
Diğer yayımlanmış varlıklara giden ve onlardan gelen tipli kenarlar. Yayımlanmış bir hedefi olmayan bir başvuru, bağlantı yerine kopuk bir kenar olarak gösterilir.
Kullanır
- kullanır«ssrf_proxy» soketini kullanır
component.aggrega.ai/category=ai-agent
Ekleme yuvası bildirmez.
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-plugin-daemon 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 →
Kullananlar
«runner» soketini kullanır
«api» soketini kullanır
«runner» soketini kullanır
«api» soketini kullanır
«services» soketini kullanır
«api» soketini kullanır
«services» soketini kullanır
«services» soketini kullanır
«sandbox» soketini kullanır
«plugin_daemon» soketini kullanır
«ssrf_proxy» soketini kullanır
«sandbox» soketini kullanır
«plugin_daemon» soketini kullanır
«ssrf_proxy» soketini kullanır
«api» soketini kullanır
«api» soketini kullanır
«api» soketini kullanır
«sandbox» soketini kullanır
«plugin_daemon» soketini kullanır
«ssrf_proxy» soketini kullanır
«sandbox» soketini kullanır
«plugin_daemon» soketini kullanır
«ssrf_proxy» soketini kullanır
«target_agent» soketini kullanır
«upstream» soketini kullanır
«forward_target» soketini kullanır
«scrape_target» soketini kullanır
«store» soketini kullanır
uygulanır
uygulanır
uygulanır
uygulanır
uygulanır
uygulanır
uygulanır
uygular
uygular