本頁面由機器翻譯。閱讀英文原文。

Component

core/ai-agent/langflow

The Langflow visual flow-builder, run in-cluster as the image a Release names. Deploying it gives the browser editor and the endpoint serving its flows, on a volume holding them and their encryption key. This component exposes the flow a caller invokes, the per-request tweaks that call may carry, and how the editor is reached: signing in is required by default, so the seeded administrator's password is attached or the build halts, while an Aggregate wanting the editor open to anyone says so. A flow authored in the Aggregate is loaded at each start on both targets, which an image at Langflow 1.5.1 or older does only with signing in off. The catalog pins no image: the Release names it in `infra.image`, and the build halts until it does. Each vector store wired into the optional `vector_store` socket arrives under variables named for the connection's alias: its address as AGGREGA_VECTOR_STORE_<ALIAS>_URL, and the connection's credential as AGGREGA_VECTOR_STORE_<ALIAS>_CREDENTIAL. A connection writing an `inject:` block receives the names it dictates instead, read by a flow as global variables; its credential stays. Each tool wired into the optional `tools` socket, a Model Context Protocol server reached over HTTP, is written into the flow's MCP Tools node named for the connection's alias. With `values.metrics_enabled` true Langflow's metrics are served at /metrics on port 9090, which checks no caller, and published as `metrics_endpoint`. On Kubernetes, reach for `langflow`, the workload synthesis, where the build must fetch nothing or the metrics are wanted, and for `langflow-chart`, rendering Langflow's own chart, which refuses them, where a chart repository is reachable at build time.

版本

1.0.01.1.0

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:6f5536c692151757234183dc385c70ae6ac1104f1f0d9322495cfff26b04c90d
發布時間
2026-11-15T08:08:55Z
簽署身分
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:1f0d160b6acc37733290193b87c805adead3de09e7ebf7117e12bfc21a63a5a8

此版本的參照

oci://hub.aggrega.ai/component/core/ai-agent/langflow:1.1.0

開發者參數

開發者在 Aggregate 中設定的值。

擴充 BaseComponents#/schemas/BaseAgentParameter

