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

Component

core/ai-agent/langgraph

A LangGraph agent, run in-cluster as an application image the Release supplies. LangGraph models an agent as a graph whose nodes resume from persisted state rather than as a single call, which is why a datastore is a required topology edge here rather than an option: the store wired into `checkpointer_db` contributes its host and port, and its user and database where it publishes them; a credential attached on that connection contributes its password; and the store is where a run's state survives between steps. What this component exposes is the graph entrypoint inside the application image and the recursion ceiling that stops a graph which is not converging. LangGraph is published as a library an application is built around, so there is no upstream image to pin: the Release supplies its application in `infra.image`. On Kubernetes, until it does, the build halts naming the container image; on Docker Compose the image defaults to the catalog's own quickstart agent, whose own code reads the model's default variables and the store's host and port, and no other. The variables each connection is delivered under are defaults: an `inject:` block on the connection replaces them with the names the application reads, as variables or as files, and a checkpointer connection writing none refuses a store served over TLS alone or over HTTPS, since the application would be handed its host and port and not its protocol. Its Recipes deliver each own value under a default variable name; the component's own `inject:` block takes `env` and `file` entries, and one reading a value alone replaces that value's default name.

版本

1.0.01.1.0

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:87150fbcc8434e1b33e7841a429ac28b9f11f992cb756455f05d4385ba196f04
發布時間
2026-11-10T10:08:14Z
簽署身分
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:074a42ec1a450240331c725a324f99c2ed5517a48a42e006c0579722e307e100

此版本的參照

oci://hub.aggrega.ai/component/core/ai-agent/langgraph:1.0.0

開發者參數

開發者在 Aggregate 中設定的值。

擴充 BaseComponents#/schemas/BaseAgentParameter

名稱型別預設必填描述
graph_entrypointstring—是—
recursion_limitinteger25是—

操作員資源規格

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

名稱型別預設必填描述
imagestring—否Container image running the LangGraph application code. The Docker Compose Recipe runs the catalog's quickstart agent when it is unset.

輸出契約

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

未宣告任何輸出值。

Uses 插槽

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

checkpointer_db

選擇器
component.aggrega.ai/category=datastore
注入
env, file

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

槽位選擇器必填注入敏感描述
credentialfeature.aggrega.ai/kind=secret否env是Optional password the agent presents to the store this connection reaches, the same password that store holds in its own credential slot. When attached, the Recipe delivers it to the application as LANGGRAPH_CHECKPOINTER_PASSWORD (a Kubernetes secretKeyRef on helm, the inject pipe on compose); unattached, no password variable is rendered.

model

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

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

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

附加槽位

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

未宣告任何附加槽位。

自我注入允許清單

env, file

關係

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

使用

被使用於

Component 概念參考

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

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

隱私權