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

Component

core/ai-tool/browser

A tool that drives a real web browser on an agent's behalf, navigating pages, reading rendered content and interacting with page elements, so a deployment can reach sites that offer no API of their own. Automation runs through a browser-automation engine, defaulting to Playwright, against a browser build defaulting to Chromium, headless unless the Aggregate asks for a visible session. Marked mutating: a browsing session can submit forms and trigger actions on the sites it visits. Realized on Kubernetes as a long-running Deployment fronted by a ClusterIP Service, publishing that Service's host, port, endpoint and protocol so an agent wires to the tool the same way it wires to any other service. An edge from the tool, on a socket the author names, delivers what its `inject:` block dictates, as variables or as files, on every realization that runs the tool. The catalog pins no image, so nothing renders until the Release sets `infra.image`. The component's own `inject:` block takes `env` and `file` entries too, and one reading a value of the tool alone replaces that value's default variable name.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:476469ab4ac54ed075f8ca4e7ec7f4a9833b42576a37e55f586b797146a0d77f
發布時間
2026-11-10T10:09:47Z
簽署身分
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:ced3dd4504297735288af1e6225576f37f0f84bd3df7769ac8186fe784327cc9

此版本的參照

oci://hub.aggrega.ai/component/core/ai-tool/browser:1.0.0

開發者參數

開發者在 Aggregate 中設定的值。

擴充 BaseComponents#/schemas/BaseToolParameter

名稱型別預設必填描述
automation_enginestringplaywright是—
browser_typestringchromium是—
headlessbooleantrue是—

操作員資源規格

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

名稱型別預設必填描述
imagestring—否Container image serving the browser-automation tool over HTTP.
portinteger (min 1024, max 65535)8080否Port the tool listens on, and the port it publishes to consumers.
computeobject—否—

輸出契約

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

名稱型別預設必填描述
hoststring—是In-cluster DNS name an agent calls to drive the browser. A consumer that composes its own address dials this name; one that does not reads `endpoint` instead.
portinteger—是TCP port the automation API is accepted on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default.
endpointstring—是Full base URL an agent sends navigation and interaction requests to, with the host and the port already composed. A consumer hands it to its tool client as the address it calls.
protocolstring—否URL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`.

Uses 插槽

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

未宣告任何 uses 插槽。

附加槽位

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

未宣告任何附加槽位。

自我注入允許清單

env, file

關係

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

使用

被使用於

Component 概念參考

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

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

隱私權