名稱型別預設必填描述
flow_idstring—是—
flow_definitionstring—否A Langflow flow definition (JSON) the developer authors, realized on both targets: the helm target carries it in a ConfigMap mounted as the directory LANGFLOW_LOAD_FLOWS_PATH names, and the compose target in a compose config mounted as one file in that directory, every $ written as $ so Docker Compose delivers it unchanged. Langflow loads the directory into the administrator's flows at each start, whether or not signing in is required; where the definition carries the id of a flow already loaded, that flow is updated in place, so an edit made to it in the editor is replaced at the next start. An image at Langflow 1.5.1 or older loads it only with require_authentication false. Where tools connections are wired, each MCP Tools node whose server is named for a connection's alias has that connection's address, and the header carrying its credential, written into the node's server configuration, every other part of the definition kept and the whole written back as JSON with its keys sorted; with no tools connection the definition is carried as written. A node naming a server no tools connection answers halts the build, as does a tools connection no node names, a node it names that starts a server of its own, and a tools connection wired with no definition. A server of the same name stored in Langflow's settings takes precedence over the configuration written here. An Aggregate's text is evaluated as a template before it is read, so a definition whose component source carries {{ halts the build when written into an Aggregate as it stands; write each {{ in it as {{"{{"}}, and interpolation restores the definition's text. When unset, the platform deploys with no seeded flow.
tweaksobject—否—
require_authenticationbooleantrue否Whether reaching the editor requires signing in. At the default the platform's built-in sign-in bypass is switched off and the seeded administrator account is the only way in, so that account's password must be attached to the admin_password slot; leaving this at the default and attaching nothing is refused at build rather than deployed with an editor nobody can sign in to. Set it to false to run the editor with the bypass on, where everyone who can reach the service arrives already signed in as the administrator and no credential is needed.
admin_userstringadmin否Login name of the administrator account the platform seeds at startup. Read only where the editor requires a sign-in; with require_authentication false no account is seeded and nothing reads this value.
metrics_enabledbooleanfalse否Turns on Langflow's own metrics, in the Prometheus format, on a port of their own, 9090, and publishes their address as `metrics_endpoint`; while false that key is empty. The metrics port checks no caller, so anything that reaches it can read them. The langflow-chart Recipe refuses true, since the chart it renders has no Service port for the metrics; the workload-synthesis and compose Recipes serve them.

操作員資源規格

操作員依各環境調整的基礎架構資源規格。

名稱型別預設必填描述
imagestring—否Container image running the Langflow platform.
source_versionstring—否Version of Langflow's own langflow-ide Helm chart the chart-backed Recipe pulls, defaulting to the version that Recipe was checked against. The workload-synthesis Recipe pulls no chart and reads nothing here.
storageobject—否—
portinteger (min 1024, max 65535)7860否HTTP listen port the platform serves the editor and its flows' endpoint on inside its container, and the port of its Service on Kubernetes.
published_portinteger (min 1024, max 65535)—否Port published on the host's loopback address, 127.0.0.1, on Docker Compose, forwarding to infra.port inside the container; any process on this machine can reach it there. Unset, nothing is published. Kubernetes realizations refuse it; reach the Service with kubectl port-forward, or attach core/public-ingress.

輸出契約

此元件透過 uses 拓撲向使用端發布的值。

名稱型別預設必填描述
metrics_endpointstring—否The full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:9090/metrics`, the host being the platform's Service name. Empty while values.metrics_enabled is false.

Uses 插槽

此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。

model

選擇器
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api
注入
—

經由此插槽的每個連線可填入的槽位

槽位選擇器必填注入敏感描述
credentialfeature.aggrega.ai/kind=secret否env是Optional credential the platform presents to the model this connection reaches. When attached, the Recipe delivers it to the platform as OPENAI_API_KEY (a Kubernetes secretKeyRef on helm, the inject pipe on compose); unattached, the platform runs without an injected key.

tools

選擇器
component.aggrega.ai/category=ai-tool, tool.aggrega.ai/transport=http
注入
—

經由此插槽的每個連線可填入的槽位

槽位選擇器必填注入敏感描述
credentialfeature.aggrega.ai/kind=secret否env是Optional credential the platform presents to the tool this connection reaches, under the request header the tool publishes as credential_header. When attached, the Recipe delivers it as AGGREGA_TOOL_<ALIAS>_CREDENTIAL (a Kubernetes secretKeyRef on helm, the inject pipe on compose), has Langflow store as a global variable the variable holding the header's whole value, and writes that variable's name as the header's value in the MCP Tools node the connection reaches, so the credential is written into no rendered flow. Under any header but Authorization that variable is AGGREGA_TOOL_<ALIAS>_CREDENTIAL itself. Under Authorization, which takes Bearer <credential> as its value, it is AGGREGA_TOOL_<ALIAS>_AUTHORIZATION, holding Bearer and the credential: on helm a reference Kubernetes expands from the delivered Secret when the container starts, on compose the credential as delivered. Langflow stores the variable for the administrator at each sign-in, or, with require_authentication false, once when it creates the administrator, so until then the header carries the variable's name. The build halts where the tool publishes no header to present a credential under.
endpointfeature.aggrega.ai/kind=secret否env是The whole address of the tool this connection reaches, the part carrying its key included, for a server that reads its key from its own address. Langflow reads an MCP server's address only from the flow file it loads, where that key would be written as a literal, so an attachment here halts the build naming the connection, on both targets.

vector_store

選擇器
datastore.aggrega.ai/engine in (vector, semantic-memory, search)
注入
env, file

經由此插槽的每個連線可填入的槽位

槽位選擇器必填注入敏感描述
credentialfeature.aggrega.ai/kind=secret否env是Optional credential the platform presents to the vector store this connection reaches, such as the API key the store checks. When attached, the Recipe delivers it as AGGREGA_VECTOR_STORE_<ALIAS>_CREDENTIAL (a Kubernetes secretKeyRef on helm, the inject pipe on compose), and, for a store publishing a database and a user, as the password inside AGGREGA_VECTOR_STORE_<ALIAS>_CONNECTION_STRING, written unencoded; unattached, no credential is delivered for the store and that string carries no password.

附加槽位

Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。

槽位選擇器必填注入敏感描述
admin_passwordfeature.aggrega.ai/kind=secret否env是Password of the administrator account the platform seeds at startup, delivered as LANGFLOW_SUPERUSER_PASSWORD (a Kubernetes secretKeyRef on helm, the inject pipe on compose). Attach it wherever require_authentication is left at its default, since that account is then the only way into the editor; with require_authentication false the platform signs every visitor in and nothing reads this slot.

自我注入允許清單

未宣告任何自我注入管道。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

Component 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權