Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

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.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:476469ab4ac54ed075f8ca4e7ec7f4a9833b42576a37e55f586b797146a0d77f
Đã xuất bản
2026-11-10T10:09:47Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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

Tham chiếu ở phiên bản này

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

Tham số của nhà phát triển

Các giá trị mà nhà phát triển đặt trong Aggregate.

Mở rộng BaseComponents#/schemas/BaseToolParameter

TênKiểuMặc địnhBắt buộcMô tả
automation_enginestringplaywrightcó—
browser_typestringchromiumcó—
headlessbooleantruecó—

Định cỡ của người vận hành

Định cỡ hạ tầng mà người vận hành tinh chỉnh theo từng môi trường.

TênKiểuMặc địnhBắt buộcMô tả
imagestring—khôngContainer image serving the browser-automation tool over HTTP.
portinteger (min 1024, max 65535)8080khôngPort the tool listens on, and the port it publishes to consumers.
computeobject—không—

Hợp đồng đầu ra

Các giá trị mà thành phần này xuất bản cho bên tiêu thụ qua cấu trúc liên kết uses.

TênKiểuMặc địnhBắt buộcMô tả
hoststring—có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—có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—có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—khôngURL scheme to reach `host` and `port` over, for a consumer composing its own address rather than reading `endpoint`.

Các socket uses

Các socket phụ thuộc mà thành phần này kết nối qua. Đích của mọi kết nối được nối qua một socket phải thỏa mãn bộ chọn nhãn của socket đó, và mỗi kết nối có thể mang theo phần đính kèm trong các slot mà socket khai báo. Một slot bắt buộc phải được đáp ứng bởi mỗi kết nối mà Aggregate hoặc Release nối qua socket.

Chưa khai báo socket uses nào.

Slot đính kèm

Các điểm liên kết có tên mà tại đó một Feature được gắn vào thành phần này. Bộ chọn của một slot giới hạn Feature nào có thể lấp đầy nó, và danh sách tiêm của slot nêu cách nội dung của Feature có thể được chuyển giao. Một slot bắt buộc phải được liên kết trên mọi thể hiện, bằng một phần đính kèm trên thể hiện đó hoặc ở một phạm vi phía trên nó, và một slot nhạy cảm được khai báo để xử lý nội dung bí mật. Một Feature cũng có thể được gắn dưới một tên mà không slot nào khai báo.

Chưa khai báo slot đính kèm nào.

Danh sách cho phép tự tiêm

env, file

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Tài liệu tham khảo khái niệm Component →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư